Allocate
Workflow Blocks

Add Record

Create a new record in a collection.

Add Record creates a record in a collection — one record (One), or one record per row of a list (Many). It can also update an existing record instead of adding a duplicate.

When to use it

Use it to save what a workflow collects — log a completed inspection, register a new asset, or store every row a Workflow Trigger received.

Settings

SettingWhat it does
CollectionThe collection to write to. Required.
RecordsOne adds one record. Many adds one record per row of a list.
ListMany mode: the list to read rows from. Map columns to the list's Item fields with @.
ValuesA value for each column — typed, picked, or inserted with @.
If the record already existsAdd a new one always adds. Update it updates the newest record whose Match on columns equal these values, or adds one if none match.
Match onWith Update it: the columns that identify the same record, e.g. Meter ID. Each needs a value under Values.
If a row failsMany mode: Skip it and continue (failed rows are listed in the run) or Stop without saving (any failing row fails the step before anything is saved).

Variables

With marker C1, One mode:

VariableTypeNotes
C1.<column>per columnOne per mapped column.
C1.recordIdTextThe new (or updated) record's ID.
C1.system_was_updatedBooleanWith Update it only: whether an existing record was updated.

Many mode:

VariableTypeNotes
C1.recordIdsArrayThe IDs of the records written.
C1.system_added_rowsNumberHow many records were added.
C1.system_updated_rowsNumberWith Update it only: how many were updated.
C1.system_failed_rowsNumberHow many rows failed.

Paths

One output.

Notes

  • Switching between One and Many removes the other mode's variables and clears Item values. The builder asks before switching.