ContactivityDocs
Voice appsMarkdown

Flows

A flow is a call script you build by connecting steps on a canvas. No code is needed. Flows are under Voice > Flows.

Create a flow

  1. Select New flow, enter a Name and select Create flow.
  2. Add steps from the palette and connect them.
  3. Select a step and Make start to set where calls begin.
  4. Select Save draft. The flow is checked first. Select Validate to check it at any time.

Steps

Group Steps
Call Say, Play, Pause, Gather input, Dial, Record, Transfer, Redirect, Hang up
Logic Condition, Set variables, HTTP request

Branches

Select a connection to set its Condition, for example the digit pressed or business hours. A connection with None (default path) is used when no other condition matches. Use Check earlier to change the order conditions are checked.

Every flow has the variables from, to, call_sid and direction.

Test

Open Test call at the bottom of the editor to call the saved draft from your browser.

Publish

  1. Select Publish….
  2. Optionally describe what changed.
  3. Select Publish draft.

Calls run the published version. Before the first publish, calls run the draft. Use Roll back to go back to an older version.

Connect a number

Open Phone numbers in the editor and select Use this flow on a number. Or route the number to Flow. See Route a number.