IF-Then: is this possibile?

(Michel Morelli) #1

Hi, I’m creating a bot where I contacting API.AI to receive the processed user request. Now In this processed user request I need to go to label FOO in CASEA and go to label BAR in CASEB. How can I do this ? Is this possible ?

(Daniel Beckett) #2

Hi Michel,

You could use Flow labels (or triggers) that are Filtered based on the returned value.

Something like Goto FOO with a filter for returnedvalue Contains FOO

You could setup an action for each case so that you have one filtered for FOO and another filtered for BAR.

Thanks,
Dan

(Michel Morelli) #3

Ok, sorry for the stupid question.