Skip to main content
Every node in a definition is an envelope with the same shape:
Most nodes route onward through cases — ordered conditions where the first match wins (see Conditions and variables). time nodes use a single to instead, and end nodes have no exit. When no case matches, the execution moves to the node’s on_no_match, or the definition-wide one if the node doesn’t declare its own. The Node Types API returns this catalog programmatically — every parameter with defaults and bounds, generated from the same models that publish enforces.
Definition limits: at most 200 nodes, 25 cases per node, 10 effects per case, 250 declared start fields, and 512 KB of definition JSON.
Building this from the dashboard instead? See Using the Workflow Editor — Add node opens the same catalog visually, grouped the same way as below.

start

The entry point. Exactly one per workflow, referenced by entry_node_id, and it must have at least one case. It declares the contact fields the workflow accepts — the schema that single runs and campaign uploads are validated against. Four system fields are always accepted without declaring them: reference_id, mobile_number, name, email. Declaring one (for example to make mobile_number required) refines the built-in rather than duplicating it.
Declared fields become entry.* variables — entry.loan_amount in the example — usable in any downstream condition. Typed fields are coerced at upload, so "42000" in a CSV compares numerically.

agent

Places a call with one of your Bolna voice agents and waits for it to finish. After the call, the node writes call.* variables and its cases branch on them:
  • call.status — completed, busy, no_answer, failed, voicemail, cancelled, rejected, timeout, or error
  • call.duration_s — call duration when known
  • call.error — set when status is error. Common values: missing_recipient (the recipient variable is blank), unknown_agent (the agent ID doesn’t match an agent in your account) and restricted_agent (the agent is restricted for disallowed content; update its prompt, or write to moderation@bolna.ai)
  • call.agent_version_id and call.agent_version_name — the saved version of the agent the call ran on, set whenever a call is placed. Branch on the name: each save into a version gives it a new id
Each agent node produces a regular call execution with its own transcript and recording.

extraction

Exposes fields your agent extracted from the call — its dispositions — as extraction.* variables for branching. An extraction node must directly follow its linked agent node. At publish, the field types are filled in server-side from the agent’s dispositions — numeric dispositions compare numerically.

api

Calls an external HTTP endpoint, maps values out of the response, and branches on the result. After the request, cases branch on response.*:
  • response.status — the HTTP status code as a number. A 4xx/5xx is not retried away — it reaches your cases so you decide what happens.
  • response.<name> — every response_map entry.
  • response.error — "transport" on DNS failure, connection refusal or timeout (no response.status in that case).

callback

Pauses the execution until your system sends a POST to the node’s callback URL, or until the timeout elapses. Each node gets its own URL, shown in the editor’s Inspector. The request your system sends, signing and URL rotation are covered in Callback node. Phone numbers, meaning entry.mobile_number and any field declared phone, are normalised to their full international form: spaces, dashes and parentheses are ignored, and a number without a country code is read as an Indian (+91) number. Other declared fields are coerced to their type first, so 00123 matches 123 for a number field. Text compares as trimmed, case-sensitive text. A contact with no value in the field skips the wait and takes the timeout branch at once, with a missing_correlation_value warning. A request that arrives before the execution reaches the node is not buffered. When the execution resumes, cases branch on callback.*:
  • callback.status — received, or timeout when timeout_s elapsed first. A timeout sets nothing else.
  • callback.<name> — every payload_map entry, scalar values only, with strings truncated at 1024 characters. A path missing from the body is omitted with a warning rather than set.
Durable copies stay at node.<node_id>.callback.*, including status on a timeout. The timeout must be routed explicitly. The editor adds a locked Timed out condition on callback.status "timeout" when you place the node. Connect its exit to the node a timed-out contact should go to. Left unconnected, it doesn’t count. Publishing fails with callback_timeout_unrouted if no case covers the timeout and the node has no on_no_match of its own. The definition-wide on_no_match does not count.

time

Waits, then moves on. The only node with a single exit — it takes to instead of cases. Exactly one of delay or at must be set.

retry

Re-runs an earlier node on a schedule — the only legal way to close a cycle in the graph. Any other loop back upstream is rejected at publish with unbounded_cycle. Each time the execution reaches the retry node it consumes the next attempt: waits out that entry’s schedule, then jumps back to the target. Once all attempts are consumed, the node’s cases are evaluated instead — that’s your “gave up” path. The target therefore runs at most attempts + 1 times.

aisensy_whatsapp

Sends a WhatsApp template message through your connected AiSensy account.
This node is fire-and-forget for now: it sends the message but doesn’t wait on or surface AiSensy’s delivery status, so there’s nothing to branch on yet — a single always: true case is the only useful one. whatsapp.status, whatsapp.message_id and whatsapp.error aren’t populated.
For connecting an AiSensy account and picking a campaign from the dashboard, see AiSensy WhatsApp integration. For connecting an AiSensy account and picking a campaign from the dashboard, see AiSensy WhatsApp integration.

end

Terminates the execution.
Design your endings deliberately: every distinct label becomes a row in the campaign report, and the outcomes drive the success_count / failure_count / neutral_count rollups everywhere.

Next steps

Conditions and variables

The expression language cases are written in

Node types API

This catalog, programmatically