Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow CX API integration with website instead of Dialogflow Messenger

Hi,

I am trying to integrate dialogflow CX agent through a REST API (post request) from the front end website instead of using Dialogflow messenger as we wanted a custom chat UI (like Gemini or Chat gpt) instead of the traditional Dialogflow messenger chat bot UI interface. Are there any references for it on how to achieve it.

0 3 797
3 REPLIES 3

@xavidop any references or suggestions here would be of great help.

Hi  @Stephengcp ,

Welcome to Google Cloud Community!

Integrating Dialogflow CX with a REST API for a custom chat UI is a great approach. Here are references that might help you with the integration : 

  • Interaction with API - This guide show on  how to make an API call for a single conversational turn with an agent.
  • Dialogflow CX API Overview - This documentation provides information on utilizing Dialogflow CX API, including detailed information on available endpoints, methods, and how to interact with the API to build conversational interfaces. 
  • Manage Agents with the API - The documentation contains instructions on managing agents using API.  

For more detailed information about Dailogflow CX you can read through this documentation

I hope the above information is helpful.

Thanks Jane for the detailed explanation. Much helpful. Will look into the documentation links.