Best way to organize flows, actions, triggers

(Emi Akino) #1

Hi everyone.
I wonder, what’s the best way to compose a complex bot, with menus, submenus up to 3lvl, “back” buttons and a lot of topics. What’s the principle of aligning everything altogether, without sacrificing interactions? (restart flow for every single button tap and then filter trigger output isn’t good :sweat: )

1 Like
(Daniel Beckett) #2

I’d suggest having different flows to manage the various sections of your bot / menu choices to avoid having one overly long flow but I can see why you’d like to limit wasted interactions :slight_smile:

You could use the label and goto label features of the Flow service to create ‘loops’ within your flow so that your users can jump back to the menu at the end of a section.

Goto a label can only be used a maximum of 20 times in one flow so you may want to incorporate an attribute to track a counter value so that they don’t hit an error.

Here’s an example flow that could help:

1 Like
(Roman Shlyapkin) #3

Hi @AnFlare,
Have you found the solution? I have the same problem with menu building and I can not design the logical working flow structure. :sob: :sob: :sob:

(Emi Akino) #4

Nope, unfortunately no. The main issue in FlowXO is that there’s no visible flow structure. There’s no visible loops, if-then conditions, so every block seems the same as every other one. It’s hard to make something in such a mess :sweat: