Setup Call Flow with Exotrunk
You can set up and manage call flows in Exotel using the App Bazaar. Call flows allow you to define how incoming or outgoing calls should be handled — for example, routing calls to agents, triggering voicebots, or forwarding to SIP endpoints.
Accessing App Bazaar
- From the Exotel Dashboard, go to Manage → App Bazaar.
- Under Custom Apps, you will see a list of existing call flows.
To create a new flow, click CREATE.
Creating a New Call Flow
- Click CREATE in the App Bazaar section. A pop-up will appear prompting you to Add New Flow.
- Enter a name for your flow (e.g., sip-flow) and click OK.
- You will be redirected to the visual Flow Builder interface.
Designing Your Flow
You can route calls to your SIP trunk created under Exotrunk Management.
Drag the Connect applet to the Call Start block.
Under Connect, choose:
- Configure using flow builder here (default)
- Skip dynamic URL configuration unless required.
In the Dial Whom section, specify the number or SIP endpoint to connect.
Field | Description |
|---|---|
Dial phone number(s) | Enter SIP URI to connect the call. Example (sip:trmun1c99b77f41d1f4a4d2c19au) |

When routing to a SIP trunk, use the Trunk ID from your Exotrunk details page in the format: sip:<trunk-id>
You can optionally configure:
Setting | Description |
|---|---|
Record this call? | Enable call recording for monitoring or compliance. |
Save Your Flow
- After configuring your applets, click SAVE on the top-right.
- Your new flow will now appear under Custom Apps in the App Bazaar list.
- The new flow is ready to be assigned to an Exophone or used in your API Integrations
Deleting a flow will immediately stop all calls associated with it. Ensure that the flow is not mapped to active Exophones before deletion.
Setup up Inbound Calls
Once your call flow with exotrunk is created, you can assign it to an Exophone to handle incoming calls.
- Go to Manage → ExoPhones in your Exotel Dashboard.
- In the Installed App column, select the dropdown next to the Exophone you want to configure.
- Choose your newly created flow from the list (for example, sip-flow).
- The selected flow will now handle all calls made to that Exophone.
Setup up Outbound Calls
You can initiate outbound calls from Exotel using APIs. Outbound calls can either connect directly to a SIP trunk or trigger a call flow that handles call routing, announcements, or logic.
There are two recommended methods:
Option 1: Using the Click-to-Call API
The Click-to-Call API lets you initiate a call between two endpoints — typically an agent and a customer. You can also use this API to initiate outbound calls through a SIP trunk.
Example usage: Call the Click-to-Call API and specify:
- From as your customer number
- To as your SIP Trunk ID in the format sip:<trunk_id>
- CallerId as the Exophone configured in the Exotrunk
For complete details, see Make a Call API.
Option 2: Using Outbound Call to Call Flow API
The Outbound Call to Call Flow API allows you to trigger a pre-configured flow directly from your app or system. This is useful when you have additional logic defined in a call flow.
Example usage: Call the Outbound Call API and provide:
- From as your agent or system number
- To as the customer’s phone number or SIP endpoint
- Url pointing to your call flow app (using the App ID found in App Bazaar)
You can find the App ID in App Bazaar → Custom Apps under the App ID column.