Workflow Blocks
Delete Record
Delete a record from a collection by its id.
Delete Record removes records from a collection — one record by its ID (One), or many records named by a list or matched by filters (Many).
When to use it
Use it to clean up — remove a draft when a request is cancelled, or delete expired entries.
Settings
| Setting | What it does |
|---|---|
| Collection | The collection to delete from. Required. |
| Records | One deletes one record. Many deletes several. |
| Record ID | One mode: usually a Record ID from an earlier Find or Add step. |
| Rows from | Many mode: List (each row names a record to delete) or All matching filters (every matching record is deleted). |
| List | With List: set Record ID to the list's Item field with @. |
| Filters | With All matching filters: all filters must match. The panel shows how many records currently match. |
| If a row fails | Many mode: Skip it and continue, or stop. |
Variables
With marker C1, One mode:
| Variable | Type | Notes |
|---|---|---|
C1.deleted | Boolean | Whether the record was deleted. |
C1.count | Number | How many records were deleted. |
Many mode:
| Variable | Type | Notes |
|---|---|---|
C1.system_deleted_rows | Number | How many records were deleted. |
C1.system_skipped_rows | Number | How many were skipped. |
Paths
One output.
Limits
- With All matching filters, a run fails before changing anything if more than 50,000 records match.