Variables

1 min read

In any block field, type {{ to pick a variable.

Variable What it brings
{{trigger.input}} What started the workflow: the webhook JSON, the form response, the event rows…
{{steps.<block>.rows}} The rows a block returned.
{{steps.<block>.total_count}} How many rows.
{{steps.<block>.<field>}} Any other data from a block's output (for example inserted, updated, skipped from Write to table).
{{item}}, {{loop.index}} The current item inside a Loop.
{{workspace.config_var.<slug>}} A configuration variable.
{{current_user.*}} Whoever started the run (button, Run, Test); with automatic triggers (schedule, webhook, event, threshold), the workflow owner. Inside queries a block runs, always the owner.

Each block's Output tab shows what it returns; use it to copy the exact path.

Note: If you change the slug of a table, query or variable, KoData updates your workflows' references.