Flowchart Decision Model - How to start?

(K) #1

Hi all,

I am new to FlowXO, and would like to seek your advice!

I am looking to create a chatbot that assists with decision making (based on some sort of flowchart).

  • For example, user is presented with options like firstly (1) What drink would you like, and 3 options of Water, Coffee and Tea appears (in the form of buttons). After selection, user is presented with second qn (2) How would you like it served, and 2 options of Hot and Chilled appears. So on and so forth.

May I know where I can find resources and tutorials to build up such a bot (with focus on buttons and minimal free text entry by user) on FlowXO?

Thank you very much!

Regards,
K

(Sarah Palombo) #2

Sure :grinning:

The first thing you’ll want to choose is Ask a Question. (Bot > Ask a Question). Just choose Question Type: Choice
This will let you + ADD choices (Tea, Coffee for example) - We’ll show these choices as a set of buttons

Lydia’s article shows how Ask a Question works if you fancy a sneak peak
https://medium.com/flowxo/get-started-with-flow-xo-747eb1f6f97b

you might also want to use filters to send a different message depending on an answer given. there’s another article which might help you there too

Any questions please ask. :slight_smile:

Sarah

(K) #3

Thanks so much Sarah!

I have a side question now

How do I make the entire flow go back right to the top upon the keying in of a specific keyword?

I tried adding filter {{catchall.message}} equals to “Restart”, but if I type Restart while halfway into the flow, the bot does not seem to recognize this keyword.

Kindly advise

Thank you!!

(Daniel Beckett) #4

@KLTY0988

If the user is answering a question then unfortunately any trigger words they say will instead be treated as an answer to the question. You could look into using the Flow labels to setup Goto Labels to jump back to the start of your flow based on an answer to a question.

Please see Using Label and Goto a Label in Flow XO for an example.

Thanks,
Dan