Nodes
Introduction
A call flow consists of a series of nodes, which represent different actions that can be taken during a call. Each node has a specific purpose, and you can connect nodes together to create a complete calling application.
Starting node
Starting nodes are the first nodes in a call flow and are used to handle incoming calls.
| Node | Description |
|---|---|
| Handle Call | Handles an incoming call. Starting point in the Call Flow |
Action
Action nodes perform specific actions during a Call Flow, such as playing audio, answering/hanging up a call, or sending an SMS.
| Node | Description |
|---|---|
| Answer Call | Answers an incoming call. |
| Hang Up Call | Hangs up the call. |
| Play Audio or TTS | Plays an audio file or text-to-speech message to the caller. |
| Send SMS | Sends an SMS message to the caller. |
Forwarding
Forwarding nodes transfer the call to another number.
| Node | Description |
|---|---|
| Forward to Phone | Forwards the call to a phone number. |
Record
Record nodes record the caller's/callee's voice/voicemail.
| Node | Description |
|---|---|
| Start Call Recording | Starts recording the call. |
| Stop Call Recording | Stops recording the call. |
| Voicemail Recording | Records a voicemail. |
Input
Input nodes collect input or http requests from the caller.
| Node | Description |
|---|---|
| AI Agent | Connects the call to an AI agent. |
| Gather Input | Collects input from the caller. |
| Request | Sends an HTTP request. |
Decision
Decision nodes make decisions based on the conditions specified.
| Node | Description |
|---|---|
| Conditions | Evaluates conditions and branches the call flow accordingly. |
| Execute SWML | Executes SWML code. |
| Set Variables | Switches variables based on conditions. |
| Unset Variables | Unsets a variable. |