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 configure the Autopilot widget in a Studio flow?

Objective

This article shows you how to configure the Autopilot widget in an existing Studio flow so the conversation is handed to an assistant, including the messaging fields and the task the assistant should start with.

 

Product

Studio

 

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 that contains the widget, which opens the Editor tab.
  4. Select the Autopilot widget on the canvas to open its configuration panel.
  5. Enter the assistant to hand the conversation to in Assistant SID.
  6. To start the assistant at a particular task rather than its default, enter that task in Target task override initial task.
  7. To customize the messages the widget sends, expand Messaging & Chat Config and set:
    1. Body: the message text to send.
    2. Send message from: the sender to use instead of the flow's default.
    3. Message attributes: a JSON object of extra attributes to attach to the message.
    4. Programmable chat service and Programmable chat channel: the chat service and channel to use on a chat conversation.
  8. Select Save.
  9. Open the Transitions tab and choose where the flow goes next for If session ended, If timeout, and If error.
  10. Select Publish to make the change live.

 

Additional Information

  • Assistant SID is required before the flow can be published.
  • Always wire up If timeout and If error as well as If session ended, so a stalled or failed session has somewhere to go. Usually a reprompt or a handoff to a person.
  • For new builds, use the Connect Virtual Agent widget instead.

 

 

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

Have more questions? Submit a request
Powered by Zendesk