Objective
This guide will help you route incoming calls to Flex using a Studio Flow. The recommended and simplest approach is to configure your Twilio phone number to use the default 'Voice IVR' Studio Flow that comes with every new Twilio Flex account. This flow already includes the SendToFlex widget, which is responsible for creating the TaskRouter task and delivering the call to Flex.
Product
Twilio Flex
Environment
legacy Twilio Console
Procedure
Follow these steps to configure your Twilio number to route inbound calls through Studio to Flex:
- Log in to your Twilio Console.
- Navigate to Develop → Phone Numbers → Manage → Active Numbers.
- Select the phone number you want to configure.
- Scroll to the Voice Configuration section.
- Under the incoming call handler, select Studio Flow.
- From the Flow dropdown menu, choose Voice IVR:
- This is the default flow included with Flex accounts.
- It already contains the SendToFlex widget, which creates the TaskRouter task and routes the call to Flex.
- Click Save.
After saving your changes, place a new inbound test call to confirm the call is routed to Flex correctly.
If the Default “Voice IVR” Flow Is Not Available
If your account no longer has the default Voice IVR Studio Flow, you can create a new one:
- In the Twilio Console, navigate to Studio → Flows.
- Click Create new Flow.
- Select Start from scratch.
- Once the Flow editor opens, drag and drop the SendToFlex widget onto the canvas.
- Connect the Incoming Call trigger to the SendToFlex widget.
- Configure the widget as needed (for example, selecting the appropriate Workflow).
- Click Save.
- Click Publish to make the Flow active.
After publishing, return to your phone number configuration and select this newly created Studio Flow as the incoming call handler.
Additional Information