SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I hand a Studio flow off to Flex?

Objective

This article shows you how to add and configure the Send to Flex widget so your Studio flow creates a task in Flex and routes the caller or chat to an agent.

 

Product

Studio, Flex, TaskRouter

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Editing a flow requires the Studio flows create and update permissions on the account.

 

Procedure

  1. In the Twilio Console, select Orchestration in the left sidebar.
  2. Select Studio, then Flows.
  3. Select the flow you want to edit to open the Editor tab.
  4. Open the widget library and drag Send to Flex onto the canvas.
  5. Select the new widget to open its configuration panel.
  6. Choose the Workflow that should route the task.
  7. Choose the Task channel, for example Default.
  8. Optionally set:
    1. Attributes: a JSON object of task attributes your routing rules can use.
    2. Priority: the task's routing priority.
    3. Timeout: how long the task may wait before it expires.
  9. Hold music TwiML URL and its request method, GET or POST, to control what a waiting caller hears.
  10. Select Save.
  11. Open the Transitions tab and choose where the flow goes next for If task created, If failed to create task, and If call failed.
  12. Select Publish to make the change live.

 

Additional Information

  • The Workflow list is populated from your Flex TaskRouter configuration. If it is empty, set up a workflow in Flex or TaskRouter first.
  • Attributes is passed straight through to the task, so use it to carry the skills, language, or customer data your workflow rules need to match on.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk