Kunal Dholiya
Kunal Dholiya

Reputation: 95

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.

Upvotes: 4

Views: 1189

Answers (1)

sid8491
sid8491

Reputation: 6800

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.

Upvotes: 6

Related Questions