AI chatbot

Don’t just build a bot that functions—create one that wows. Together, let’s bring to life a smart, engaging, and unforgettable AI-powered chatbot.

An AI assistant is a true breakthrough: now you can configure AI-powered chatbots to interact with your customers using ready-made roles and preconfigured functions.

By configuring an AI-powered chatbot, you will be able to:

  1. Create a consultant for all the services available at your branch.

  2. Generate texts for newsletters and presentations: simply provide the chatbot with a task and key message, then enjoy the result.

  3. Develop an online store using Google Sheets.

  4. Book clients online directly into your CRM system.

  5. Combine different AI assistants with various configurations.

circle-check
circle-exclamation

Important

circle-check

Please note

triangle-exclamation

Attention

triangle-exclamation

Attention

circle-exclamation

Please note

What are chatbot roles

Roles define the specific functional tasks and behavioral characteristics that the AI assistant is configured to perform and exhibit during user interactions.

For your convenience, the MaviBot team has already configured several roles ready to use in your projects.

However, if these bots don’t fit your specific needs and you know how to work with AI, feel free to choose the "No preset settings" option.

If you need an AI chatbot tailored to a specific behavior model, you can choose from the following standard roles

Text-based responses assistant

The model is strictly limited to the knowledge and information contained within its settings. It answers questions related only to the text embedded in its configuration.

Universal assistant

This model has minimal restrictions on text generation, making it well-suited for tasks that require creativity, such as copywriting.

Video overview

Sales assistant

In this role, the bot can showcase products to clients, share details about available items, and—if configured—calculate the final cost.

This model is built around the command "Sell by any means." It works especially well in combination with a table or the "bot knowledge" setting, making it ideal for dynamic product listings and price calculations.

а) create a table and add the necessary product details;

б) embed the values from your table into the bot’s knowledge using a function specifically designed for Google Sheets.

circle-info

Instructions on how to use the Google Sheets function or the MaviBot table function can be found in the section with the same name.

Algorithm-based assistant

This model requires a clear step-by-step action plan — similar to a structured bot built in a funnel constructor.

Configuring algorithm-based behavior and responses bot settings

circle-info

Please note

Writing a custom algorithm is a time-intensive process that requires meticulous attention to detail.

If you need algorithmic logic for your AI assistant, we strongly recommend using a pre-built chatbot template from the funnel builder. You can then activate and customize it through the AI assistant integration function.

How to work with square brackets

Square brackets are used to let the model insert the necessary word at its own discretion. Primarily, the model will rely on information from the context and dialogue history.

Examples:

  1. Tell me more about [product] In this example, the model will provide more details about the product mentioned in the dialogue. If no product is mentioned in the context or conversation, it will invent one.

  2. Help me write a letter to a [friend/colleague/relative] Here, the slash is used so the model writes a universal letter that can be sent to anyone from the list.

  3. The response should not exceed [30-50] words This sets boundaries for the model, limiting the length of its response.

  4. Tell me about [city] The model will generate text about a random city if no specific city has been mentioned before.

  5. You are a seller in a shop. Your task is to sell the client a [product/service] The bot will act like a sales manager and help sell the product.

Square brackets can also be used when writing an algorithm for the bot

Online booking assistant

The assistant with the "Online booking" role automates client appointments by utilizing values embedded through variables and functions.

This bot is designed to work with Online booking system and uses a pre-configured booking branch to guide clients through available services, open dates, and time slots—while automatically creating appointments in the calendar section of Services.

RAG assistant

The RAG assistant will be needed for working with documents to provide accurate answers based on your context.

Add files: FAQs, instructions, articles, or internal materials. The assistant uses them to find answers to users' questions.

How it works:

  • Preliminary search: Before answering, the assistant looks for the necessary information directly in the uploaded document.

  • Accurate answers: Users receive answers directly from your materials.

A chunk setup (for the RAG role)

A chunk is a block/fragment of a document.

RAG splits a document into pieces (chunks), performs a preliminary search among these pieces, finds the piece(s) most similar to the original query, and adds only several chunks to the context instead of the entire document. There is a high probability that the needed answer will be found within the attached chunks.

How the RAG role works: the document is divided into pieces (chunks). By default, one chunk is approximately 500 characters.

The recommended size of a text fragment is from 1000 to 2000 characters (specified in the chunk size field).

Document splitting is done automatically, and it is better for the assistant if one piece contains a meaningful fragment: for example, one question and one answer from an FAQ, or one/two complete paragraphs of a document.

You can adjust these chunks after the automatic splitting through the interface: trim some, add information to others, delete some, or add completely new ones.

How to set it up

Step 1: Upload the document.

And, if needed, specify the chunk size and chunk overlap.

Step 2: Click "Upload document" (this will start processing your document and splitting it into pieces (chunks)).

Step 3: You can check the chunks: for example, if one piece of an answer is split mid-word, you can edit it.

After that, you can test the assistant in the chat window on the right.

circle-exclamation

Important

circle-info

You can enter a phrase in the "Bot Knowledge" field, such as: "The names of documents are indicated in parentheses in the context; refer to them whenever possible." This way, the assistant will add in parentheses the name of the document where it found the information.

Pre-configured settings

Pre-configured settings are predefined instructions that guide the chatbot's behavior.

Buttons This option is essential for creating buttons when the response requires choosing from multiple options. It works great for sales and online booking roles.

Example:

This option is also convenient for the client: they don’t need to type anything extra, as continuing the conversation simply requires selecting and clicking the button they’re interested in.

Avoid discussing politics The bot will remain silent or refuse to answer questions related to politics, religion, territorial claims, and other sensitive topics.

Beautify responses This feature enables the bot to use lists and neat formatting when replying to customer messages.

Minimize creativity This option helps limit the bot’s creative responses.

