MailerLite Integration Setup

Connect your MailerLite account to automatically add subscribers to your groups

Step 1: Create a MailerLite Account (If You Don't Have One)

  1. Visit mailerlite.com
  2. Click "Start Free" or "Sign Up"
  3. Enter your email and create a password
  4. Complete email verification
  5. Fill in your business details
  6. Complete the initial setup wizard

Step 2: Get Your MailerLite API Key

The API key allows DrivenCart to add subscribers to your MailerLite account.

  1. Log in to your MailerLite account
  2. Click on your profile icon in the top right
  3. Select "Integrations" from the dropdown

    Or navigate directly to Settings → Integrations

  4. Click "Developer API"

    You'll see a section for API keys

  5. Click "Generate New Token" or "Create Token"

    Give it a name like "DrivenCart"

  6. Select the required scopes/permissions

    Make sure to enable permissions for managing subscribers and groups

  7. Click "Create"
  8. Copy the API token that appears

    It will look like a long string starting with "eyJ..."

Step 3: Connect MailerLite to DrivenCart

  1. Log in to your DrivenCart dashboard
  2. Navigate to Dashboard → Integrations
  3. Find "MailerLite" in the list of ESPs
  4. Click "Configure" or "Connect"
  5. Paste your MailerLite API token in the API Key field
  6. Click "Test Connection"

    This verifies that your API key is valid

  7. If the test succeeds, click "Save"

Step 4: Find Your MailerLite Group ID

MailerLite organizes subscribers into groups. You'll need the Group ID to specify which group subscribers should be added to.

  1. In MailerLite, go to "Subscribers" in the left menu
  2. Click "Groups"
  3. Select the group you want to use (or create a new one)
  4. Click on the group name to open it
  5. Look at the URL in your browser

    The URL will look like: https://dashboard.mailerlite.com/subscribers/groups/123456789

  6. Copy the number at the end of the URL

    In the example above, the Group ID is: 123456789

Pro Tip:

Create different groups for different products or customer types. This makes it easy to send targeted campaigns to specific segments.

Step 5: Enable MailerLite for Your Deals

Configure each deal to automatically add customers to your MailerLite group:

  1. Go to Dashboard → My Deals
  2. Click "Edit" on the deal you want to configure
  3. Go to the "Integrations" tab
  4. Find the "MailerLite" section
  5. Toggle the switch to "Enable"
  6. Enter your Group ID in the "Group ID" field
  7. (Optional) Add custom fields or tags

    You can pass custom field values to further segment subscribers

  8. Save your deal

What happens now:

  • When someone purchases this deal, they're automatically added to your MailerLite group
  • You can create automated workflows triggered when someone joins a group
  • All contact information is synced instantly
  • You can send targeted campaigns to specific groups

MailerLite Automation Features

MailerLite offers simple but powerful automation:

Auto-Responders

Create automated email sequences that trigger when someone joins a group. Perfect for welcome series and onboarding.

Workflows

Build visual automation workflows with triggers, conditions, and actions. Combine group membership, clicks, and time delays.

Segmentation

Use groups and custom fields to segment your audience. Send highly targeted campaigns based on purchase behavior.

A/B Testing

Test subject lines, content, and send times to optimize your email performance.

Troubleshooting

Connection Test Failed

• Verify the API token is copied correctly (it starts with "eyJ...")
• Make sure the API key has the correct permissions (manage subscribers and groups)
• Check that your MailerLite account is active
• Try generating a new API token

Subscribers Not Being Added

• Double-check the Group ID is correct (numbers only)
• Verify MailerLite integration is enabled for that deal
• Make sure the group still exists in MailerLite
• Check for duplicate email addresses (MailerLite handles these automatically)

API Rate Limits

• MailerLite has rate limits on API requests
• If you're adding many subscribers quickly, they may be queued
• Check your MailerLite dashboard for subscriber additions
• Contact MailerLite support if you need higher limits