Calculator
Working with arrays and dictionaries
Array — is a data structure that stores a collection of values (called array elements), each identified by an index. It is defined using square brackets []. ...
Calculator
Gamification methods
For configuring function operations, we recommend using the gamification template for Instagram chats as a reference. To use the functions listed below, you ...
Calculator
Working with variables
get_client_var() | get_client_vars() To get the value of a single variable get_client_var(client_id, variable) Parameters:\ ! client_id - client ID\ ! variab...
Calculator
Conditional IF statement
To verify that a variable contains a value (i.e., it is not None and not an empty string), you must check that it is NOT equal to an empty string. Correct fo...
Calculator
Working with email
Please note! When executing functions for working with email messages, the function returns: a) either NONE — upon successful execution of the function; b) o...
Calculator
Working with Google Sheets
Note! For better performance with your data, upload it to MaviBot tables. This way, your bots will work much faster and avoid errors related to requests to G...
Calculator
Working with employees
send_notification(text, users, priority) - sends a notification to the specified employees. Parameters: If not specified, the notification will be sent to al...
Calculator
Working in messengers
check_insta_subscription() To check subscription to an Instagram account check_insta_subscription() Parameters: None The function returns logical True if the...
Calculator
Working with MaviBot labels
create_label() | add_label() | remove_label() | remove_label_everywhere() | count_of_clients_with_label() | has_label() MaviBot label are displayed in a cust...
Calculator
Working with lists
create_list() Description Enter the function in the "Calculator" field in the block settings: create_list(name) - creates new list. The result is list ID. Pa...
Calculator
Working with cutomers and CRM
LEGEND: was_in_state() | days_from_last_message() | free_client() | assign_to_user() | distribute_client()| get_operator() | get_operator_name() | delete_pen...
Calculator
Working with dates and time
MaviBot works with the following DATE and TIME formats: for dates – "dd.mm.yyyy" \ for time – "HH:MM" To work with dates and time, you can use the following ...
Calculator
Working with strings
substring() | endswith() | startswith() | contains() | len() | concat() | splitter() | lower() | upper() | strip() | capitalize() | title() | normalizePhone(...
Calculator
Working with expressions
Please note that the execution time of a regular expression is 5 seconds. findall() | similar() LEGEND: ! - Required parameters findall(reg, str, index) - to...
Calculator
Working with MaviBot tables
Create a new record in a table with the specified values. new_record(table_id, data) Response: new record ID edit_record(table_id, record_id, data) Response:...
Calculator