Twilio's Dialogflow CX Connector provides native telephony integration with Google Dialogflow CX. With this integration, Twilio offers rich conversational AI experiences to customer applications. A common use case for this would be enterprises with medium to large sized contact centers.
This guide explains the integration process between your Twilio application and your Google Dialogflow CX virtual agent.
Google is rebranding Dialogflow CX as Conversational Agents. Until that rebranding concludes, this guide continues to use Dialogflow or Dialogflow CX. Consider these equivalent terms.
Before starting the integration, complete these prerequisites.
To start using Dialogflow CX in Google Cloud, consult Google's Dialogflow CX setup documentation.
Before setting up one-click integration, Google Cloud requires you to grant access to Twilio's service account. To run your Dialogflow agent, grant Twilio's production service account permission to use Google Cloud.
resourcemanager.projects.setIamPolicy
permission for your project.virtualagent-ccai-prod@dialogflow-prod-env.iam.gserviceaccount.com
.Dialogflow API Reader
.Dialogflow API Client
.When successful, a box appears stating Policy updated.
Before performing the one-click integration with Google Dialogflow, verify that you have logged into the Twilio console with the appropriate account.
Once you have completed the prerequisite steps, you are ready to use the one-click integration to connect your Twilio Dialogflow CX Connector to your desired Dialogflow CX agent.