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:

In this section, system notifications are configured only from the Mavibot sections. To see which callbacks come, for example from payment systems, messengers, and other integrations, you need to read the relevant documentation article.

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 notification looks like this: crm_state_changed Funnel name:Stage name

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

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

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

How to assign variables/constants correctly in project settings

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:

The get_info_for_booking() function only works when the "Services" section is configured for online recording and takes values for available free recording slots.

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:

  1. You can specify your own address/multiple email addresses to receive orders/requests to your email without missing a single event.

  2. If necessary, there is a setting for automatic response to the user's first message in an online chat window or messenger with buttons.

For more information, see the article The first message in messengers

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

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

How to connect an email bot was described in the article "Email mailings". — вставить ссылку

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