Menu in the one Flow

(Roman Shlyapkin) #1

Hi everyone,
I would like to build the main menu with 8 buttons, the last button is “buy”. Each button has an information and 3 below: “Next”, “Menu”, “Buy”. A user can go through the menu using only the “Next” button, or jumping up and down.
I faced with three problems:

  1. It’s possible to use 8 Flows, but I don’t want to have so many triggers in one chatbot. I don’t understand how to build it in the one Flow.
  2. When a user works in the one flow with “Goto Label” at the end he/she gets the attribute after answering the question in the main menu. If the user makes several loops then the attributes start making bags.
  3. I tried to clear the attribute with an answer for the menu question at the end of Flow, but then an algorithm doesn’t allow the user to jump back to the main menu.

Do you know how to fix it? Thanks!!!

(Daniel Beckett) #2

Hi @Roman_Shlyapkin

It’s hard to be sure what’s wrong with your current flow without seeing it. At a guess it’s due to the position of the actions and goto labels which leads to values being overwritten.

Feel free to share your flow by clicking on the ‘private’ button near the top right corner. If you don’t want to share it here then please email support@flowxo.com

I have an example Flow with a similar use case that you can take a look at where the user selects a question, is shown what they selected at the end and then offered the opportunity to jump back to another part of the flow.

Hope that helps. If you have any questions please let me know. :slightly_smiling_face:

Thanks,
Dan

1 Like
(Roman Shlyapkin) #3

Hi @DanielBeckett,

Thanks a lot for your help! I’ve taken goto labels from there, but still have a problem.
Here is the link for my bot. The problem is: when you go through the list with “Next” button from info 1 to info 3, then come back with “Menu” and then press “Info 3”, you’ll get Info 2.
I tried to clean the attributes at the end, but it’s not working at all.
What I can do for correct work?

(Daniel Beckett) #4

Hi @Roman_Shlyapkin

The setup is pretty similar to the one I shared but you can actually get away with not using attributes since you’re asking the user a question each time.

Here’s another example using the same concept as your flow:

1 Like
(Roman Shlyapkin) #5

Hi @DanielBeckett

Thanks!!! With your help, I’ve done what I wanted!!!