# 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.

![](/files/I10xWrKlKebHR9G1s5WS)

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

![](/files/EMEU0P5jP0kIqkqbgYCp)

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:

![](/files/Ww59w1bKLKVg1DPvCodL)

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.

![](/files/KCHIanCQdSsdSHPsOwkW)

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:

![](/files/m6O4tJlHo6nIQq7napvd)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.smartbotpro.io/mini-course/initial-scripting-tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
