Skip to main content
MailerLite offers newsletters, subscriber management, landing pages, and automation workflows. Connect it to Rocket and describe the email flow you want in chat. Rocket generates the complete logic: signup forms, subscriber list management, automation triggers, and email sending.
MailerLite is ideal for clean, straightforward email marketing without the complexity of enterprise platforms. Pair with Supabase for user data and Stripe for payment-triggered emails.

What you can use it for

Newsletter signup and delivery

Collect subscriber emails through forms and deliver regular newsletters with rich content.

Subscriber forms and popups

Embedded forms, popups, and scroll-triggered captures that grow your email list.

Email capture for product launches

Waitlists and early access campaigns with subscriber tagging.

Automated email sequences

Drip campaigns and automation workflows triggered by subscriber actions.

Subscriber segmentation

Organize subscribers into groups and send targeted emails based on interests or behavior.

Quick start

1

Get your MailerLite API token

Log in to MailerLite, go to Integrations > API, click Generate New Token, name it, and copy the token.
2

Connect in chat

Open any Rocket project and type:
Connect MailerLite and add a newsletter signup form to my landing page.
Paste your API token when prompted. Rocket builds the signup flow instantly.
3

Test the signup

Submit the form in your app preview and check that the subscriber appears in your MailerLite dashboard under Subscribers.
This connector is only available for Next.js TypeScript web build tasks.

Detailed setup

Get your MailerLite API token

Open MailerLite’s documentation to learn how to find your API token.
To generate a new token:
  1. Log in to MailerLite and go to Integrations > API.
  2. Click Generate New Token.
  3. Add a name, accept the terms, then confirm.
  4. Copy the token. You will paste it into Rocket in the next step.
Never paste your MailerLite API token directly into Rocket chat. Always use the secure integration flow or the API token input in settings. If you believe your token has been exposed, revoke it from MailerLite and generate a new one.

Connect MailerLite to Rocket

There are two ways to connect MailerLite:Method 1: Use Rocket chat (fastest)In any project, open the chat panel and type:
  • Connect my MailerLite account and add a newsletter signup form to my landing page.
  • Connect MailerLite and send a welcome email when someone subscribes.
A popup appears where you can paste and save your API token.Method 2: From ConnectorsIn the preview toolbar, click the ... button and select Connectors. Click the MailerLite card.
When you connect MailerLite from Connectors, Rocket does not automatically create email flows. After saving your token, describe the email flow you want in chat.
Paste your API token into the field and click Save. A green dot appears next to MailerLite when the connection is active.Update or disconnectClick the MailerLite integration again. Replace the existing token or click Disconnect to remove it.

Prompt cookbook

Copy-paste these prompts after connecting MailerLite to build common email marketing flows:
Use casePrompt
Newsletter signupAdd a newsletter signup form to my landing page that stores subscribers in MailerLite.
Welcome sequenceWhen a new subscriber joins, start a 5-email welcome sequence through MailerLite over 5 days.
Blog digestSend a weekly email digest through MailerLite with the latest blog posts every Monday morning.
Popup formShow a signup popup after 30 seconds on the page. Add the email to MailerLite on submit.
Waitlist signupAdd a MailerLite signup form for my product waitlist. Tag subscribers as "waitlist" and show a confirmation.
Segmented sendLet users pick topics during signup and add them to matching MailerLite groups for targeted emails.
Re-engagementSend a re-engagement email through MailerLite to subscribers who have not opened an email in 90 days.
Subscriber countShow a live subscriber count on my homepage by pulling the total from MailerLite's API.
Unsubscribe pageBuild a custom unsubscribe page that removes the user from the MailerLite list and shows a confirmation.
A/B subject lineSend two versions of the newsletter with different subject lines to a small group, then send the winner to everyone.

Tips and limitations

  • MailerLite is built for email marketing. It excels at newsletters, subscriber management, and automation. For transactional emails like password resets, pair it with Resend or SendGrid.
  • Free tier includes 500 subscribers and 12,000 emails per month. A solid starting point. Upgrade as your list grows.
  • API token permissions matter. Generate a token with the permissions your app needs. Read-only tokens cannot add subscribers or send emails.
  • Manage subscribers in MailerLite. You can add subscribers through Rocket, but removing subscribers, managing unsubscribes, and editing groups must be done in the MailerLite dashboard.
  • One MailerLite account per project. Each Rocket project connects to one MailerLite API token.

What’s next?

Supabase

Store user data and sync subscriber information with your database.

Stripe

Trigger email sequences when users subscribe to paid plans.

Resend

Add transactional email alongside MailerLite for password resets and receipts.

Google Analytics

Track newsletter signup conversions and email-driven traffic.