Flikk
Building flows

Add rows

Add rows to one of your tables as a step in a flow.

The table_insert node adds one row or many rows to a table.

Spec

FieldMeaning
tableRequired. The table's id, which flikk tables list --columns slug,id shows.
valuesRequired. One row as an object of values by column slug, many rows as an array of up to 1000, or a reference to a list from an earlier step.
{
  "slug": "add_lead",
  "type": "table_insert",
  "spec": {
    "table": "tbl_8f2k1",
    "values": { "name": "{{trigger.name}}", "email": "{{trigger.email}}", "stage": "new" }
  }
}

To add one row per item of an earlier step's list, set values to that list:

{
  "slug": "add_orders",
  "type": "table_insert",
  "spec": { "table": "tbl_8f2k1", "values": "{{list_orders.orders}}" }
}

Each item's keys must be column slugs of the table.

Output

FieldMeaning
rowsThe stored rows, each with its new _id.
{
  "rows": [{ "_id": "row_7c1d", "name": "Ana", "email": "ana@example.com", "stage": "new" }]
}

On this page