PromptShop

MailerLite Automation

AutomationAuto-detects your installed agents and installs the skill to each one

Install

npx promptshop add MailerLite

Details

AutomationAuto-detects your installed agents and installs the skill to each one.

What This Skill Does

The MailerLite Automation skill allows users to automate email marketing tasks, such as managing subscribers, analyzing campaign performance, and organizing groups. It's designed for marketing teams and individuals looking to streamline their email marketing efforts. The skill integrates with MailerLite through the Composio MCP.

When to Use

  • Verify account details and plan limits.
  • Get account-wide performance statistics.
  • List and paginate subscribers.
  • Filter subscribers by status.
  • Include group memberships when listing subscribers.
  • Build a complete subscriber list with pagination.

Key Features

Retrieves account details including plan limits. Provides aggregate subscriber counts and engagement metrics. Supports cursor-based pagination for subscriber listing. Allows filtering subscribers by status (active, unsubscribed, etc.). Can include group memberships in subscriber data. Requires Rube MCP connection for operation.

## Setup

Connect your MailerLite account through the Composio MCP server at https://rube.app/mcp The agent will prompt you with an authentication link if no active connection exists Once connected, all MAILERLITE_* tools become available for execution

Core Workflows

1. Verify Account & Fetch Metadata

Retrieve account details including plan limits and timezone to ensure consistent reporting.

Tool: MAILERLITE_GET_ACCOUNT_INFO

No parameters required -- returns account metadata, plan details, and timezone configuration.

Always run this first to establish plan constraints and timezone for consistent time-windowed queries.

2. Get Account-Wide Performance Stats

Retrieve aggregate subscriber counts, sent email totals, and engagement metrics for a health snapshot.

Tool: MAILERLITE_GET_ACCOUNT_STATS

No parameters required -- returns overall subscriber counts, sent emails, and performance metrics.

3. List & Paginate Subscribers

Retrieve subscribers with optional status filtering and cursor-based pagination.

Tool: MAILERLITE_GET_SUBSCRIBERS

ParameterTypeRequiredDescription
filter[status]stringNoFilter by: active, unsubscribed, unconfirmed, bounced, junk
limitintegerNoSubscribers per page (default: 25)
cursorstringNoPagination cursor from previous response meta.cursor
includestringNoSet to groups to include group memberships

Important: Loop with meta.next_cursor until null to build a complete subscriber list.

4. List & Analyze Campaigns

Retrieve campaigns with optional status/type filters and page-based pagination.

Tool: MAILERLITE_GET_CAMPAIGNS

ParameterTypeRequiredDescription
filter[status]stringNoFilter by: sent, draft, ready
filter[type]stringNoFilter by: regular, ab, resend, rss
limitintegerNoItems per page (default: 25)
pageintegerNoPage number (default: 1)

Important: Paginate using meta.last_page to avoid omitting campaigns from historical analysis.

5. Manage Subscriber Groups

List, filter, and sort subscriber groups for audience organization.

Tool: MAILERLITE_GET_GROUPS

ParameterTypeRequiredDescription
filter[name]stringNoPartial name match filter
limitintegerNoMax groups to return
pageintegerNoPage number (starting from 1)
sortstringNoSort by: name, total, open_rate, click_rate, created_at (prefix - for descending)

6. Retrieve Audience Segments & Custom Fields

Fetch segments and custom field definitions for advanced audience analysis.

Tools: MAILERLITE_GET_SEGMENTS and MAILERLITE_GET_FIELDS

Segments:

ParameterTypeRequiredDescription
limitintegerNoMax segments to return (max 250)
pageintegerNoPage number (starting from 1)

Fields: No parameters required -- returns all custom field definitions.

Known Pitfalls

PitfallDetails
Subscriber pagination is cursor-basedMAILERLITE_GET_SUBSCRIBERS uses meta.next_cursor -- you must loop until null or counts will be incomplete
Campaign pagination is page-basedMAILERLITE_GET_CAMPAIGNS uses page/limit with meta.last_page -- stopping early omits campaigns and distorts trends
Sampling biasComputing engagement metrics from only the first page introduces bias; always aggregate across all pages
Nested response shapeMailerLite payloads are nested under results[i].response.data with data and meta subkeys, not a flat data key -- parse accordingly
API quotasSubscriber listing is limited by MailerLite Connect API quotas -- plan batch operations accordingly

Quick Reference

Tool SlugPurpose
MAILERLITE_GET_ACCOUNT_INFOVerify auth and review account metadata
MAILERLITE_GET_ACCOUNT_STATSGet aggregate performance metrics
MAILERLITE_GET_SUBSCRIBERSList subscribers with filtering and pagination
MAILERLITE_GET_CAMPAIGNSList campaigns with status/type filters
MAILERLITE_GET_GROUPSList and sort subscriber groups
MAILERLITE_GET_SEGMENTSList audience segments
MAILERLITE_GET_FIELDSRetrieve custom field definitions

Automation

Automate email marketing operations -- manage subscribers, analyze campaign performance, organize groups and segments, and monitor account health -- all orchestrated through the Composio MCP integration.

Toolkit docs: composio.dev/toolkits/mailerlite

Setup

Connect your MailerLite account through the Composio MCP server at https://rube.app/mcp The agent will prompt you with an authentication link if no active connection exists Once connected, all MAILERLITE_* tools become available for execution

Core Workflows

1. Verify Account & Fetch Metadata

Retrieve account details including plan limits and timezone to ensure consistent reporting.

Tool: MAILERLITE_GET_ACCOUNT_INFO

No parameters required -- returns account metadata, plan details, and timezone configuration.

Always run this first to establish plan constraints and timezone for consistent time-windowed queries.

2. Get Account-Wide Performance Stats

Retrieve aggregate subscriber counts, sent email totals, and engagement metrics for a health snapshot.

Tool: MAILERLITE_GET_ACCOUNT_STATS

No parameters required -- returns overall subscriber counts, sent emails, and performance metrics.

3. List & Paginate Subscribers

Retrieve subscribers with optional status filtering and cursor-based pagination.

Tool: MAILERLITE_GET_SUBSCRIBERS

ParameterTypeRequiredDescription
filter[status]stringNoFilter by: active, unsubscribed, unconfirmed, bounced, junk
limitintegerNoSubscribers per page (default: 25)
cursorstringNoPagination cursor from previous response meta.cursor
includestringNoSet to groups to include group memberships

Important: Loop with meta.next_cursor until null to build a complete subscriber list.

4. List & Analyze Campaigns

Retrieve campaigns with optional status/type filters and page-based pagination.

Tool: MAILERLITE_GET_CAMPAIGNS

ParameterTypeRequiredDescription
filter[status]stringNoFilter by: sent, draft, ready