Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to call parameters of parent intent in followup intent in dialog flow

I'm working with dialogflow and Facebook messenger to create a chatbot. I've one parent intent named as userdata and this intent has followed up intent named as custom intent. I've three parameters in userdata (Parent Intent) and I want to access parameters of parent intent in followed up intent. So if you've any idea about how to access parameters in followed up intent please share with me.

like image 747
Kunal Dholiya Avatar asked Oct 25 '25 23:10

Kunal Dholiya


1 Answers

Lets say you have three parameters param-a, param-b, param-c.

You need to set a output-context in your parent intent (lets say context-1), then in your follow-up intent you can access the parameters of your parent intent as #context-1.param-a, #context-1.param-b and #context-1.param-c.

Hope it helps.

like image 194
sid8491 Avatar answered Oct 28 '25 04:10

sid8491



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!