Project Settings
In the project settings, you can select incoming notifications, configure work with funnels and then, set variables and constants, rename the project, and much more.

Instruction mentioned below.
Main settings

In the main project settings, the user can change:
the project name;
time zone;
the project owner;
set the domain for links in the bot:

You will need to install your own domain if it is necessary that the proxy link be on your domain, and not on the Mavibot domain. This is an optional setting.
webhook URL
Is needed to receive events from third-party services.
You can also activate checkboxes in the main project settings:

Automatically accept leads to the first stage of the funnel This checkbox will immediately generate transaction cards at the first stage of the funnel in MaviCRM.
Forbid operators to send files After selecting this setting, employees of your project with the Operator role (or another manually configured role) will not be able to send files in dialogs.
Clients waiting for a response are always at the top It will display clients that you or your employees have not yet responded to at the top of the entire list.
Do not check the format of post-json parameters For settings in the bot
The bot is turned on A checkbox for turning on/off the bot in a project
Callback's
In the project settings, you can configure which callbacks you want to receive in MaviBot:

Callback - is a system notification that will help you track events in Mavibot without checking the lists, labels and funnels in CRM every time, which will significantly save your time.
it is possible to set up callbacks for notifications:
Adding/removing lists and labels
Actions with tasks: create, delete, edit, and complete
For example, during creating a task linked to a specific client, a message with the text will appear in the "Clients" section of the dialog with him: new_task_added_callback task_id:#{task.id}, task_name:#{task.name}

And when editing a task linked to a specific client, a comment will appear in the dialog with the client with the text: "The task has been edited" #{current_user.display_name}: edit_task_callback task_id:#{task.id}, task_name:#{task.name}"

Changing the responsible person of the client
The callback includes the deal ID, as well as the name of the responsible person to whom your previous employee was replaced:

Deal deleting
To see all actions in CRM, also monitor the deletion of transactions in your funnels so that you don't miss anything important:

Dragging and dropping deals to a system state
There are system funnel states to which a trade can be moved in MavibotCRM:
It is possible to set the sending of callbacks during dragging and dropping deals by state: "delete deal", "deal completed", "successful deal", "archive". Then, in a dialogue with the client, you will receive a notification of the following type:

Setting up callbacks during switching between CRM stages

After clicking on "Callback settings for CRM stage transitions", a modal window opens with all the funnels that exist in the project:

This setting will help to activate the bot during the client’s switching to a certain funnel state. For this is enough to select either the entire funnel (then any switching of the client's deal through the funnel will activate the bot) or only a switching to a certain state:

Now, during the deal status changes (automatically or manually), a notification is generated from anywhere on the site that can launch the bot.
The callback_query_id variable will also appear in the client's card, which will store the identifier of the transaction for which the notification was sent:

To launch the bot for this event, you must specify the notification text in the Condition field of the arrow or any block with a condition (a block of primary condition verification, not a state condition).
Constants
Please note!
It is necessary to take into account the limits on variables and constants in the project:
The maximum number of template variables is 100;
The name of a template variable cannot exceed 100 symbols;
The maximum number of project constants is 50;
The name of the constant cannot exceed 100 symbols;
The value of a constant cannot exceed 5000 symbols.
A project constant is a constant, immutable variable. For example, you may need it to work with payments in a bot.

To add project constants, click on the pencil icon. Then a modal window will open where you can enter the name of the variable and its value:

Next, you just need to enter a variable:

Then, in a dialogue with the client, the bot pulls the values from the project constant:

Variables
Please note!
It is necessary to take into account the limits on variables and constants in the project:
The maximum number of template variables is 100;
The name of a template variable cannot exceed 100 symbols;
The maximum number of project constants is 50;
The name of the constant cannot exceed 100 symbols;
The value of a constant cannot exceed 5000 symbols.
The assigned variables in the project settings can also be used inside your chatbot (including an AI chatbot).

The assigned variables in the project settings can also be used inside your chatbot (including an AI chatbot).
Difference between variables and constants
Variables can be changed through bots, whereas you can only take a value from a constant.
The value of the variables is the same for all users. This means that if you change the value of a variable through the bot, it will change for all clients, including in the project settings. You can't change a constant like that.
The value of the constant can only be changed uniquely for one client, respectively, in the project settings, the constant will remain unchanged with the previously set value.
If you access a variable in the bot using the "project." construct, you can change the value of the variable.
A clear example of working with a variable through a bot and the project construct. you can read in the article "Chatbot with AI for online booking".
How to assign variables/constants correctly in project settings
PLEASE NOTE!
You cannot use variable interpolation in the value of a variable/constant IN the PROJECT SETTINGS!
Interpolation is the assignment of one variable to another through the construction #{}.
WRONG:

CORRECT:
During assigning variables in the project settings, you can use different values:

For example, the variables from the screenshot above were cached in the project via the bot using the constructor blocks and installed functions:

Please note that the variable is cached in the project settings via the "project." construct:

You can also add a variable in the project settings by clicking on the pencil icon:

After that a modal window opens with an existing list of variables, where you need to click on "Add variable":

Moreover, you can set the name of the variable at your discretion, avoiding naming system variables

Variable templates
Using the "Project Variable Templates" function, you can quickly assemble variables, regardless of their types.
To assemble a variable using a template, click on the button of the same name:

You will see a modal window in which you will see an empty field for the variable name and a drop-down list with the type:

If you have selected the "List" variable type, then you can specify possible values for the variable.:

To add multiple values:
Step 1: Enter the name of the variable;
Step 2: Enter the value 1 for the variable;
Step 3: click on the plus in the row with the value: after you click on the plus for one of the variable values, a bar will appear under the field with the data you entered for the variable:

Step 4. Enter the following value of the variable and press the plus button again: you must click on the plus button after each time you enter one of the variable values.
Step 5. Click "Create": then the variable will be added at the bottom of the modal window:

Messages
This section covers all the necessary points when working with chatbots:

You can specify your own address/multiple email addresses to receive orders/requests to your email without missing a single event.
If necessary, there is a setting for automatic response to the user's first message in an online chat window or messenger with buttons.
You can also insure yourself so that the bot never stops: set the text of the message if the bot does not know the user's answer.
Also, by activating the notification boxes, you will be able to see the customers who wrote to you in the bot, even if you are currently in another Salebot project.
Duplicate messages
Also, in the project settings in the Messages section, you can set duplicate messages to the mail of your students and clients:

If a student / client writes to you in an online chat, and after the message is not read by them, then when this setting is set, a message will be sent to the student / client after a specified period of time.
Important! For this feature to work, you need a connected and authorized email bot.
In order for email duplication to work, it is necessary to set the interval after which the unread student/client message will be duplicated to the mail:

If several email bots are connected to the project, then you can choose which one the duplicated message will be sent from:

Last updated