How do you set context?

dialogflow

#1

There is an equivalent of setContext of dialogflow’s app? I need to set a new outgoing context.

Thanks!


#2

Hey @dno010

this.$googleAction.addOutputContext('contextName', { param1: 'param1Value`})
 addOutputContext(name: string, parameters: { [key: string]: any }, lifespanCount = 1)