GoogleCloudPlatform / dialogflow-integrations

Dialogflow integrations with multiple platforms including KIK, Skype, Spark, Twlio, Twitter and Viber
https://cloud.google.com/dialogflow/
Apache License 2.0
256 stars 503 forks source link

How do you get Dialogflow to use this integration once it's deployed? #8

Closed arcataroger closed 4 years ago

arcataroger commented 4 years ago

We've built the Twilio (SMS) integration on Cloud Run, as suggested, but now what?

How do I make the Dialogflow agent actually connect to our new integration instead of the default Twilio backend? I don't quite see a way to add a custom integration in the console.

arcataroger commented 4 years ago

My mistake, I missed a final step in the readme:

Underneath "Messaging", take the value for the server URL printed in the console after the completion of the execution of the last command from the above section to the "A message comes in" fill-in box. Set the first drop-down to Webhook and the HTTP method to HTTP POST.

THAT is how Twilio actually communicates with Dialogflow. My bad for having missed that on a first read. Closing issue.