Quickstart
Build your first workflow in the Sommatic AI portal — create a credential, add a webhook trigger, configure nodes, test the draft while the canvas lights up, publish a version and find the run.
In this guide you build a workflow that starts when a system calls a webhook, test it against the draft, publish it and call the published version. It takes a few minutes and everything happens in the portal.
Sign in to the portal
Open https://portal.sommatic.ai and sign in. Sommatic AI uses Veripass for identity: your organization comes from your
account, and everything you create belongs to it.
Create the credentials your nodes need
If a node will call an external service, create its credential first. Go to Advanced → Security, open
Credentials and create one of the available types (for example api-key, basic-auth, oauth2 or
service-account).
Nodes pick credentials from a list, so the secret never appears in the workflow. You can skip this step if your first workflow does not call external systems.
Create the workflow
Open Workflows in the sidebar and create a workflow with a name, a slug and a short description. Then open its Workflow Studio tab: this is the canvas where you design the graph.
Add a webhook trigger
Click the add button on the canvas to open the nodes panel and add Webhook Receiver (webhook.trigger).
Open the node and click Create webhook endpoint. Sommatic AI creates two URLs for the workflow:
- TEST:
…/workflow-orchestration/trigger/webhooks/test/<binding>runs the draft. - PROD:
…/workflow-orchestration/trigger/webhooks/prod/<binding>runs the latest published version.
Add and connect nodes
Add the nodes that do the work, for example flow.if to branch on a field of the request and
io.http to send the case to another system. Drag from a node’s port to the next node to create an edge.
Each port is a possible outcome: true and false on flow.if, error on almost every node.
Read the webhook body in later nodes with an expression such as {{ $json.body.data.key }}, or from any node with
{{ $('Webhook Receiver').item.json.body.data.key }}.
Save the draft
Click Save draft. The Unsaved badge disappears. Saving is required before you run: the studio does not run unsaved changes.
Test the draft
Click Run workflow on the canvas. With a webhook trigger the canvas waits for a call (Waiting for webhook…). Call the TEST URL:
curl -X POST "https://api.sommatic.ai/workflow-orchestration/trigger/webhooks/test/<binding>" \
-H "Content-Type: application/json" \
-d '{ "event": "your_event_name", "data": { "key": "value" } }'The nodes light up as they run, and the SSE debug console (terminal icon in the canvas controls) shows every event of the run. Open a node to see its output and the port it chose.
Publish a version
Open the … menu next to Save draft and choose Deploy. Sommatic AI saves pending changes and publishes the
draft as a new immutable version (v1, v2…). From now on, the PROD URL runs that version.
Find the run
Open the Runs tab of the workflow. Each run shows its status, duration and steps; open one to see the output of every node.