1. Description
...
The block (Fig.1(1)) is used in space to build the Flow. The settings panel for this component opens (Fig.1(2)) when you click on the block.
Fig.1. Menu component
...
- The name of the component;
- in branch - — receiving (connecting with the previous block) branch;
- out branch - — outgoing (connecting with the following block) branch.
...
It consists of the following elements:
- Text;
- Set;
- Type;
Rows of buttons;
- Break;
- Add limitLimit.
1.2.1. Text
Here, enters the text that will be displayed along with the navigation menu.
1.2.2. Set
Here enters the variable's name in which the result of the subscriber's selection is written.
The field is automatically populated with ${onClick.Menu}
value.
1.2.3. Type
Here, chooses the type of button placement. There are such options:
- message - — buttons are displayed in the message;
- chat - — buttons are displayed under the chat;
- clear - — no buttons.
1.2.4. Rows of buttons
It is designed to create rows of buttons in the navigation menu.
Info |
---|
The No input switch becomes available when at least one row is present. — indicates that you should disable input options (text, media, video, files, location, etc.), and allow only a response using one of the buttons. Only for portals! |
When you click on the Add row button, the following options are displayed (Fig.2):
- Button;
- Add button;
- Delete row.
Fig. 2. Add row
1.2.4.1. Button
It is designed to create a button. Consists of:
- Remove button;
- Type;
- Text.
1.2.4.1.1. Remove button
It is intended for removing the button. Clicking the button removes the button.
1.2.4.1.2. Type
The button type.
For the message
button placement type, the following options are available:
- reply;
- url.
For the chat
button placement type, the following options are available:
- postback;
- contact;
- email;
- location.
1.2.4.1.3. Text
The name of the button that is displayed in the messenger.
Info |
---|
You can create branches along which the Flow scheme will pass, according to the selected button, by using the Switch component. To do this, in the Cases field of the Switch component, you have to enter the button code created in the Menu component, and in . In the Variable field of the Switch component - — a variable whose name is entered in the Set field of the Menu component. |
1.2.4.2. Add button
When this button is clicked, the Button element is added to the row to which the Add button button belongs.
1.2.4.3. Delete row
Clicking this button removes the row and all buttons from that row.
1.2.5. Break
Include Page Break Break
1.2.6.
...
Limit
Include Page Limit Limit
Fig. 23. Setting a limit