Bricks reference
Every brick has settings and one or more outputs, and every output must lead to another brick or to End scenario before a scenario can be published. A new scenario starts with the four call-flow bricks; the others come from the palette.
| Group | Brick | What it does | Outputs |
|---|---|---|---|
| Call flow | Start scenario | Default voice, recognition and fallbacks for the whole scenario | Outbound, Inbound, Voicemail, Busy, Unanswered |
| Call flow | End scenario | Hangs up and ends the scenario | — |
| Speaking | Text-to-speech | Speaks a text, with variables | Complete, Incomplete |
| Speaking | Audio file | Plays a recorded file | Complete, Incomplete |
| Speaking | Audio sequence | Plays several messages: all, one by one, or at random | Complete, Incomplete |
| Speaking | Pre-load Text-to-speech | Generates personalised speech in advance | Processed |
| Speaking | Background audio | Plays background sound under the dialogue | Processed |
| Asking | Question | Says a prompt and recognises the answer by speech or keypad | One per answer, Invalid, Empty, Incomplete |
| Asking | AI question | Hands the dialogue to a language model with prompts, skills and a knowledge base | One per skill, Error, Empty, Incomplete |
| Logic and data | Conditions | Branches on variable values | One per condition group, Otherwise |
| Logic and data | Variables (brick) | Sets or changes variables | Processed |
| Logic and data | JavaScript | Runs your own code against scenario variables | See the brick |
| Logic and data | HTTP request | Calls an external API and maps the response to variables | Success, Error |
| Actions | Call transfer | Transfers the caller to a person or another number | Success, Fail |
| Actions | SMS | Sends an SMS to the contact | Success, Error |
| Actions | Recording Consent | Marks that the caller agreed to recording | Complete |
| Outcomes | Goal | Tags the call result | Processed |
| Outcomes | Business Metric | Records a key/value result of the call | Processed |
| Sub-scenarios | Input and Output | Entry and exits of a sub-scenario | One per Output brick |
| Removed in API 1.80.0 | Outbound call | Starts the flow when the agent places a call | Success, Fail (+ Voicemail detection) |
| Removed in API 1.80.0 | Inbound call | Starts the flow when someone calls the agent’s number | Success, Fail |
How each brick page is laid out
Section titled “How each brick page is laid out”Every page follows the same order, taken from the old help center’s brick template: what the brick does, when to use it, settings, outputs, an example, good practice, common issues and related bricks. Sections with nothing to say are left out.