Your First Workflow
This guide walks through building a practical workflow: an HTTP webhook receives a request, checks a value in the payload, and routes the result down two different branches.
What you'll build
A webhook-triggered workflow that:
- Receives an incoming HTTP request
- Checks whether a
statusfield equals"active" - Logs different variables depending on the result
Step 1 — Add a Webhook Trigger
In the Toolbox, drag a Webhook Trigger onto the canvas. Click the node to open its properties and give it a name like Incoming Request. Leave verification disabled for now.
Publish the workflow after this step. The webhook URL is only registered when the workflow is published.
Step 2 — Add an If/Else node
Drag an If/Else node onto the canvas below the trigger. Connect the Webhook Trigger's output port to the If/Else input port.
Click the If/Else node and configure:
- Variable:
{{ $inputs.body.status }} - Operation: Is Equal To
- Compare Value:
active
This evaluates the status field from the webhook payload.
Step 3 — Add branches
The If/Else node has two output ports: true and false.
- Drag a Variable node and connect it to the
trueport. Set keyresultand valueUser is active. - Drag another Variable node and connect it to the
falseport. Set keyresultand valueUser is inactive.
Step 4 — Save and publish
Click Save, then Publish. After publishing, open the workflow in view mode and locate the registered webhook URL in the Webhook Trigger node's properties.
Step 5 — Test it
Send a POST request to your webhook URL:
curl -X POST https://your-instance/webhooks/your-workflow-id \
-H "Content-Type: application/json" \
-d '{"status": "active"}'
Check Logs to see the execution. The If/Else node should have routed to the true branch, and the Variable node should show result = User is active in its variables snapshot.
What's next
- Add a Connection to authenticate HTTP requests against a real API
- Use Expressions to transform data between nodes
- Configure Error Handling so failures don't silently drop