Salebot.ai
  • About
  • The basics: How to use Salebot.ai
    • The basics of using the editing software
    • Creating blocks and the types of them
    • Arrows (connections)
    • Quick actions
    • Buttons
    • Condition and Matching selection
    • Links to messengers
    • Blocks "not State"
    • The first message
    • Description of the fields in the Editor
    • How to make the bot not interrupt the dialogue with the client
    • Sending attachments. Tracking links.
    • Getting files from the user
    • Editing text message
    • Random answers in a bot
    • Built-in variables
    • Reservation and recovery
    • Free Videos to master Salebot
  • Administration
    • Custom Roles
    • Reservation and recovery
  • Messengers and chats
    • WhatsApp
    • Whatsapp Business API
    • Telegram
    • Viber
    • Facebook Messenger
    • Official Instagram
    • Online-chat on a site
    • Merging contacts from different messengers
  • Variables
    • Variables
    • Calculator
    • API in Calculator
    • Variable comparison
    • Working with Dates and Time
    • Working with Arrays and Dictionaries
    • List of Useful Regular Expressions
    • How to use variables
  • CRM
    • AmoCRM
    • Bitrix24
  • Working with API
    • The editing software's API
    • Integration with third-party APIs
  • Integrations
    • Payment systems
      • Capusta.space
      • Coinpayments
      • INXY Payments
      • Paypal
      • Payeer.trade
      • Paynow
      • Stripe
      • Telegram
      • Fondy
      • Wayforpay
      • WalletOne
    • InfoBusiness
      • MyOwnConference
      • WebinarGeek
    • Analytics
      • Roistat
      • Facebook Pixel
      • Google Analytics
    • Google Sheets
    • Google Tables
    • Google Calendar
    • Apix-Drive
    • SMS services
    • Sendpulse
    • QuizGO
    • Tilda
    • Linkrr
    • Vakas-Tools
  • Mailings
    • Pipelines
    • Manual mailings
    • Mailing list
    • Stop mailing
    • How to filter clients for mailing
    • Transferring the client base. Uploading Whatsapp numbers
  • To partners
    • How to transfer the project to the customer
  • How to...
    • FAQ
    • ...Create a simple chatbot
    • ...Transfer UTM-labels
    • ...Create a referral program
    • ...Create temporarily available content
    • ...Connect analytics counters and configuring conversions through GTM
    • ...Move clients to another block
    • ...Create personalized images
    • ...Create a menu in Telegram
    • ...Connect Telegram-pay
  • Payment Services
    • Page 1
  • Mini-landing
  • Special capabilities
    • Python programming
    • Generating a QR-code
    • Generating a barcode
    • Barcode recognition on an image
    • Using Google Sheets for mailings
    • Sending requests to messengers and email
    • Working with promo codes
  • Our services
    • Pricing
    • Training courses
  • Group 1
Powered by GitBook
On this page
  • How to work with blocks
  • Block: Beginning of the Dialogue
  • Block: Dialogue State
  • Block: Primary condition check
  • Block: Data transfer
  • Block: End of data collection
  • Blocks: "Not state" and "Not state with condition"
  1. The basics: How to use Salebot.ai

Creating blocks and the types of them

The article describes all types of blocks, fields of forms input and shows how to work with them

PreviousThe basics of using the editing softwareNextArrows (connections)

Last updated 3 years ago

How to work with blocks

The creation of chatbots in Salebot occurs through the creation of a flowchart consisting of blocks and arrows.

Blocks are bot answers and a kind of "state" in which the customer is. Transition to another block (change of the customer’s state) occurs due to the conditions (arrows and keywords).

Arrows are transition conditions. In essence, the arrow performs the role of distributor: if the customer chose "Answer 1", he moves to Block 1, if he chooses "Answer 2", he moves to Block 2 and so on.

Read more about arrows in our article Transition conditions

Blocks priority/descending:

  • Primary condition check

  • Arrow, Reminder

  • Start dialogue

  • Not State with condition

Today we will tell you about the types of blocks, how to create them and what they are for. To create a block, you need to select the block type in the "Creating a message" menu to the right (the default is "Dialogue State"), in the "Message text" field, type the message that the bot should send to the customer and click "Save".

If there should be no text in the block, in the "Message text" field, type #{none} (by default)

Total there are 9 types of blocks

Let us elaborate on each of them.

Block: Beginning of the Dialogue

Start dialogue: block with condition, has a pale green colour. If you write the keyword/phrase in the "Condition" field, the bot chain will start from this block when the user writes to him the specified keyword/phrase. In the figure below is an example, with the keyword to start the bot after the user enters the word "Start".

Block: Dialogue State

Dialogue State: White block without condition. You can only switch to it by arrow. It is designed for intermediate responses, forks, sending several messages one after the other at certain intervals.

​

Block: Primary condition check

Primary condition check: The bright green block has the highest priority. The entire bot chain can also be run from it. The main difference from the block "Start dialogue" is that the conditions in these blocks are checked first. If the customer enters a keyword/phrase from this block during the dialogue with the bot, it will immediately move to it.

Example , if you communicate with a bot and write the word "Start", you will move to this block and the bot will answer you "Hello!".

Block: Data transfer

Data transfer: a block without condition, has yellow colour. It is used to transfer data (values of variables) to the CRM system, to email or personal messengers of the bot owner without resetting this data in the constructor. Thus, the data can be used for calculations or other actions even after transmission.

​

Block: End of data collection

End of data collection: a block without condition, has a red color. The main task of these block type is to form a request. When moving into this block, all collected data (values of variables) about the user are sent to the CRM system, to email or other social networks in the form of a prepared request. After the variable values are transferred, they are deleted from the constructor

Blocks: "Not state" and "Not state with condition"

Types of blocks "Not a state" and "Not a state with a condition" require more detailed consideration, so they are described in this article.

https://docs.salebot.pro/osnovnye-ponyati.-kaksozda-botovna-salebot.pro/blokine-sostoyanie

​

​

Block: Start dialogue
Block: Dialogue State
Block: Primary condition check
Block: Data transfer
Block: End of data collection
Blocks: "Not State" and "Not State With Condition"