Contact support:
Contact support
Select Language Русский English

    Mailing via bot builder

    Mailings in ChatApp can be integrated with the Bot Builder for automatic processing of client responses.

    Using a scenario allows you to:

    • launch a bot scenario simultaneously with the start of the mailing;
    • process incoming replies;
    • initiate additional automated actions.

    Setting up the scenario

    1. Go to the “Bot Builder” section.
    2. Open the scenario that contains the “Incoming webhook” block.
    3. Copy the link specified in the “Incoming webhook” block.

    Connecting the scenario to a mailing

    1. Go to the “Automation” → “Mailings” section.
    2. Open the required mailing or create a new one.
    3. Enable the “Use Bot Builder” toggle at the bottom of the page.
    4. Paste the copied webhook link into the corresponding field.

    Editing the Bot Builder scenario

    1. Add the “Send message*” block to the scenario.
    2. In the “ChatID” field, specify the variable: {{nl_phone}} — the client’s phone number from the mailing list will be inserted.
    3. In the “Message text” field, specify the variable: {{nl_text_message}} — the message text specified in the mailing settings will be inserted.

    Available variables

    nl_name — First name
    nl_surname — Last name
    nl_contact — Contact
    nl_chat_id — ChatID in the ChatApp system
    nl_username — Username
    nl_phone — Phone number
    nl_email — Email
    nl_text_message — Message text
    nl_file_url — File URL

    Filling in the mailing parameters

    In the mailing settings:
    1. Specify the main sending parameters.
    2. Select the channel.
    3. Set the date, time, and sending delay.
    4. Select the sending line.
    5. Create the contact list.
    6. Fill in the “Message” field.
    7. Click “Save”.

    A detailed description of the parameters is provided in the corresponding section of the instruction.

    Launch and further automation

    After saving the scenario and launching the mailing, message sending is performed through the Bot Builder.

    Further processing logic (assigning tags, changing the deal stage in the CRM, launching additional scenarios) is configured in the Bot Builder according to your business process.