Message

The "Message" block allows you to send a text message with the addition of variables and various files (e.g., photos, videos) to the user and can serve as the start of any flow. It is most often built as a default step.

To form a block "Message" in text format, you need to click on the block and enter the text in the editing mode.

Message in text format with variables added

Variable - a field in the user card into which information is saved, it can have different formats: Text, Number, Image, Yes/No, JSON. Everyone with whom you have a dialog has their own card with an individual set of variables, which are filled in as the flow runs. Some data is loaded from the user's profile, such as Name and Phone Number.

For example, if you ask a user a question: "What is your name?", the name he writes in the answer will be saved to his card.

To use a variable, you must put the name of the variable in two curly brackets in the text of the message.

For example, to address a user by name, you can use the variable . Instead of the variable the user will see his name.

Message with a file

Image

  1. Go to the "Image" section.

  2. Press the "Select File" button to upload an image from your device.

Your message text will be sent as a caption to the selected picture (located below the picture).

File.

  1. Go to the File section.

  2. Click the "Select File" button to download the document from your device.

The file is sent in a separate message. If text or picture is specified, it will be sent before the file in a separate message.

Видео.

  1. Go to the Video section.

  2. Tap the "Select File" button to download a video from your device.

Only mp4 and 3gp resolutions are supported.

For WABA: H.264 video format and AAC audio only.

Menu items is a feature that allows you to configure buttons with answer options and move to the next block in a flow.

Menu items are displayed to the user as reply buttons in Telegram and VK and as a numbered option at the end of a message in WhatsApp and Avito.

When the button is clicked, the text of the button is sent to the bot as a message and triggers the continuation of the flow.

What menu items (buttons) look like in messengers:

Adding menu options

1. Select the "Menu items" field.

2. Click Add.

3. Enter the text and type of button.

4. Click Submit to save.

Continue a flow with choice options

To continue a flow, add the following blocks to the flow and connect the blocks with lines.

How to connect blocks to each other and remove links between them, we tell you in our article about the Scenario Editor Interface.

Text message

The Message block supports smiles and text editing modes that are customizable using special symbols from the Markdown Cheatsheet library.

For example, you can select one or more words in bold, italicize, strikethrough, or highlight text.

Last updated