For the complete documentation index, see llms.txt. This page is also available as Markdown.

Block descriptions

Block descriptions

List of all blocks:

Block
Group
Purpose

Message

MESSAGES

Sends a message to the customer

Buttons

MESSAGES

Sends a message with selection buttons

Question

MESSAGES

Asks the customer a question, validates and saves the answer

CSAT rating

MESSAGES

Asks the customer for a rating from 1 to 5

CSAT feedback

MESSAGES

Asks the customer for a text review

Private note

ACTIONS

Adds an internal note invisible to the customer

Data collection

ACTIONS

Saves the customer’s answer to an attribute

Add tag / Remove tag

ACTIONS

Adds or removes a tag for the dialog, conversation, or contact

Assign skill

ACTIONS

Assigns skills for dialog distribution

Branches

ACTIONS

Branches the scenario based on conditions

Launch another flow

ACTIONS

Passes execution to another Flow

Assign agent / Assign team

ACTIONS

Assigns the dialog to an agent or team

Change dialog status

ACTIONS

Changes the dialog status

Set priority

ACTIONS

Sets a numeric priority for the dialog

Freeze conversation status

ACTIONS

Prevents automatic changes to the conversation status

Send Webhook event

ACTIONS

Sends an event to the specified URL

HTTP request

ACTIONS

Makes a request to an external service

Script

ACTIONS

Executes custom JavaScript code

Wait

ACTIONS

Pauses the scenario for a set time

Teleport

ACTIONS

Connects remote parts of the scenario

Debug

ACTIONS

Writes execution data to the server log

Comment

ACTIONS

A note on the canvas for those who edit the Flow

Set Variables / Remove Variables

ACTIONS

Creates, changes, or deletes scenario variables


Message

Sends a text message to the customer on behalf of the bot.

  1. Message text – required field. Supports emojis and attachments.

  2. Timeout – see “Timeout in Message Blocks”.


Buttons

Sends a message with selection buttons to the customer. Each button is a separate output of the block, so you can configure its own continuation of the scenario for each answer option.

  1. Message text – optional field.

  2. Buttons – button text (required). Buttons are added via + Add button, up to a maximum of 10 buttons.

  3. Other – a separate output for any customer reply that doesn’t match any button. Always present.

  4. Timeout – see “Timeout in Message Blocks”.

The appearance of the buttons depends on the messenger – the same as in Simple Bots. In channels that do not support buttons, the customer receives the options as numbered text (for example, 1 – Delivery).


Question

Sends a question to the customer, waits for a reply, validates it, and saves it to a scenario variable.

  1. Question text – required field.

  2. Save reply to variable – required field: the name of the variable where the customer’s valid reply will be saved.

  3. Validate reply as – the type of reply validation: No validation (no check, default), Email, Phone number, Number, or Regular expression. For Regular expression, the Pattern field must also be filled in – the regular expression that the reply must match.

  4. Invalid reply message – optional message sent to the customer when the reply is invalid. If the field is empty, the question is sent to the customer again.

  5. Max attempts – the number of invalid replies (3 by default) after which the scenario moves to the Invalid output.

  6. Timeout – see “Timeout in Message Blocks”.

Block outputs: main – a valid reply was received; Invalid – the number of attempts has been exhausted; timeout – the customer did not reply in time (only when the timeout is enabled).


CSAT Rating

Asks the customer to rate the quality of service on a scale from 1 to 5.

  1. Message text – required field.

  2. Rating buttons 1–5 – the name of each button (required). Each rating is a separate output of the block.

  3. Other – an output for a reply that doesn’t match any rating.

  4. Timeout – see “Timeout in Message Blocks”.

The rating selected by the customer is saved as the CSAT rating.


CSAT Feedback

Asks the customer for a text review of the service. The customer’s reply is saved as the CSAT feedback.

  1. Request text – required field. Supports emojis and attachments.

  2. Timeout – see “Timeout in Message Blocks”.


Private Note

Adds an internal note to the dialog that is visible only to agents.

  1. Note text – required field. Supports emojis and attachments.


Collect Data

Saves the customer’s reply (the message text or the selected button) to an attribute. That’s why this block is placed after a block that receives the customer’s reply, for example, after the Buttons block.

  1. Select attribute – required field. Attributes are grouped into dialog, conversation, and contact attributes.

  2. Custom value – if the toggle is on, the specified value is saved to the attribute instead of the customer’s reply.


Add Tag

Adds a tag to the dialog, conversation, or contact.

  1. Select a tag – required field, search is available.

  2. Tag level – Dialog (default), Conversation, or Contact. The list of tags depends on the level.


Remove Tag

Removes a tag from the dialog, conversation, or contact. The fields are the same as in the Add tag block.


Assign Skill

Assigns one or more skills with a numeric value to the dialog – to distribute the dialog to agents with the required skills.

To configure, click + Select skills to assign and fill in the following in the side panel:

  1. Skill – select a skill from the list.

  2. Value – an integer from 0.

  3. AND / OR – the operator between skills, if there are several.

  4. + Add skill – adds another skill.


