Hi folks , maybe you can help me .
I struggle with the syntax of my chatbot 🙂 I have a button wich send the content of TextInput and retreive the response for a flow , then insert the question and the response inside the a collection name collection1 and display then
Collect( Bot;(TextInput1.Text);(FAQBOT.Run(TextInput1.Text).reponse))
the flow response is
{ "reponse": "blablabla", "jeton": "0" }
The display in a gallery is ok but when I look into my collection jeton and reponse field are empty , everything goes to value instead. what is the correct syntax to populate the field of the collection ?? ( I follow tutorials but the french syntax of collect is different than the english one )? thanks in advance
Please consider changing your Formula to the following:
Collect( Bot;
Patch({Value:TextInput1.Text}; {FAQBOT.Run(TextInput1.Text).reponse})
)
See if that produces the results you would like.
I hope this is helpful for you.