Skip to content

Build your first workflow ​

We'll build something small and real: when a new record lands in an object, post it to a channel and send the submitter an acknowledgement.

Create it ​

Automation → Workflows → New workflow. You land in the fullscreen editor: a canvas in the middle, a node catalog you open to add steps, and a config panel on the right for whichever node is selected.

The canvas runs left to right. Every node has an input on its left edge and one or more outputs on its right.

1. Pick a trigger ​

A new workflow starts with a placeholder trigger. Click it and choose one — for this example, Internal event, bound to the "record created" event on your object.

A workflow has exactly one trigger. The editor won't let you add a second; to start the same logic two ways, use two workflows that both call a shared sub-workflow.

Every trigger type and when to use it: Triggers.

2. Add steps ​

Add a node and drag from the trigger's output handle to its input. For our example:

  1. Internal action — the node that reaches into the rest of the platform. Pick the pillar and the action (post a message, create a record, send an email…).
  2. Send email via the internal action router, addressed with an expression that reads the trigger's record.

Each node's config panel builds its form from the action you picked, so you're filling in fields, not writing JSON.

3. Wire in the data ​

Steps read from the steps before them. Anywhere you can type a value, you can instead insert a reference:

jinja
Hi {{ trigger.fields.name }}, we got your request.   ← inside text
=trigger.fields.total > 100                          ← a real value (here, a boolean)

Don't type these from memory: the field picker on each input lists what's actually available from the trigger and every earlier step, showing real sample values where it has them. Click one and it inserts the right path.

Full syntax and the filter library: Expressions and templates.

4. Test before you publish ​

Two levels, both on the draft:

Test one node. Open a node and run just it, against sample data. You see its real output immediately. Pin that output and every downstream node you test uses it, so you can build step 5 without re-running steps 1–4.

Test the whole workflow. Run the draft manually. The canvas animates as it executes — nodes light up as they start, then settle with their duration and result. Click any node to see exactly what went in and what came out.

A test run does real things

Testing executes real actions: it really sends the email, really calls the API, really creates the record. Point test runs at a test recipient or a scratch record until you trust the graph.

5. Publish ​

Publish stamps the draft as the live version and immediately opens a fresh draft for you.

DraftWhat you're editing. Manual runs and tests use this.
PublishedWhat triggers actually run. Unchanged until you publish again.

So you can rework a live workflow all afternoon without anything you type taking effect. The trigger's registration — the schedule row, the webhook URL, the record condition — is rebuilt on publish, which is also when a bad trigger config is rejected. If publishing fails with a validation error, the message names the problem.

Activate the workflow with the toggle in the header. Published but inactive = fully built, firing at nothing.

6. Watch it run ​

Run history lists every execution with its status, duration, source (manual, trigger, agent, sub-workflow) and cost. Open one and you get the graph as it ran, with each node's input, output and logs.

More: Runs, errors and reliability.

Good habits ​

  • Name your nodes. steps.set_customer reads better than steps.node_7 in every expression that follows.
  • Add a Filter early. Cheaper to stop a run at step 1 than to check at step 6.
  • Give a failure somewhere to go. Drag from a node's red error handle so a failure takes a path instead of ending the run — error handling.
  • Start from a template. The gallery has working workflows for common jobs; they're normal graphs you can pull apart.

Next ​