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

Change the currentpage programmatically

Hi,

Is there a way to change to the current page programatically?  I'm new to Dialogflow and trying to understand how it works. I have created a flow which has two pages (Start Page and Payment Page). Payment Page is currently empty. 
Flow.PNG

Based on the user input, one of the route in Start Page transistions the flow to Payment Page. The current page is set to Payment Page. As of now I haven't configured anything in the Payment Page. If the user sends another input the flow is executing at Payment Page. How to force the Start Page back to Payment Page.

Greeting intent and its corresponding route are part of the Start Page, based on the customer input the correct intent is detected but the page is still pointing to Payment Page. 
Conversation History.PNG

Thanks in advance.

0 1 192
1 REPLY 1

I think you have an issue with how Dialogflow CX works. Dialogflow CX acts as a state machine, meaning you must handle all the transitions from one page to another. If you want to go back to the start page, you must add a transition.

Here you can find some useful videos about Dialogflow: https://www.youtube.com/playlist?list=PLN3SlEcvS7XHWFydQNQRziU_nHBEweaP_

Best,

Xavi