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

Transitioning to a page in a different flow in Dialogflow CX using only API

I'm in the process of developing a Chatbot interface using HTML and CSS. I've established a page, flow, parameter, and entity in the Dialogflow CX console, and I'm now looking to implement the bot flow through the Dialogflow CX API. Currently, I've successfully identified the welcome intent using the detectIntent method of Dialogflow CX Session. My next objective is to navigate from one page to another. How can I achieve this transition?

@xavidop 

0 5 887
5 REPLIES 5

Hi @mohduvesh043 ,

I would highly recommend taking this free course to understand all this basic things: https://botflo.com/courses/dialogflow-cx-beginner-tutorial/

Best,

Xavi

Thanks for responding!

I know basic dialogflow CX( what is intent, route, etc). However, I want to build a chatbot using dialogflow CX API. I want  transiton of bot from one page to another page using API

Gotcha!

Sorry about that, you can see this example that illustrates the use case you are asking for: https://stackoverflow.com/questions/68838654/dialogflow-cx-transition-to-another-page-from-webhook

Best,

Xavi

Thanks for quickly responding!

This article discusses transitioning to another page via a webhook, but my goal is to achieve this using the Dialogflow CX API.

The only way to do that is by using a custom event in the DetectIntent request and adding a route in your diagrams to that specific event transitions to a specific page: https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/ConversationTurn#QueryInput

 

Best,

Xavi