In Dialogflow CX, I want to use webhook to send a fulfillment response as well as transition to another page. I have tried using the following code to transition to a page called 'test' but it is not working. I am looking for a piece of code that will send a response back to agent and also transition to another page. Thank you.
if(tag=='welcome'):
fulfillmentResponse = {
'session_info': {
'parameters': {
'transition_page': "test"
}
},
}
return jsonify(fulfillmentResponse)