• Bot creation instructions
  • 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() Description To get the value of a single variable get_client_var(client_id, variable) Parameters:\ ! client_id - client ...
    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: Parameters Value ! text required parameter; the notif...
    Calculator
    Working in messengers
    check_insta_subscription() Description To check subscription to an Instagram account check_insta_subscription() Parameters: None The function returns logical...
    Calculator
    Working with MaviBot labels
    create_label() | add_label() | remove_label() | remove_label_everywhere() | count_of_clients_with_label() | has_label() Description MaviBot label are display...
    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) Params Description table_id table ID data a dictionary with the data to ...
    Calculator