Build the structure of a main menu flow (part 1)
Give a main menu flow its structure: connect its three buttons to a product carousel, a phone call and a block that hands the conversation over to a staff member.
A flow with a clear structure lets users get what they need just by tapping a button. This guide takes the first block of the “Undsen tses” (Үндсэн цэс, Main menu) flow and sets what each of its three buttons does: “Бүтээгдэхүүн” (Products), “Холбоо барих” (Contact us) and “Ажилтантай холбогдох” (Talk to staff). Before you start, create the flow and add a greeting text and the three buttons to its first block.
The video shows the panel in English. In the Mongolian panel the same menus and buttons have Mongolian names.
Open the first block
In the flow editor, click the first block (“Block 1”), the one marked Start (Эхлэх). Its settings open on the left: Message Type (Мессежийн төрөл), the greeting text and the three buttons.
Connect a new block to the “Бүтээгдэхүүн” button
In the left panel, click the “Бүтээгдэхүүн” (Products) button. The Edit (Засах) window opens with Button Label (Товчлуурын шошго) and When This Button is Pressed (Энэ товчлуур дээр дарах үед).
Choose Send Message (Мессеж илгээх). A new Send Message block (“Send Message #1”) appears, connected to the button by an arrow.
The same list also offers Open Website (Вэбсайт нээх), Call Number, Perform Action, Start Another Flow (Өөр өрөлт эхлүүлэх), Start Another Step and Start External Step.
Show your products in a Carousel
In the new block, click Add Content (Контент нэмэх) and choose Carousel from the list. A Carousel is a row of several cards side by side.
Use the + sign beside a card to add another card. The example adds five. Move between cards with the arrows at the sides or the small icons below.
On each card, type the product name in Title (Required) and extra details such as the price in Subtitle. The example uses short placeholders like “Бү 1” and “1₮”.
Set up the card image
The two small icons in the top left corner of the card switch the image shape between landscape and square. The example picks square.
Add the image with Upload Image or Insert Link.
Add a button to the card
At the bottom of the card, click Add Button (Товчлуур нэмэх). A button named “Button #1” appears. Click it and type its name in Button Label, for example “Дэлгэрэнгүй” (Details).
Under When This Button is Pressed you can choose what the button does. Then click Save (Хадгалах). Set up the buttons on the other cards the same way.
Add a back button (Quick reply)
Below the Carousel, click Quick reply. In the window that opens, type “буцах” (back) in Button Label.
Connect this button to the first block (“Block 1”). When a user taps “буцах”, the main menu is sent again.
Make the “Холбоо барих” button call a phone number
Click the first block and open the “Холбоо барих” (Contact us) button in the left panel. Under When This Button is Pressed, choose Call Number.
In Phone number (with Country code), type your phone number with the country code, for example +97699010101. Then click Save.
Connect a new block to the “Ажилтантай холбогдох” button
Click the “Ажилтантай холбогдох” (Talk to staff) button and choose Send Message. A new block (“Send Message #2”) appears, connected to the button.
The new block's Message Type first shows Omnichannel. The example sets it to Messenger, the same as the first block.
Click Add Content, choose Text (Текст) and type the message the user will receive, for example “Сайн байна уу таныг ажилтан руу шилжүүлж байна.” (Hello, we are transferring you to a staff member.)
Add the action that hands the conversation to staff
Click Add Content again and choose Typing. A Typing for 2 Seconds line appears below the text. Type in its field to change the number of seconds.
Next, choose Add Content → Actions → Inbox (Харилцан яриа) → Transfer Conversation to Human.
Check that Notify Admins, the option under the new action, is ticked.
Review the structure of the flow
Zoom out so that every block is in view, and check that each button of the first block is connected correctly:
- “Бүтээгдэхүүн”: leads to the “Send Message #1” block, which has the five-card Carousel and the “буцах” button.
- “Холбоо барих”: calls the phone number you entered.
- “Ажилтантай холбогдох”: leads to the “Send Message #2” block, which has three pieces of content: the text, Typing and Transfer Conversation to Human.
The next guide (part 2) continues building the structure of this flow.
You do this in the Chatbot panel.new-cp.smartbot.mn
Open Chatbot panel