conduyt_create_call_flow
Create a draft call flow with a named graph of entry, greeting, agent, menu, timing, and routing nodes, then validate and publish it to make it live on a phone number.
Instructions
Create a call flow. Starts as a DRAFT — edit the graph, validate, then publish to make it live on its number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Flow name | |
| draftGraph | No | Initial flow graph — MUST have a string entryId and a nodes array (anything else is silently replaced by a default voicemail flow server-side). Node kinds: entry, greeting, agent, group (queue: holdSeconds/pressOneVoicemail/repeatRing = queue mode), menu (options[{digit,label,next}], next = no-choice path), timing (hours[{day,start,end}], timezone, next = during hours, closedNext = outside hours), function (functionId = a registered function endpoint id, timeoutSeconds 2-8, next = success, failNext = failure; the JSON response's top-level scalars become call attributes), set_attributes (assignments[{key,value}] — value may use {{contact.firstName}} / {{call.from}} / {{attributes.x}}), branch (attribute, op equals|not_equals|contains|exists|not_exists, value, next = match, elseNext = otherwise), voicemail, forward, hangup. Spoken text in greeting/menu/voicemail/hangup may use {{contact.firstName|there}}, {{call.from}}, {{attributes.key}} (publish refuses unknown references). Every branch must reach an ending — publish refuses otherwise. | |
| phoneNumber | No | E.164 number this flow answers (must belong to the account) |