Skip to main content

Node reference

Every built-in node, grouped by category. Reference a node by its class constant (LogNode::type()) in code, or by its type string in a stored definition.

CategoryNodes
LogicCondition, Switch, For each (loop)
ActionsLog, HTTP request, Wait, Call workflow, Set output, Stop, Scope, Do nothing
VariablesSet, Get, Increment, Append, Remove
CollectionsFilter, Map, Reduce, Sort, Contains, Count
DataParse JSON, Stringify JSON, Select, Merge, Flatten
TextConcat, Format, Replace, Split, Trim, Uppercase, Lowercase
MathAdd, Subtract, Multiply, Divide, Round, Min, Max
Date & timeNow, Add, Subtract, Difference, Format
FilesRead, Write, Delete
ModelCreate, Update, Delete, List records

How to read these pages

Each node lists:

  • Type — the string returned by Type::type().
  • Config — the fields in the node's config. String values support {{ expressions }} unless noted. Fields marked when only apply when another field has a given value.
  • Output — the shape written to {{ nodes.<id>.* }}. Most compute nodes put their result under a result key.
  • Branches — for branching nodes, the outgoing branch names.

Configuring nodes

In a stored definition, config is a flat map:

['id' => 'notify', 'type' => LogNode::type(), 'config' => [
'level' => 'warning',
'message' => 'Low stock on {{ nodes.check.result }}',
]]

Fields not set fall back to the defaults listed on each node's page. A field's default in the schema seeds the interactive builder's prompt; a node's handle() applies its own fallback when a key is absent at run time.