[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-3cb28909-72cc-4d78-9ae2-5e80fd9bf19b":3,"$fH8lHek5jGT3q1JZnctC9NxgfLNxOOzx5FL1-C87OTgk":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"3cb28909-72cc-4d78-9ae2-5e80fd9bf19b","mailchimp-automation","通过Rube MCP（Composio）自动化Mailchimp电子邮件营销，包括活动、受众、订阅者、细分和数据分析。始终首先搜索当前模式的相关工具。","cat_prod_automation","mod_productivity","sickn33,productivity","---\nname: mailchimp-automation\ndescription: \"Automate Mailchimp email marketing including campaigns, audiences, subscribers, segments, and analytics via Rube MCP (Composio). Always search tools first for current schemas.\"\nrisk: critical\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Mailchimp Automation via Rube MCP\n\nAutomate Mailchimp email marketing workflows including campaign creation and sending, audience\u002Flist management, subscriber operations, segmentation, and performance analytics through Composio's Mailchimp toolkit.\n\n## Prerequisites\n\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active Mailchimp connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `mailchimp`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n\n**Get Rube MCP**: Add `https:\u002F\u002Frube.app\u002Fmcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.\n\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `mailchimp`\n3. If connection is not ACTIVE, follow the returned auth link to complete Mailchimp OAuth\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. Create and Send Email Campaigns\n\n**When to use**: User wants to create, configure, test, and send an email campaign.\n\n**Tool sequence**:\n1. `MAILCHIMP_GET_LISTS_INFO` - List available audiences and get list_id [Prerequisite]\n2. `MAILCHIMP_ADD_CAMPAIGN` - Create a new campaign with type, audience, subject, from name [Required]\n3. `MAILCHIMP_SET_CAMPAIGN_CONTENT` - Set HTML content for the campaign [Required]\n4. `MAILCHIMP_SEND_TEST_EMAIL` - Send preview to reviewers before live send [Optional]\n5. `MAILCHIMP_SEND_CAMPAIGN` - Send the campaign immediately [Required]\n6. `MAILCHIMP_SCHEDULE_CAMPAIGN` - Schedule for future delivery instead of immediate send [Optional]\n\n**Key parameters for MAILCHIMP_ADD_CAMPAIGN**:\n- `type`: \"regular\", \"plaintext\", \"rss\", or \"variate\" (required)\n- `recipients__list__id`: Audience\u002Flist ID for recipients\n- `settings__subject__line`: Email subject line\n- `settings__from__name`: Sender display name\n- `settings__reply__to`: Reply-to email address (required for sending)\n- `settings__title`: Internal campaign title\n- `settings__preview__text`: Preview text shown in inbox\n\n**Key parameters for MAILCHIMP_SET_CAMPAIGN_CONTENT**:\n- `campaign_id`: Campaign ID from creation step (required)\n- `html`: Raw HTML content for the email\n- `plain_text`: Plain-text version (auto-generated if omitted)\n- `template__id`: Use a pre-built template instead of raw HTML\n\n**Pitfalls**:\n- `MAILCHIMP_SEND_CAMPAIGN` is irreversible; always send a test email first and get explicit user approval\n- Campaign must be in \"save\" (draft) status with valid audience, subject, from name, verified email, and content before sending\n- `MAILCHIMP_SCHEDULE_CAMPAIGN` requires a valid future datetime; past timestamps fail\n- Templates and HTML content must include compliant footer\u002Funsubscribe merge tags\n- Mailchimp uses double-underscore notation for nested params (e.g., `settings__subject__line`)\n\n### 2. Manage Audiences and Subscribers\n\n**When to use**: User wants to view audiences, list subscribers, or check subscriber details.\n\n**Tool sequence**:\n1. `MAILCHIMP_GET_LISTS_INFO` - List all audiences with member counts [Required]\n2. `MAILCHIMP_GET_LIST_INFO` - Get details for a specific audience [Optional]\n3. `MAILCHIMP_LIST_MEMBERS_INFO` - List members with status filter and pagination [Required]\n4. `MAILCHIMP_SEARCH_MEMBERS` - Search by email or name across lists [Optional]\n5. `MAILCHIMP_GET_MEMBER_INFO` - Get detailed profile for a specific subscriber [Optional]\n6. `MAILCHIMP_LIST_SEGMENTS` - List segments within an audience [Optional]\n\n**Key parameters for MAILCHIMP_LIST_MEMBERS_INFO**:\n- `list_id`: Audience ID (required)\n- `status`: \"subscribed\", \"unsubscribed\", \"cleaned\", \"pending\", \"transactional\", \"archived\"\n- `count`: Records per page (default 10, max 1000)\n- `offset`: Pagination offset (default 0)\n- `sort_field`: \"timestamp_opt\", \"timestamp_signup\", or \"last_changed\"\n- `fields`: Comma-separated list to limit response size\n\n**Pitfalls**:\n- `stats.avg_open_rate` and `stats.avg_click_rate` are 0-1 fractions, NOT 0-100 percentages\n- Always use `status=\"subscribed\"` to filter active subscribers; omitting returns all statuses\n- Must paginate using `count` and `offset` until collected members match `total_items`\n- Large list responses may be truncated; data is under `response.data.members`\n\n### 3. Add and Update Subscribers\n\n**When to use**: User wants to add new subscribers, update existing ones, or bulk-manage list membership.\n\n**Tool sequence**:\n1. `MAILCHIMP_GET_LIST_INFO` - Validate target audience exists [Prerequisite]\n2. `MAILCHIMP_SEARCH_MEMBERS` - Check if contact already exists [Optional]\n3. `MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER` - Upsert subscriber (create or update) [Required]\n4. `MAILCHIMP_ADD_MEMBER_TO_LIST` - Add new subscriber (create only) [Optional]\n5. `MAILCHIMP_BATCH_ADD_OR_REMOVE_MEMBERS` - Bulk manage segment membership [Optional]\n\n**Key parameters for MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER**:\n- `list_id`: Audience ID (required)\n- `subscriber_hash`: MD5 hash of lowercase email (required)\n- `email_address`: Subscriber email (required)\n- `status_if_new`: Status for new subscribers: \"subscribed\", \"pending\", etc. (required)\n- `status`: Status for existing subscribers\n- `merge_fields`: Object with merge tag keys (e.g., `{\"FNAME\": \"John\", \"LNAME\": \"Doe\"}`)\n- `tags`: Array of tag strings\n\n**Key parameters for MAILCHIMP_ADD_MEMBER_TO_LIST**:\n- `list_id`: Audience ID (required)\n- `email_address`: Subscriber email (required)\n- `status`: \"subscribed\", \"pending\", \"unsubscribed\", \"cleaned\", \"transactional\" (required)\n\n**Pitfalls**:\n- `subscriber_hash` must be MD5 of the **lowercase** email; incorrect casing causes 404s or duplicates\n- Use `MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER` (upsert) instead of `MAILCHIMP_ADD_MEMBER_TO_LIST` to avoid duplicate errors\n- `status_if_new` determines status only for new contacts; existing contacts use `status`\n- Use `skip_merge_validation: true` to bypass required merge field validation\n- `MAILCHIMP_BATCH_ADD_OR_REMOVE_MEMBERS` manages static segment membership, not list membership\n\n### 4. View Campaign Reports and Analytics\n\n**When to use**: User wants to review campaign performance, open rates, click rates, or subscriber engagement.\n\n**Tool sequence**:\n1. `MAILCHIMP_LIST_CAMPAIGNS` - List sent campaigns with report summaries [Required]\n2. `MAILCHIMP_SEARCH_CAMPAIGNS` - Find campaigns by name, subject, or content [Optional]\n3. `MAILCHIMP_GET_CAMPAIGN_REPORT` - Get detailed performance report for a campaign [Required]\n4. `MAILCHIMP_LIST_CAMPAIGN_REPORTS` - Bulk fetch reports across multiple campaigns [Optional]\n5. `MAILCHIMP_LIST_CAMPAIGN_DETAILS` - Get link-level click statistics [Optional]\n6. `MAILCHIMP_GET_CAMPAIGN_LINK_DETAILS` - Drill into specific link click data [Optional]\n7. `MAILCHIMP_LIST_CLICKED_LINK_SUBSCRIBERS` - See who clicked a specific link [Optional]\n8. `MAILCHIMP_GET_SUBSCRIBER_EMAIL_ACTIVITY` - Get per-subscriber campaign activity [Optional]\n9. `MAILCHIMP_GET_CAMPAIGN_CONTENT` - Retrieve campaign HTML content [Optional]\n\n**Key parameters for MAILCHIMP_LIST_CAMPAIGNS**:\n- `status`: \"save\", \"paused\", \"schedule\", \"sending\", \"sent\"\n- `count` \u002F `offset`: Pagination (default 10, max 1000)\n- `since_send_time` \u002F `before_send_time`: ISO 8601 date range filter\n- `sort_field`: \"create_time\" or \"send_time\"\n- `fields`: Limit response fields for performance\n\n**Key parameters for MAILCHIMP_GET_CAMPAIGN_REPORT**:\n- `campaign_id`: Campaign ID (required)\n- Returns: opens, clicks, bounces, unsubscribes, timeseries, industry_stats\n\n**Pitfalls**:\n- `MAILCHIMP_LIST_CAMPAIGNS` only returns high-level `report_summary`; use `MAILCHIMP_GET_CAMPAIGN_REPORT` for detailed metrics\n- Draft\u002Funsent campaigns lack meaningful report data\n- When using `fields` parameter on LIST_CAMPAIGNS, explicitly request `send_time` and `report_summary` subfields\n- Pagination defaults are low (10 records); iterate with `count` and `offset` until `total_items` is covered\n- `send_time` is ISO 8601 with timezone; parse carefully\n\n## Common Patterns\n\n### ID Resolution\nAlways resolve names to IDs before operations:\n- **Audience name -> list_id**: `MAILCHIMP_GET_LISTS_INFO` and match by name\n- **Subscriber email -> subscriber_hash**: Compute MD5 of lowercase email in code\n- **Campaign name -> campaign_id**: `MAILCHIMP_SEARCH_CAMPAIGNS` with query\n- **Segment name -> segment_id**: `MAILCHIMP_LIST_SEGMENTS` with list_id\n\n### Pagination\nMailchimp uses offset-based pagination:\n- Use `count` (page size, max 1000) and `offset` (skip N records)\n- Continue until collected records match `total_items` from the response\n- Default `count` is 10; always set explicitly for bulk operations\n- Search endpoints max at 10 pages (300 results for 30\u002Fpage)\n\n### Subscriber Hash\nMany endpoints require `subscriber_hash` (MD5 of lowercase email):\n```\nimport hashlib\nsubscriber_hash = hashlib.md5(email.lower().encode()).hexdigest()\n```\n\n## Known Pitfalls\n\n### ID Formats\n- `list_id` (audience ID) is a short alphanumeric string (e.g., \"abc123def4\")\n- `campaign_id` is an alphanumeric string\n- `subscriber_hash` is an MD5 hex string (32 characters)\n- Segment IDs are integers\n\n### Rate Limits\n- Mailchimp enforces API rate limits; use batching for bulk subscriber operations\n- High-volume use of GET_MEMBER_INFO and ADD_OR_UPDATE_LIST_MEMBER can trigger throttling\n- Use `MAILCHIMP_BATCH_ADD_OR_REMOVE_MEMBERS` for bulk segment operations\n\n### Parameter Quirks\n- Nested parameters use double-underscore notation: `settings__subject__line`, `recipients__list__id`\n- `avg_open_rate` and `avg_click_rate` are 0-1 fractions, not percentages\n- `status_if_new` only applies to new contacts in upsert operations\n- `subscriber_hash` must be MD5 of lowercase email; wrong casing creates phantom records\n- Campaign `type` is required for creation; most common is \"regular\"\n- `MAILCHIMP_SEND_CAMPAIGN` returns HTTP 204 on success (no body)\n\n### Content and Compliance\n- Campaign HTML must include unsubscribe link and physical address (merge tags)\n- Content must be set via `MAILCHIMP_SET_CAMPAIGN_CONTENT` before sending\n- Test emails require campaign to have content already set\n\n## Quick Reference\n\n| Task | Tool Slug | Key Params |\n|------|-----------|------------|\n| List audiences | `MAILCHIMP_GET_LISTS_INFO` | `count`, `offset` |\n| Get audience details | `MAILCHIMP_GET_LIST_INFO` | `list_id` |\n| Create campaign | `MAILCHIMP_ADD_CAMPAIGN` | `type`, `recipients__list__id`, `settings__subject__line` |\n| Set campaign content | `MAILCHIMP_SET_CAMPAIGN_CONTENT` | `campaign_id`, `html` |\n| Send test email | `MAILCHIMP_SEND_TEST_EMAIL` | `campaign_id`, `test_emails` |\n| Send campaign | `MAILCHIMP_SEND_CAMPAIGN` | `campaign_id` |\n| Schedule campaign | `MAILCHIMP_SCHEDULE_CAMPAIGN` | `campaign_id`, `schedule_time` |\n| Get campaign info | `MAILCHIMP_GET_CAMPAIGN_INFO` | `campaign_id` |\n| Search campaigns | `MAILCHIMP_SEARCH_CAMPAIGNS` | `query` |\n| List campaigns | `MAILCHIMP_LIST_CAMPAIGNS` | `status`, `count`, `offset` |\n| Replicate campaign | `MAILCHIMP_REPLICATE_CAMPAIGN` | `campaign_id` |\n| List subscribers | `MAILCHIMP_LIST_MEMBERS_INFO` | `list_id`, `status`, `count`, `offset` |\n| Search members | `MAILCHIMP_SEARCH_MEMBERS` | `query`, `list_id` |\n| Get member info | `MAILCHIMP_GET_MEMBER_INFO` | `list_id`, `subscriber_hash` |\n| Add subscriber | `MAILCHIMP_ADD_MEMBER_TO_LIST` | `list_id`, `email_address`, `status` |\n| Upsert subscriber | `MAILCHIMP_ADD_OR_UPDATE_LIST_MEMBER` | `list_id`, `subscriber_hash`, `email_address`, `status_if_new` |\n| Batch members | `MAILCHIMP_BATCH_ADD_OR_REMOVE_MEMBERS` | `list_id`, `segment_id` |\n| List segments | `MAILCHIMP_LIST_SEGMENTS` | `list_id` |\n| Campaign report | `MAILCHIMP_GET_CAMPAIGN_REPORT` | `campaign_id` |\n| All reports | `MAILCHIMP_LIST_CAMPAIGN_REPORTS` | `count`, `offset` |\n| Link click details | `MAILCHIMP_LIST_CAMPAIGN_DETAILS` | `campaign_id`, `count` |\n| Subscriber activity | `MAILCHIMP_GET_SUBSCRIBER_EMAIL_ACTIVITY` | `campaign_id`, `subscriber_hash` |\n| Member recent activity | `MAILCHIMP_VIEW_RECENT_ACTIVITY` | `list_id`, `subscriber_hash` |\n| Campaign content | `MAILCHIMP_GET_CAMPAIGN_CONTENT` | `campaign_id` |\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,73,1101,"2026-05-16 13:27:31",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"效率工具","productivity","mdi-lightning-bolt-outline","文档处理、数据分析、自动化工作流",4,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"自动化","automation","mdi-robot-outline","工作流自动化、批处理",3,101,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"f1c3b374-9fd4-4d30-b9d5-672dcaea7f76","1.0.0","mailchimp-automation.zip",4510,"uploads\u002Fskills\u002F3cb28909-72cc-4d78-9ae2-5e80fd9bf19b\u002Fmailchimp-automation.zip","ce9418e324e3d91e6c27b1dceeb530c3f3e2590b97d7365ea2b9213df31431d9","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":12869}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]