# Initial scripting tools

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.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FrmI199Mzxa7ncz2uChsd%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202022-06-01%20%D0%B2%2019.03.49.png?alt=media\&token=9878089f-db32-4ee0-af35-46801e31e8f1)

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

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FVAjOO43tudt3FegpNW7m%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202022-06-01%20%D0%B2%2019.05%20copy_22.png?alt=media\&token=a2dea525-1173-4b01-83cc-a37a14bf6082)

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:

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FqedMTuGTWKoIwgOZzFhe%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202022-06-01%20%D0%B2%2019.05%20copy_22_1.png?alt=media\&token=628bf0b8-f25c-488d-895b-12f4c0c193e8)

Note that there are already many different chains in the original script.&#x20;

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.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FZXv9P5Pi1Bufua3FObpb%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202022-06-01%20%D0%B2%2019.06.17.png?alt=media\&token=67d789d6-a8f5-42aa-9acd-75b6f582c805)

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

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

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FDeVrEl9YO78ikIHQlOBv%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202022-05-18%20%D0%B2%2015.07.00.png?alt=media\&token=ad3b88d1-1515-4ddc-8977-f078c8801984)

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.
