SmartbotPro
  • Smartbot Pro – messenger marketing tool
  • Most important
  • Mini-course
    • Registration and personal account
    • Initial scripting tools
    • Creating the first script
    • Users and collection of information
    • Applications, variables and managers
    • Data validation
    • Collection of applications for a webinar within Telegram
    • Testing unpublished scripts
    • Newsletters
    • Template "Test with a set of points"
    • Statistics
    • Interface hacks
  • Beginning of work
    • Registration in the service
    • More about scripts
    • How to add messenger
      • Adding Telegram
        • Adding a bot to a group chat in Telegram
      • Adding ВК
      • Adding Viber
      • Connecting a channel to a script
      • Linking a social network account
  • Scripts
    • Basics
      • Create a script
      • Script templates
      • Editor interface
      • Publishing a script
      • Script testing
      • How the script is chosen
    • Script events
      • Message from user
      • No appropriate script
      • First message
      • VK Events
      • Webhook
    • Actions
      • Send a message
        • Buttons
      • Process message
      • Extract data
      • Change context
      • Write to statistics
      • Send Notification
      • Switching to another script
      • Working with the user
      • Set variable
      • Scheduled transitions
      • Run SmartQuery
    • Conditions
      • Condition
      • Condition with options
      • Conditions of VKontakte
    • Variables
      • Special Variables
      • User variables
      • Global variables
      • Variable %ref%
    • Acceptance of payment
    • Telegram bot menu
    • Integrations
      • Google-таблицы
      • http request
      • amoCRM
      • Get Course
      • Yukassa for receiving payments
    • Reactions
  • Newsletters
  • Settings
    • Projects
    • Cabinets
  • Information sections
    • Statistics
    • Users
  • SmartQuery
    • Introduction
    • Language syntax
    • Function Reference
  • The documents
    • Privacy Policy
    • Terms of service
    • Subscription and rates
Powered by GitBook
On this page
  1. Mini-course

Initial scripting tools

PreviousRegistration and personal accountNextCreating the first script

Last updated 2 years ago

After creating an account, you are taken to the script screen. This is the main screen from which all interaction occurs. Initially, you will already have a Smartbot FAQ script created. A script is a graphical representation of a user's dialogue with bots in the form of a flowchart. The user can use a template or create a completely custom script.

Flowcharts consist of chains of bot actions. Chains start with events - some user actions. For example, chat messages:

Now, if the user writes in the chat: “What a smartbot can do”, this event will fire. The bot will follow the arrow and send a message:

Note that there are already many different chains in the original script.

There are questions here: “What a smartbot can do”, “What kind of business is a smartbot useful for”, “What social networks does it work in”. After each of these questions, the bot will run the appropriate chain of scripts.

You can do the same - create many answers to frequently asked questions about your product or service.

Pay attention to the message comparison mode. In the example above, it is set to “similar to”, but there are others:

The "looks like" mode is responsible for fuzzy matches. If the user makes a mistake, misses a word in the request, or even writes something similar in meaning, the bot will still understand it with some degree of probability. So you can make a bot that will communicate a little more freely.