Step-by-step data input This feature collects user data step by step—for example, to create variables and pass them to the system (these variables can later be found in the customer’s profile).

This approach is used for processing orders and filling out forms that require step-by-step input of information.

circle-info

To create variables and correctly pass them to the system, please refer to the section "Data transfer format."

Do not learn from messages This option limits the impact of user messages on the bot, protecting it from attempts by malicious users to deliberately distort the prompt you have set.

Trigger conditions

You can configure trigger conditions by either manually entering variable values or by using the visual condition builder.

circle-check

Trigger builder

You can manually set variables with specific values and choose a comparison operator. The comparison operators are standard, just like in all MaviBot triggers: equal, not equal; greater than, greater than or equal to; less than, less than or equal to, respectively.

The "Bot selection" tab contains bots connected to the project from various messengers, allowing you to choose which specific chatbot will execute the AI settings.

It’s important to mention that within the builder, you can set triggers to operate only in the testing window for debugging purposes.

To use this functionality, select the "Testing window" tab and click "Add trigger," then test your bot in the testing panel on the right.

This helps prevent awkward situations where a client messages your bot during your debugging, and the AI responds instead of you.

Bot settings

In this field, you need to specify:

  1. The role the bot should take on;

  2. How it should behave;

  3. What actions you expect from it.

Settings should be written as requests to a person. For example:

"You are a support specialist who knows only the information provided to you in the context. Your task is to answer users' questions. You should be proactive and friendly."

circle-check

If you’ve configured the bot to respond to certain messages but set the same conditions in a funnel builder block, the funnel builder block will have priority!

This happens because funnel builder blocks have higher priority than the assistant’s settings.

triangle-exclamation

Important

Example:

You have specified certain words/phrases in the block’s triggers:

You have also set triggers in the assistant’s settings:

The AI assistant operates as a complementary layer within your existing chatbot funnels.

How It Works:

  1. Primary Flow: The funnel builder's configured blocks are always executed first according to their logic and priority.

  2. AI Assistant's Role: The assistant activates to handle cases not covered by the predefined funnel conditions. It responds to client questions that fall outside the main flow.

Key Benefit: This integration ensures all client inquiries are addressed, enhancing user satisfaction and fostering greater loyalty.

Bot knowledge

The underlying AI model is trained on a broad, general dataset from the internet. While powerful, it lacks specific knowledge about your unique project details, such as:

  • Your brand's product catalog

  • Your specific service offerings

  • Your internal policies or procedures

Why this field is essential:

circle-check

In this field, you need to provide the main information about your product that the bot will rely on when responding. You can either write this as text or use a variable.

When using a variable, the funnel builder block specifies the data that the bot should know:

The example above shows the range of services configured in the corresponding "Bookings" section.

circle-check

Data transfer format

In the data transfer format, you specify the actual data being collected (for example, a name), then write a phrase with the "key" and assign a value to that key: "Name with the key 'name', surname with the key 'surname':"

The data is displayed in the customer’s profile card as follows:

This parameter is optional and used when you need to transfer information to the system.

triangle-exclamation

Please note

How to pass data to bot

To send data to the bot, you need to enter one of the following commands in the bot settings:

  1. Then execute the command "Block call 123123" — where "Block call" is a debug command, and the number represents the block ID. This command is useful for testing and verifying that the data is being transmitted correctly during bot setup.

As seen in the example above, the command outputs data in JSON format. The values are saved within the project, helping you track the accuracy of the stored information and fine-tune the bot during the debugging phase.

The command is specified in the bot settings as follows:

  1. The command "Then execute the command "start_block_from_ai 11916"also sends information to the bot. Replace the number (highlighted in green) with the block ID.

The command works similarly to "Block call 44," but it’s used during actual client interactions because it is “cut out” from the bot’s message and hidden from your users.

Command example:

When you complete a sale or successfully conclude the conversation, you must write exactly, without any changes: "start_block_from_ai 10241"

What is the difference between the first and second commands for the AI chatbot

As mentioned earlier, "Block call N" is needed for testing so you can VISUALLY verify whether the block call settings are working correctly or not.

circle-exclamation

Please note

circle-info

When a block is triggered via the assistant, the chat history with the assistant is cleared.

Example of use:

  • If someone asks you to turn on the light, execute the command "Block call 123123"

  • If someone asks you about the arugula planting time, execute the command "Block call 123123"

circle-check

Other parameters

Message for delayed responses

If the bot needs more time to generate a response (for example, during text generation or copywriting), you can set a message for the bot to send:

Response delay notification timing

This field, which accepts a numeric value, is related to the previous setting: it defines the delay after which a message about the delayed response is sent.

It accepts a numerical value in seconds, ranging from 2 to 25.

Model creativity

This is a key parameter that reveals the model’s creative potential and enables it to generate original ideas that go beyond its training.

The parameter is set to a value between 0.0 and 1 (e.g., 0.1, 0.2, etc.).

circle-check
circle-check

Maximum word count

This field, accepting only numerical values, sets the maximum number of words for the chatbot’s response.

Such a limit is especially useful for messengers where the number of characters per message is strictly restricted, as it prevents the AI bot from being cut off mid-sentence and helps deliver the most precise and concise answer within the message.

circle-exclamation

About useful advice

Token limit

The model accepts up to 128,000 tokens as input, where one token is roughly equivalent to two characters.

Preventing user misinformation

If the model misleads clients by mentioning non-existent services or products, you can enable the "Minimize fantasies" option and also try reducing the model’s creativity.

How to make the AI Assistant stay silent

Enter the following command text into the bot’s settings field:

"If someone asks you about _______, you must respond that you don’t know the answer. If someone asks you about events you are unaware of, you must respond that you don’t know the answer."

Example:

circle-exclamation

Please note

Last updated