Add email opt-ins from Manychat to a MailerLite group

Add contacts who requested a newsletter in chat to its MailerLite group while respecting existing email opt-outs.

10 stepsMarketing

Free to start, no card required.

How it works

  1. When this happens

    Manychat reports a newsletter request

    Webhook

  2. Step 1 · Code

    Read the subscriber reference

  3. Step 2 · Manychat

    Read the Manychat subscriber

  4. Step 3 · Code

    Verify email consent and newsletter tag

  5. Step 4

    Check the newsletter request

    Follows the first path that matches

    • Tagged email opt-in

      1. Step 5 · MailerLite

        Check existing mailing preferences

      2. Step 6 · Code

        Respect opt-outs and group membership

      3. Step 7

        Check whether the contact can join

        Follows the first path that matches

        • Group assignment needed

          1. Step 8 · MailerLite

            Assign the newsletter group

          2. Step 9 · Code

            Confirm the subscriber response

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

After collecting email consent in Manychat, apply a newsletter tag and send the subscriber_id in a JSON POST to the webhook with a shared secret header. Set that header on the trigger and enter the tag and MailerLite group IDs in the consent step. Enable double opt-in for API signups in MailerLite.

Accounts to connect

See all 187 in Marketing

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template