In the previous chapter, we described webhooks; they fulfill an intent to send back dynamic code after the intent is matched. You could use Dialogflow fulfillment libraries to do this or just retrieve the results from the posted Dialogflow request. It executes your own (back-end) code. After the intent detection happens by the Dialogflow integrations, you don’t need to call the detectIntent method manually.
11. Creating a Custom Integration with the Dialogflow SDK
Get The Definitive Guide to Conversational AI with Dialogflow and Google Cloud: Build Advanced Enterprise Chatbots, Voice, and Telephony Agents on Google Cloud now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.