Hi all,
I am trying to create a workaround for the following workflows. Any ideas would be greatly appreciated.
First time user ->
Bot triggered by {{catchall}} ->
The {{catchall.message}} is sent in the body of an HTTP POST that returns a {{response_text}} ->
Bot asks {{question}} with {{response_text}}
LOOP Begins
The {{question.parsed_answer}} is sent in the body of an HTTP POST that returns a new {{new-response_text}} ->
Bot asks {{new-question}} with {{new-response_text}}
LOOP Ends
LOOP Breaks if {{new-response}} === ‘Bye!’
Returning bot user ->
Bot triggered buy catchall
Ask if they want to continue -> YES
The {{catchall.message}} and a couple of {{user_attributes}} are sent in the body of an HTTP POST that returns a {{response_text}} ->
Bot asks {{question}} with {{response_text}}
LOOP Begins again with the same break conditions as above.
Meanwhile, I will tackle this one myself
I was thinking of using one flow as a catch all that checked if you had user_attribute_been_here set to true, and if so, starting up a recap conversation, before getting into asking the remaining questions. But was struggling to figure out how to pass the {{catchall.message}} to the other flows.
Thanks!