Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Connect Virtual Agent for Flex (Public Beta)


(information)

Public Beta

This feature is currently available as a Public Beta product and information contained in this document is subject to change. This means that some of the features are not yet implemented and others may be changed before the product is declared as Generally Available. Public Beta products are not covered by a Twilio SLA.

(information)

Not a HIPAA Eligible Service

Virtual Agent for the Conversations channel is not a HIPAA Eligible Service and should not be used in Flex workflows that are subject to HIPAA.

Studio uses Widgets to represent parts of Twilio's API. You can combine Widgets in a Studio Flow to build robust applications that require no coding on your part.

The Connect Virtual Agent Widget allows you to connect a Twilio Voice call or Conversations chat to a Google Dialogflow CX agent(link takes you to an external page). You can leverage a native integration between Twilio Voice and Dialogflow CX to provide customers with conversational AI experiences for Voice and Conversations channels.

Widget with Conversations channels.MY_WIDGET_NAME is the name of your actual Widget). For more information on working with variables in Studio, see this guide.

NameLiquid Template Language
VirtualAgentProvider{{widgets.MY_WIDGET_NAME.VirtualAgentProvider}}
VirtualAgentStatus{{widgets.MY_WIDGET_NAME.VirtualAgentStatus}}
VirtualAgentProviderData{{widgets.MY_WIDGET_NAME.VirtualAgentProviderData}}
VirtualAgentError{{widgets.MY_WIDGET_NAME.VirtualAgentError}}
VirtualAgentErrorCode{{widgets.MY_WIDGET_NAME.VirtualAgentErrorCode}}

VirtualAgentError and VirtualAgentErrorCode will be present if status is failed (if the Widget ends through the Failed transition). VirtualAgentProviderError may also be provided if VirtualAgentErrorCode is 32601.


VirtualAgentProviderData

virtualagentproviderdata page anchor

For Google Dialogflow CX agent, the VirtualAgentProviderData JSON object may contain the following information. Note that this variable might be empty if the Widget exited through the Failed transition.

JSON keyDescription
ConversationIdConversationId: Unique identifier for this conversation provided by Google
EndUserIdUnique identifier for the end user participant provided by Google
AgentHandoffParametersParameters included from the Dialogflow CX Agent if the Live Agent Handoff Transition was triggered

Rate this page:

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.