This instruction describes the elements of the script from the 'User actions' section, used for user actions.
Menu
The element consists of text that the interlocutor will see as a menu description, options from which they will have to choose, as well as some fields that are used if the interlocutor selects an item not from the menu.
Time-based transition — The user transitions to the element that was selected in the scenario;
- Element selection — The component to which the transition will be made;
Text decoration — visual formatting of text using various styles and effects to improve its perception or give it special meaning;
Inline Buttons — displaying buttons directly in the chat text window;
Repeated menu text if the visitor answers with a message not from the buttons (if empty, the first text will be used);
Select a variable — selecting a variable that will be used to record the user's last response to the menu. Even if they pressed a button, in this case, the button value will be recorded.
Select the element to direct the interlocutor to if he answers with a message not from the buttons — transition to the selected element when responding not with a button.
Add answer options — response options offered to the user. Parameters can be named and linked to another scenario component to which the user will transition when selecting them.
Image — you can add an image that will be displayed along with the text and option selection.
Answer
This element sends a message with a question to the interlocutor and records their answer in a variable.
Time-based transition — specifies the time interval after which a transition or action will be performed if the user does not provide an answer within the specified time period.
Variable — selection of the variable where the answer will be recorded.
Answer format — selection of the answer format.
Text request — text message that will be sent to the user, the response to which will be recorded in the variable.
*In this block, it is not required to surround the variable name with ${{ }} symbols.
Request contact
Sending a request to the interlocutor for access to their contact information (first name, last name, phone number, email, etc.).
⚠️Attention!
This function only works in Telegram.
*Message text*[*Button text*](contact)
⚠️Attention!
If the interlocutor does not provide data in the request, they will not be connected with an operator.
⚠️Attention!
For the interlocutor's phone number to appear in the constructor, it is necessary to have an Answer element after the message. The phone number will be saved in the format 361062375934.
Also see.:
Description of components of the Chatbots constructor
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article