Load Single Record
Last updated
Last updated
This action will retrieve a single record from a given collection by using a supplied unique id or a filter.
The action uses the following settings:
Setting | Description | |
Bot | The bot that is providing collection access. The current bot is selected by default. | ⛔ |
Collection | The collection to be used for the action | ⛔ |
Record Unique Id | The unique id of the record to be loaded. If left empty, Filter Operations will be used instead. | ✅ |
This action will retrieve a single record from the specified collection. When using filters a single record will be returned, even if the filter applies to multiple records in the collection.
If no unique id and not filters are specified, no record will be returned.
If no unique id is specified, this action will trigger all filters added as operations.
This action produces the following variables after being triggered:
Variable | Description |
cursor_current_record | Contains the complete JSON of the record loaded if the query is successful. |
Channel specific availability follows the table below:
Channel | Availability |
Fully Available. | |
Fully Available. | |
SMS | Fully Available. |
Telegram | Fully Available. |
Web | Fully Available. |
Alexa | Fully Available. |
Google Assistant | Fully Available. |
Slack | Fully Available. |
API | Fully Available. |
This action requires an active Database package.