Reference

Built-in workflow nodes

The node types every workflow can use, with their inputs and outputs.

Every workflow can use these nodes. They act with full access, and their changes are recorded as made by workflow:<name>.

NodeIdInputsOutputs
Get entityomnicore.get-entityidfound, id, perspectives, fields
Find entitiesomnicore.find-entitiesperspective, where, takecount, first, ids
Create entityomnicore.create-entityperspective, fieldsid
Update entityomnicore.update-entityid, fieldsversion
Add perspectiveomnicore.add-perspectiveid, perspective, fields—
Delete entityomnicore.delete-entityiddeleted
Set valuesomnicore.set-valuesvaluesvalues
Write to logomnicore.logmessage—
Failomnicore.failmessage—

Using them

  • where takes a filter in the query language.
  • fields and values are JSON objects whose text can use placeholders: { "status": "Approved", "total": "{{input.amount}}" }.
  • Set values is for working values: its values output holds what you set, so later nodes can read {{check.values.total}}.
  • Find entities gives the first match's id as first and all of them as ids ({{find.ids.0}} is the first).
  • Fail ends the run as failed, with the message.

Examples

Mark an order approved when it's added and small enough:

NodeSettings
check (Set values)values: { "total": "{{input.after.orderTotal}}" }
approve (Update entity)id: {{input.entityId}}, fields: { "status": "Approved" }

With connections: start → check; check → approve if check.values.total <= 1000; check → end (else); approve → end.

Your own nodes

Packages add more, under their own categories. See Writing workflow nodes.