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. Scripts
  2. Basics

Publishing a script

Briefly talk about the script publishing interface

PreviousEditor interfaceNextScript testing

Last updated 2 years ago

Publishing a script

The publishing interface shows the current state of the script. Possible states:

  • Script not published

  • The script has been published and has been modified since the last publication

"The script is not published" means that it does not work in any channel and is still a draft. If the script is not published, the publish button will be available to you. More information about connecting channels is written in the article "How to connect the messenger".

If the script was published earlier, then it is already working for your subscribers. However, you can change it in draft mode. For example, you want to change the logic of the bot, but do not want to publish it right away, but first you want to test it. In such a case, you can modify the script and test it, but not publish it. In this case, the publishing interface will look like this:

Интерфейс публикации показывает текущее состояние сценария. Возможные состояния:

  • Сценарий не опубликован

  • Сценарий опубликован и был изменен с момента последней публикации

"Сценарий не опубликован" означает, что он не работает ни в одном канале и пока является черновиком. Если сценарий не опубликован, вам будет доступна кнопка публикации. Подробнее про подключение каналов написано в статье .

Если сценарий был опубликован ранее, то для ваших подписчиков он уже работает. При этом вы можете его изменять в режиме черновика. Например, вы захотели изменить логику бота, но не хотите сразу публиковать ее, а сначала хотите проверить. В таком случае вы можете изменить сценарий и тестировать его, но не публиковать.

В этом случае интерфейс публикации будет выглядеть так:

By clicking on the "show published version" button, you will switch to the "clean" version of the script, that is, the last published version. Your followers see it.

By clicking on the "reset changes" button, all your changes relative to the last published (clean) version will be deleted. The script will return to its last published state. The "changes not published".

icon is shown if you have changed the script graph after publishing. That is, what you see now is a draft version.

To publish a draft, click the publish button. Then your draft (what you see in the script editor at this moment) will become a "clean draft" and will work for all subscribers.

"Как подключить мессенджер"