How to send parameters between dialogflow intents?

dialogflow
google-assistant

#1

Hi all !
I’m using a Lambda function as fulfillment for DialogFlow. I need to pass some parameters to an intent in order to make it work. The parameters are something like: key : value, for example i tried to use this.$request.addInput('id_quest','1'); but after i don’t know how to send the request (return this.toIntent('next') doesn’t do the trick).
These parameters are not something the user knows, so i can’t use the this.ask('...') to get the value!
I have read https://www.jovo.tech/docs/requests-responses/request but i can’t find my answer, can someone help me?


#2

Hi @Alberto1,

You could pass data using this.$data.key = value.

Take a look at the different data types here: https://www.jovo.tech/docs/data


#3

Thank you so much @jan !! :smile:


#4

No problem! Closing this


closed #5