Delete Records
Last updated
Last updated
This action will delete one or more records 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 deleted. If left empty, Filter Operations will be used instead. | ✅ |
If no unique id is specified, this action will delete all records that satisfy the given filters. Records are physically deleted from the collection with no way to retrieve them.
If no unique id and not filters are specified, the action won't execute.
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 |
last_database_command_count | Contains the number of records that have been deleted from the selected collection. |
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.