How a message runs
1
The message arrives on the workflow's number
Voice notes are transcribed and images stored first, if the workflow’s Audio Transcription and Image Context are on (Conversation page), so the steps see the words and the image link.
2
The workflow runs from Start
Step by step, by code: Run code steps call your APIs, Conditions pick a branch, Update contact saves values, send steps queue messages. Every message starts again from Start; what happened before is read from the chat and the contact.
3
It ends
At an End step, at an exit that goes nowhere, or at Assign chat agent. The messages it queued are sent, in order, and billed like any other message.
4
Or it hands the message to an agent
Assign chat agent passes the message to a Basic or Advanced WhatsApp agent, at its published version. That agent replies with its own model as if the number were its own: its LLM cost, its follow-ups, its replies. An optional note passes what the workflow found to it.
Create one
1
Start a chat agent
Dashboard → Agents → Create Agent → Chat Agent, then pick WhatsApp.
2
Pick Chat Center Workflow
Under Agent type, choose Chat Center Workflow.
3
Build the workflow
The Workflow page is the canvas. Add steps with Add step or the + at the end of any loose exit — see Step types.
4
Test, then publish
Test chat on the canvas runs the workflow and lights up the path each message took — see Testing. Publish checks the workflow, and every agent it assigns to.
5
Put it on the number
Assign the WhatsApp number to the workflow. The agents it hands messages to do not need a number of their own: their replies go out on the workflow’s.
What the workflow does not have
- No model, prompt or functions. Code lives in the Run code steps themselves.
- No follow-ups of its own. Follow-ups come from the agent that replied last, with that agent’s settings.
- No simulations. Simulate the agents it hands messages to.
The editor
In this section
Step types
All nine steps and their fields.
Run code steps
Your Python, what it can read, Generate with AI and Verify.
Conditions
Rules, keywords, message types and counts over the chat.
Testing
Test Chat with the path highlight, and the publish checks.
Examples
A question limit with Jev, buttons, media and spam.
Build with Claude
Give Claude your PRD and the skill, get the workflow as a JSON file.