Skip to main content
Agent skill

MailerLite Automation

Automate email marketing workflows including subscriber management, campaign analytics, group segmentation, and account monitoring through MailerLite via Composio

Get started

Get the complete skill folder, including its scripts and reference files.

This workflow depends on an external MCP integration. Check the source for the server, account access and setup it requires.

When to use this skill

Use MailerLite Automation when an AI agent needs a reusable SKILL.md workflow for this job: Automate email marketing workflows including subscriber management, campaign analytics, group segmentation, and account monitoring through MailerLite via Composio

When not to use it

Skip MailerLite Automation when the task is outside the analysis category, or when a more specific skill in this directory already covers the same workflow with clearer triggers.

How to install

Where will you use it?

Install scope
Claude Code folder setup
mkdir -p ~/.claude/skills/mailerlite-automation
# Save SKILL.md to ~/.claude/skills/mailerlite-automation/SKILL.md
  1. Claude Code personal install: place the skill and its bundled files at ~/.claude/skills/mailerlite-automation/SKILL.md. For a shared project, commit the folder at .claude/skills/mailerlite-automation/ instead.
  2. Current Claude Code detects SKILL.md changes in watched directories during the session. If you just created a top-level skills directory, run /reload-skills. Check that the skill is listed before testing its trigger.
  3. For Claude chat or Cowork in the Desktop app, manage uploaded skills in Customize > Skills; copying files into a local Claude Code folder is not a Desktop install. Other agents may use different install locations.

Full install guide for Claude, Cursor, and Codex →

Try a starter prompt

After installing the skill, paste this starter prompt into your agent to verify it triggers on a small task.

Starter prompt
Use the MailerLite Automation skill for this task: Use MailerLite Automation when this documented workflow matches the task. Confirm any required inputs or files before making changes.

What supports this recommendation?

72/100 provisional content score. This measures documentation, practical detail and source signals. It is not a measured task success rate or a security certification.

Documentation
77/100
Practical detail
68/100
Source evidence
63/100
Source signals
80/100
Model compatibility evidence
  • claudeinferred

    The skill text mentions Claude or a closely associated term. This is keyword-derived compatibility; no hands-on model test is recorded.

  • chatgptuntested

    No model-specific signal or recorded compatibility test was found.

  • geminiuntested

    No model-specific signal or recorded compatibility test was found.

  • copilotuntested

    No model-specific signal or recorded compatibility test was found.

  • llamauntested

    No model-specific signal or recorded compatibility test was found.

  • perplexityuntested

    No model-specific signal or recorded compatibility test was found.

  • mistraluntested

    No model-specific signal or recorded compatibility test was found.

  • grokuntested

    No model-specific signal or recorded compatibility test was found.

Inferred compatibility is based on content signals. Check the app, its available tools and setup requirements before running a skill.

What this skill does

# MailerLite 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](https://composio.dev/toolkits/mailerlite)

---

## Setup

1. Connect your MailerLite account through the Composio MCP server at `https://rube.app/mcp` 2. The agent will prompt you with an authentication link if no active connection exists 3. 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`

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `filter[status]` | string | No | Filter by: `active`, `unsubscribed`, `unconfirmed`, `bounced`, `junk` | | `limit` | integer | No | Subscribers per page (default: 25) | | `cursor` | string | No | Pagination cursor from previous response `meta.cursor` | | `include` | string | No | Set 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`

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `filter[status]` | string | No | Filter by: `sent`, `draft`, `ready` | | `filter[type]` | string | No | Filter by: `regular`, `ab`, `resend`, `rss` | | `limit` | integer | No | Items per page (default: 25) | | `page` | integer | No | Page 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`

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `filter[name]` | string | No | Partial name match filter | | `limit` | integer | No | Max groups to return | | `page` | integer | No | Page number (starting from 1) | | `sort` | string | No | Sort 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:**

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `limit` | integer | No | Max segments to return (max 250) | | `page` | integer | No | Page number (starting from 1) |

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

---

## Known Pitfalls

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

---

## Quick Reference

| Tool Slug | Purpose | |-----------|---------| | `MAILERLITE_GET_ACCOUNT_INFO` | Verify auth and review account metadata | | `MAILERLITE_GET_ACCOUNT_STATS` | Get aggregate performance metrics | | `MAILERLITE_GET_SUBSCRIBERS` | List subscribers with filtering and pagination | | `MAILERLITE_GET_CAMPAIGNS` | List campaigns with status/type filters | | `MAILERLITE_GET_GROUPS` | List and sort subscriber groups | | `MAILERLITE_GET_SEGMENTS` | List audience segments | | `MAILERLITE_GET_FIELDS` | Retrieve custom field definitions |

---

*Powered by [Composio](https://composio.dev)*

Intended uses

  • Use MailerLite Automation when this documented workflow matches the task.

Implementation notes

  • Review the source instructions and adapt inputs before running the workflow.

Try it, then tell us how it went

A copied prompt does not tell us whether the task worked. Report your result after checking the output. We collect your tool and outcome, never your files or prompt.