Branches

Branches the scenario based on conditions. Each branch is a separate output of the block. If the dialog does not match any branch, the scenario continues through the Else output.

To configure a branch, click on it (Set conditions) and add filters in the side panel. The set of conditions is the same as in the Flow launch conditions. Filters are combined with the AND / OR operators, and a new filter is added with the + Add filter button. A new branch is added with the + Add branch button.


Run Another Flow

Passes execution to another Flow.

  1. Select flow – required field, search is available.

When you hover over the name of the selected Flow, an Open flow link appears – the Flow opens in a new tab.


Assign Agent

Assigns the dialog to a specific agent.

  1. Select an agent – required field, search is available.


Assign Team

Assigns the dialog to a team.

  1. Select a team – required field, search is available.


Change Dialog Status

Changes the dialog status.

  1. Select a status – required field: Open, Pending, Snoozed, or Resolved.

  2. + Set snooze time – appears when the Snoozed status is selected. The time settings panel is the same as in the Wait block.


Set Priority

Sets the dialog priority for distribution.

Priority value – required field.


Wait

Pauses the scenario for a set time before moving on to the next block.

To configure, click + Set wait time and choose one of the options:

  • Specific time interval – days, hours, minutes, seconds. The default is 5 minutes.

  • Until… – until a certain moment: Later today (in 1 hour), Next day (at 9:00), Next Monday (at 9:00), Next month (at 9:00).


Freeze conversation status

Prevents the system from automatically changing the conversation status.

  • The Freeze toggle is on by default – the conversation status is frozen.

  • If the toggle is turned off, the block becomes Unfreeze conversation status and removes the freeze.


Send Webhook Event

Sends an event to the specified URL.

  1. URL – required field. If the format is invalid, an error will appear under the field: "Enter a valid URL, e.g. https://example.com/webhook".


HTTP Request

Makes an HTTP request to an external service. The block has two outputs: Response – the request was completed successfully, Error – an error occurred while making the request.

To configure, click + Configure the request and fill in the parameters in the side panel:

  1. Method – GET (default), POST, PUT, DELETE, or PATCH.

  2. URL address – required field, the request address.

  3. Timeout – the time to wait for a response in milliseconds (10000 by default – 10 seconds).

  4. Max. size – the maximum response size in bytes (512000 by default – 500 KB).

  5. Send to output – which part of the response to pass on: Everything (default), Response body, Chunks of buffer, Headers only, Status code.

  6. Data serialization – the method of serializing the request body: None (default), JSON, URL encode, Buffer.

  7. Headers / Cookies – name / value pairs; added with the + Add header and + Add cookie buttons.

  8. Parse Response to Object – convert the response to an object (on by default).

  9. Enable DNS cache – cache DNS (on by default).

  10. Allow insecure connection – allow an insecure connection (off by default).

  11. Add XHR header – add an XHR header (off by default).

  12. Encryption / Decryption secret – optional shared secret for data encryption.

The Method, URL address, Headers, and Cookies fields support dynamic variables: global variables in the format {key} and message data in the format {data.key}.


Script

Executes custom JavaScript code at this step of the scenario.

To configure, click <> Add script, enter the code in the editor, and click Save.


Teleport

Logically connects two parts of the scenario that are placed far from each other on the canvas, without a visible line. Teleport blocks work in pairs: a scenario that arrives at the input of one block continues from the output of its paired block.

  1. ID – a unique block identifier in the format TP-XXXX, created automatically.

  2. Pair with a Teleport – required field: the ID of another Teleport block in this Flow that does not yet have a pair.


Debug

A utility block for testing the scenario: during execution, it writes variables, trigger data, and attributes to the server log. The customer and agents see nothing. The block has no settings, and a log write error does not stop the scenario.


Comment

A note on the canvas for those who will edit the Flow. The block is not executed, has no connection points, and does not affect how the scenario works.


Set Variables

Creates scenario variables or changes their values. Variables are available to the following blocks in the Flow in the format {{key}}.

  1. Variable name – required field, the name of the variable; names within the block must not repeat.

  2. Value – the value of the variable (an empty field means an empty string). Supports {{key}} and {{data.key}}.

  3. JSON – if the toggle is on, the value is treated as JSON; otherwise, as text.

A new variable is added with the + Add variable button and removed with the “×” button.


Remove Variables

Removes the specified scenario variables. If a variable does not exist, the block skips it without an error.

Variable name – required field, the name of the variable. A new field is added with the + Add variable button and removed with the “×” button.

After a variable is removed, references to it ({{key}}) in the following blocks are no longer substituted.


Timeout in Message Blocks

The Message, Buttons, CSAT rating, CSAT feedback, and Question blocks have a Timeout toggle. It lets you set a separate scenario in case the customer does not reply in time.

  • The toggle is off by default.

  • When turned on, a field with the number of minutes appears (30 by default, an integer from 1) along with an additional output point. A block is connected to it that will be executed if the customer does not reply within the specified time.

Last updated