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

Dialogflow Retrieving Start Page, End Session Page via API call

Hi I tried to get Start Page/End Session pages provided from Dialogflow CX as default pages.

However I was not able to get those pages in API level which leads me not being able to implement test cases along with those pages.

sonhj07_0-1683901995063.png

The image above shows one of my flows

when I trigger list_page API, it just returns the custom pages in blue box but it does not return default pages such as End Session or Start Page in API level.

# Initialize request argument(s)
request = dialogflowcx_v3.ListPagesRequest(
parent=parent,
)

# Make the request
page_result = client.list_pages(request=request)

sonhj07_1-1683902232489.png

 

 

Could you please help?

Solved Solved
0 5 1,192
1 ACCEPTED SOLUTION

I  resolved this issue by specifying End Session (default) page on current_page of test case

sonhj07_0-1684113696939.png

 

 

 

View solution in original post

5 REPLIES 5

the Start Page ID is START_PAGE for the end session one is END_SESSION

And the default start flow-id is 00000000-0000-0000-0000-000000000000

Thanks for your answer @xavidop 

However when I trigger getPageRequest, it can not retrieve those pages.

sonhj07_0-1683902810192.png

sonhj07_3-1683902961415.png

 

 

 

 

yup that is correct, these are special ones

I  resolved this issue by specifying End Session (default) page on current_page of test case

sonhj07_0-1684113696939.png

 

 

 

I'd like to add one more thing here

The confusing part for the current API is you need to set "start_page" configurations in its flow not its page.

But it's configurable anyhow.