How to get a variable from a DialogFlow
Summary
Trying to set the value of a variable from the bot flow and use this value later in the custom componentContent
Hi,
I am asking how can I use a variable in custom component which I defined it in the DialogFlow
any idea please?
thank you
Code Snippet
///////////////////////////// Flow //////////////////////// context: variables: .... Code : "int" states: start: component: "fn.sample.BotComponent" properties: Code: "Code" transitions: next: "Intent" .... SetCode: component: "System.SetVariable" properties: variable: "Code" value: 0 transitions: {} commonPart: component: "System.Output" properties: text: "please upload an image for the common part of your accident
0