Template variables
Most step fields accept template references written as {{ something }}.
At run time Routario replaces them with real values from the flow. Alongside the
outputs of earlier steps, a few always-available namespaces exist. The value
picker in the editor links here for each of them.
loop.* — the current item in a Foreach
Section titled “loop.* — the current item in a Foreach”Available only inside a Foreach step.
loop.item— the current item being processedloop.index— its position, starting at 1loop.index0— its position, starting at 0loop.total— how many items there areloop.first/loop.last— booleans for the first / last pass
user.* — the person who ran the flow
Section titled “user.* — the person who ran the flow”The signed-in human who triggered the run (or whose behalf it ran on).
user.firstName,user.lastNameuser.email— handy as ato:on Send emailuser.phone,user.role,user.locale
now.* — the current moment
Section titled “now.* — the current moment”now.date— today’s datenow.time— the current timenow.timestamp— a full ISO timestamp
workspace.* — about the workspace
Section titled “workspace.* — about the workspace”workspace.name— the workspace / organisation name