{"data":{"slug":"github-composiohq-awesome-claude-skills-composio-skills-lemlist-automation-061afb97538d","title":"Lemlist Campaign Automation","summary":"Automate Lemlist multichannel outreach workflows including campaign management, lead enrollment, personalization, and unsubscribes via Composio MCP integration.","url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-lemlist-automation-061afb97538d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-composiohq-awesome-claude-skills-composio-skills-lemlist-automation-061afb97538d","markdown_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-lemlist-automation-061afb97538d.md","download_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-lemlist-automation-061afb97538d\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before using the Lemlist Automation tool, ensure the Composio MCP server is added to your client at `https:\/\/rube.app\/mcp` and your Lemlist account is connected using API key authentication.","instructions":"---\nname: Lemlist Automation\ndescription: \"Automate Lemlist multichannel outreach -- manage campaigns, enroll leads, add personalization variables, export campaign data, and handle unsubscribes via the Composio MCP integration.\"\nrequires:\n  mcp:\n    - rube\n---\n\n# Lemlist Automation\n\nAutomate your Lemlist multichannel outreach workflows -- manage campaigns, enroll leads at scale, enrich with custom variables, export campaign data, and clean up unsubscribes.\n\n**Toolkit docs:** [composio.dev\/toolkits\/lemlist](https:\/\/composio.dev\/toolkits\/lemlist)\n\n---\n\n## Setup\n\n1. Add the Composio MCP server to your client: `https:\/\/rube.app\/mcp`\n2. Connect your Lemlist account when prompted (API key authentication)\n3. Start using the workflows below\n\n---\n\n## Core Workflows\n\n### 1. List and Discover Campaigns\n\nUse `LEMLIST_GET_LIST_CAMPAIGNS` to enumerate all campaigns by status, with pagination support.\n\n```\nTool: LEMLIST_GET_LIST_CAMPAIGNS\nInputs:\n  - status: \"running\" | \"draft\" | \"archived\" | \"ended\" | \"paused\" | \"errors\" (optional)\n  - limit: integer (max 100, default 100)\n  - offset: integer (pagination offset)\n  - sortBy: \"createdAt\"\n  - sortOrder: \"asc\" | \"desc\"\n```\n\n**Important:** The response may be wrapped as `{campaigns: [...], pagination: {...}}` instead of a flat list. Always extract from the `campaigns` key.\n\n### 2. Get Campaign Details\n\nUse `LEMLIST_GET_CAMPAIGN_BY_ID` to validate campaign configuration before writes.\n\n```\nTool: LEMLIST_GET_CAMPAIGN_BY_ID\nInputs:\n  - campaignId: string (required) -- e.g., \"cam_A1B2C3D4E5F6G7H8I9\"\n```\n\n### 3. Enroll Leads into a Campaign\n\nUse `LEMLIST_POST_CREATE_LEAD_IN_CAMPAIGN` to add leads with optional email finding, phone lookup, and LinkedIn enrichment.\n\n```\nTool: LEMLIST_POST_CREATE_LEAD_IN_CAMPAIGN\nInputs:\n  - campaignId: string (required)\n  - email: string (required)\n  - firstName, lastName, companyName, companyDomain: string (optional)\n  - jobTitle, phone, linkedinUrl, icebreaker: string (optional)\n  - deduplicate: boolean (prevents cross-campaign duplicates)\n  - findEmail, findPhone, verifyEmail, linkedinEnrichment: boolean (optional)\n  - timezone: string (IANA format, e.g., \"America\/New_York\")\n```\n\n**Bulk pattern:** Chunk leads into batches of ~50 and checkpoint progress between batches.\n\n### 4. Add Custom Variables to a Lead\n\nUse `LEMLIST_POST_ADD_VARIABLES_TO_LEAD` to enrich leads with personalization fields after enrollment.\n\n```\nTool: LEMLIST_POST_ADD_VARIABLES_TO_LEAD\nInputs:\n  - leadId: string (required) -- internal Lemlist lead ID (NOT email)\n  - company: string (required) -- must match your company name in Lemlist\n  - variables: object (required) -- key-value pairs, e.g., {\"score\": \"42\", \"color\": \"yellow\"}\n```\n\n**Important:** This is NOT an upsert -- attempting to add variables that already exist will fail. Resolve the internal `leadId` via `LEMLIST_GET_RETRIEVE_LEAD_BY_EMAIL` if you only have the email address.\n\n### 5. Export Campaign Leads\n\nUse `LEMLIST_GET_EXPORT_CAMPAIGN_LEADS` to download leads with state filtering for reporting or QA.\n\n```\nTool: LEMLIST_GET_EXPORT_CAMPAIGN_LEADS\nInputs:\n  - campaignId: string (required)\n  - (supports state filtering and JSON\/CSV output)\n```\n\n### 6. Unsubscribe Lead from Campaign\n\nUse `LEMLIST_DELETE_UNSUBSCRIBE_LEAD_FROM_CAMPAIGN` to stop outreach by removing a lead from a campaign.\n\n```\nTool: LEMLIST_DELETE_UNSUBSCRIBE_LEAD_FROM_CAMPAIGN\nInputs:\n  - campaignId: string (required)\n  - leadId or email: string (required)\n```\n\n---\n\n## Known Pitfalls\n\n| Pitfall | Detail |\n|---------|--------|\n| Wrapped campaign list | `LEMLIST_GET_LIST_CAMPAIGNS` may return `{campaigns: [...], pagination: {...}}` instead of a flat array. Always extract from the `campaigns` key. |\n| Cross-campaign deduplication | `LEMLIST_POST_CREATE_LEAD_IN_CAMPAIGN` with deduplication enabled fails with HTTP 500 \"Lead already in other campaign\" -- disable deduplication for intentional cross-campaign enrollment. |\n| Bulk import failures | Chunk bulk imports to ~50 per batch with checkpoints to avoid losing partial progress on intermittent failures. |\n| Invalid leadId | `LEMLIST_POST_ADD_VARIABLES_TO_LEAD` returns HTTP 400 \"Invalid leadId\" when using an email as the leadId -- resolve the internal ID via `LEMLIST_GET_RETRIEVE_LEAD_BY_EMAIL` first. |\n| Variable collisions | `LEMLIST_POST_ADD_VARIABLES_TO_LEAD` is not an upsert. Adding keys that already exist returns HTTP 400 \"Variables X already exist\". |\n\n---\n\n## Quick Reference\n\n| Tool Slug | Description |\n|-----------|-------------|\n| `LEMLIST_GET_LIST_CAMPAIGNS` | List all campaigns with status filter and pagination |\n| `LEMLIST_GET_CAMPAIGN_BY_ID` | Get detailed campaign info by ID |\n| `LEMLIST_POST_CREATE_LEAD_IN_CAMPAIGN` | Create and enroll a lead into a campaign |\n| `LEMLIST_POST_ADD_VARIABLES_TO_LEAD` | Add custom personalization variables to a lead |\n| `LEMLIST_GET_RETRIEVE_LEAD_BY_EMAIL` | Look up a lead by email address |\n| `LEMLIST_GET_EXPORT_CAMPAIGN_LEADS` | Export leads from a campaign with state filtering |\n| `LEMLIST_DELETE_UNSUBSCRIBE_LEAD_FROM_CAMPAIGN` | Remove a lead from a campaign |\n\n---\n\n*Powered by [Composio](https:\/\/composio.dev)*\n","use_cases":["Enroll leads into campaigns with email finding and LinkedIn enrichment","Add custom variables to personalize outreach","Export campaign leads for reporting","Unsubscribe leads from campaigns"],"limitations":[],"compatibility":[],"setup_tip":"1. Add the Composio MCP server to your client: `https:\/\/rube.app\/mcp`\n2. Connect your Lemlist account when prompted (API key authentication)\n3. Start using the workflows below\n\n---","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ComposioHQ\/awesome-claude-skills\/blob\/be2a406907dbc61b73e6827ded415c96139d13a2\/composio-skills\/lemlist-automation\/SKILL.md","source_commit":"be2a406907dbc61b73e6827ded415c96139d13a2","license":null,"version":null,"listing_approved_at":"2026-11-20","created_at":"2026-11-20T07:51:39.000000Z","updated_at":"2026-11-20T20:15:47.000000Z","seo_title":"Lemlist Campaign Automation Tool","seo_description":"Automate Lemlist outreach with campaign management, lead enrollment, and unsubscribes via Composio MCP integration.","seo_keywords":["Lemlist campaign automation","Composio MCP integration","Lead enrollment automation","Campaign lead export","Unsubscribe lead from campaign"]}}