This TwiML Verb is not currently available when using Twilio Regions Ireland (IE1) or Australia (AU1). This is currently only supported with the default US1 region. A full list of unsupported products and features with Twilio Regions is documented here.
Virtual Agent is in Public Beta. Learn more about Twilio's beta product support here.
The <VirtualAgent>
TwiML noun, which nests inside a <Connect>
verb, allows you to connect callers to a Google Dialogflow VirtualAgent. <VirtualAgent>
currently supports Dialogflow CX.
This document outlines the steps to integrate your Dialogflow agents with Twilio and provides links to the specific documentation for working with <VirtualAgent>
and Dialogflow CX agents.
1<?xml version="1.0" encoding="UTF-8"?>2<Response>3<Connect>4<VirtualAgent connectorName="project"/>5</Connect>6</Response>
To use <VirtualAgent>
, you must connect your Dialogflow agent to Twilio using a Twilio One-click telephony integration in the Google Dialogflow cloud console. The One-click process is different for Dialogflow CX. See the sections below on how to complete the integration steps.
Once you've completed those integration steps, Twilio will add a Dialogflow CX Connector and create a new Studio Flow containing a Connect Virtual Agent Widget that is connected to your selected Dialogflow agent.
You can review all of your Dialogflow CX connections in your Installed Twilio Marketplace Add-Ons in the Twilio Console.
See the full onboarding guide here. The onboarding guide discusses prerequisites, integration steps, and specifics about Dialogflow CX features enabled with the Twilio integration.
Review the supporting documentation to get started with the Dialogflow integration: