mailchimp-automation – Agents & Automation skill for AI agents
Automate Mailchimp email marketing including campaigns, audiences, subscribers, segments, and analytics via Rube MCP (Composio). Always search tools first for current schemas.
Install the mailchimp-automation skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/mailchimp-automation-f1463.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /mailchimp-automation – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/mailchimp-automation-f1463.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $mailchimp-automation – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/mailchimp-automation-f1463.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /mailchimp-automation – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/mailchimp-automation-f1463.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /mailchimp-automation – then describe the task you want done.
SKILL.md content
Mailchimp Automation via Rube MCP
Automate Mailchimp email marketing workflows including campaign creation and sending, audience/list management, subscriber operations, segmentation, and performance analytics through Composio's Mailchimp toolkit.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Mailchimp connection via
RUBE_MANAGE_CONNECTIONSwith toolkitmailchimp - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Use an existing approved Rube connection; endpoint configuration alone does not authenticate Mailchimp. Use the supported host flow if setup is requested.
1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
2. Call RUBE_MANAGE_CONNECTIONS with toolkit mailchimp
3. If connection is not ACTIVE, follow the returned auth link to complete Mailchimp OAuth
4. Confirm connection status shows ACTIVE before running any workflows
Listed tools/defaults are historical; use discovered schemas. Drafting or campaign creation does not authorize any test/live send or scheduling. Verify exact audience/segment, suppression/unsubscribe state, sender, content and authorized recipients. Do not resubscribe existing contacts or mark imported contacts subscribed without evidence of applicable consent. Minimize personal engagement data, and reconcile unknown send outcomes before retrying.
Core Workflows
1. Create and Send Email Campaigns
When to use: User wants to create, configure, test, and send an email campaign.
Tool sequence:
1. MAILCHIMP_GET_LISTS_INFO - List available audiences and get list_id [Prerequisite]
2. MAILCHIMP_ADD_CAMPAIGN - Create a new campaign with type, audience, subject, from name [Required]
3. MAILCHIMP_SET_CAMPAIGN_CONTENT - Set HTML content for the campaign [Required]
4. MAILCHIMP_SEND_TEST_EMAIL - Send preview to reviewers before live send [Optional]
5. MAILCHIMP_SEND_CAMPAIGN - Send immediately only when explicitly requested for this campaign/audience [Optional authorized action]
6. MAILCHIMP_SCHEDULE_CAMPAIGN - Schedule for future delivery instead of immediate send [Optional]
Key parameters for MAILCHIMP_ADD_CAMPAIGN:
type: "regular", "plaintext", "rss", or "variate" (required)recipients__list__id: Audience/list ID for recipientssettings__subject__line: Email subject linesettings__from__name: Sender display namesettings__reply__to: Reply-to email address (required for sending)settings__title: Internal campaign titlesettings__preview__text: Preview text shown in inbox
Key parameters for MAILCHIMP_SET_CAMPAIGN_CONTENT:
campaign_id: Campaign ID from creation step (required)html: Raw HTML content for the emailplain_text: Plain-text version (auto-generated if omitted)template__id: Use a pre-built template instead of raw HTML
Pitfalls:
MAILCHIMP_SEND_CAMPAIGNis irreversible; always send a test email first and get explicit user approval- Campaign must be in "save" (draft) status with valid audience, subject, from name, verified email, and content before sending
MAILCHIMP_SCHEDULE_CAMPAIGNrequires a valid future datetime; past timestamps fail- Templates and HTML content must include compliant footer/unsubscribe merge tags
- Mailchimp uses double-underscore notation for nested params (e.g.,
settings__subject__line)
2. Manage Audiences and Subscribers
When to use: User wants to view audiences, list subscribers, or check subscriber details.
Tool sequence:
1. MAILCHIMP_GET_LISTS_INFO - List all audiences with member counts [Required]
2. MAILCHIMP_GET_LIST_INFO - Get details for a specific audience [Optional]
3. MAILCHIMP_LIST_MEMBERS_INFO - List members with status filter and pagination [Required]
4. MAILCHIMP_SEARCH_MEMBERS - Search by email or name across lists [Optional]
5. MAILCHIMP_GET_MEMBER_INFO - Get detailed profile for a specific subscriber [Optional]
6. MAILCHIMP_LIST_SEGMENTS - List segments within an audience [Optional]
Key parameters for MAILCHIMP_LIST_MEMBERS_INFO:
list_id: Audience ID (required)status: "subscribed", "unsubscribed", "cleaned", "pending", "transactional", "archived"count: Records per page (default 10, max 1000)offset: Pagination offset (default 0)sort_field: "timestamp_opt", "timestamp_signup", or "last_changed"fields: Comma-separated list to limit response size
Pitfalls:
stats.avg_open_rateandstats.avg_click_rateare 0-1 fractions, NOT 0-100 percentages- Always use
status="subscribed"to filter active subscribers; omitting returns all statuses - Must paginate using
countandoffsetuntil collected members matchtotal_items - Large list responses may be truncated; data is under
response.data.members
3. Add and Update Subscribers
When to use: User wants to add new subscribers, update existing ones, or bulk-manage list membership.
Tool sequence:
1. MAILCHIMP_GET_LIST_INFO - Validate target audience exists [Prerequisite]
2. MAILCHIMP_SEARCH_MEMBERS - Check if contact already exists [Optional]
3. MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER - Upsert subscriber (create or update) [Required]
4. MAILCHIMP_ADD_MEMBER_TO_LIST - Add new subscriber (create only) [Optional]
5. MAILCHIMP_BATCH_ADD_OR_REMOVE_MEMBERS - Bulk manage segment membership [Optional]
Key parameters for MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER:
list_id: Audience ID (required)subscriber_hash: MD5 hash of lowercase email (required)email_address: Subscriber email (required)status_if_new: Status for new subscribers: "subscribed", "pending", etc. (required)status: Status for existing subscribersmerge_fields: Object with merge tag keys (e.g.,{"FNAME": "John", "LNAME": "Doe"})tags: Array of tag strings
Key parameters for MAILCHIMP_ADD_MEMBER_TO_LIST:
list_id: Audience ID (required)email_address: Subscriber email (required)status: "subscribed", "pending", "unsubscribed", "cleaned", "transactional" (required)
Pitfalls:
subscriber_hashmust be MD5 of the lowercase email; incorrect casing causes 404s or duplicates- Use
MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER(upsert) instead ofMAILCHIMP_ADD_MEMBER_TO_LISTto avoid duplicate errors status_if_newdetermines status only for new contacts; existing contacts usestatus- Preserve merge validation; bypass required fields only with documented schema rationale, never as a default error workaround
MAILCHIMP_BATCH_ADD_OR_REMOVE_MEMBERSmanages static segment membership, not list membership
4. View Campaign Reports and Analytics
When to use: User wants to review campaign performance, open rates, click rates, or subscriber engagement.
Tool sequence:
1. MAILCHIMP_LIST_CAMPAIGNS - List sent campaigns with report summaries [Required]
2. MAILCHIMP_SEARCH_CAMPAIGNS - Find campaigns by name, subject, or content [Optional]
3. MAILCHIMP_GET_CAMPAIGN_REPORT - Get detailed performance report for a campaign [Required]
4. MAILCHIMP_LIST_CAMPAIGN_REPORTS - Bulk fetch reports across multiple campaigns [Optional]
5. MAILCHIMP_LIST_CAMPAIGN_DETAILS - Get link-level click statistics [Optional]
6. MAILCHIMP_GET_CAMPAIGN_LINK_DETAILS - Drill into specific link click data [Optional]
7. MAILCHIMP_LIST_CLICKED_LINK_SUBSCRIBERS - See who clicked a specific link [Optional]
8. MAILCHIMP_GET_SUBSCRIBER_EMAIL_ACTIVITY - Get per-subscriber campaign activity [Optional]
9. MAILCHIMP_GET_CAMPAIGN_CONTENT - Retrieve campaign HTML content [Optional]
Key parameters for MAILCHIMP_LIST_CAMPAIGNS:
status: "save", "paused", "schedule", "sending", "sent"count/offset: Pagination (default 10, max 1000)since_send_time/before_send_time: ISO 8601 date range filtersort_field: "create_time" or "send_time"fields: Limit response fields for performance
Key parameters for MAILCHIMP_GET_CAMPAIGN_REPORT:
campaign_id: Campaign ID (required)- Returns: opens, clicks, bounces, unsubscribes, timeseries, industry_stats
Pitfalls:
MAILCHIMP_LIST_CAMPAIGNSonly returns high-levelreport_summary; useMAILCHIMP_GET_CAMPAIGN_REPORTfor detailed metrics- Draft/unsent campaigns lack meaningful report data
- When using
fieldsparameter on LIST_CAMPAIGNS, explicitly requestsend_timeandreport_summarysubfields - Pagination defaults are low (10 records); iterate with
countandoffsetuntiltotal_itemsis covered send_timeis ISO 8601 with timezone; parse carefully
Common Patterns
ID Resolution
Always resolve names to IDs before operations:
- Audience name -> list_id:
MAILCHIMP_GET_LISTS_INFOand match by name - Subscriber email -> subscriber_hash: Compute MD5 of lowercase email in code
- Campaign name -> campaign_id:
MAILCHIMP_SEARCH_CAMPAIGNSwith query - Segment name -> segment_id:
MAILCHIMP_LIST_SEGMENTSwith list_id
Pagination
Mailchimp u
… (full content is in the download package)
Related skills
- make-automation – Automate Make (Integromat) tasks via Rube MCP (Composio): operations, enums, language…
- manage-skills – Discover, list, create, edit, toggle, copy, move, and delete AI agent skills across 11…
- manifest – Install and configure the Manifest observability plugin for your agents. Use when…
- max – Cleans up and improves existing code without changing behavior.
- mcd-secret-menu-lab – Plan McDonald's China recipe combinations using an authorized MCP connection for current…
- mcp-builder – Create MCP (Model Context Protocol) servers that enable LLMs to interact with external…
- mcp-builder-ms – Use this skill when building MCP servers to integrate external APIs or services, whether…
- mcp-dependency-drift-audit – Statically audit MCP configs for mutable npm/npx package references before approval or…