Flikk
Building flows

Delete rows

Delete rows from one of your tables as a step in a flow.

The table_delete node deletes rows, which you pick either by id or with a condition.

Spec

FieldMeaning
tableRequired. The table's id, which flikk tables list --columns slug,id shows.
idsThe ids of the rows to delete, as a list or a reference to an earlier step's rows. Give either ids or where.
whereA condition the rows must match, written as in Query rows. Give either ids or where.
{
  "slug": "drop_lead",
  "type": "table_delete",
  "spec": {
    "table": "tbl_8f2k1",
    "where": { "kind": "rule", "left": "email", "op": "is", "right": "{{trigger.email}}" }
  }
}

ids takes a list of ids, one id, ids separated by commas, or a list of rows, from which it reads each row's _id.

Output

FieldMeaning
deletedHow many rows the step deleted.
{ "deleted": 1 }

On this page