{
  "workflow": {
    "id": 5233,
    "name": "AI agents can create, enrich leads with this Lemlist tool MCP server",
    "views": 148,
    "recentViews": 0,
    "totalViews": 148,
    "createdAt": "2025-06-24T21:24:15.749Z",
    "description": "Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?\n\n[Join the community](https://www.skool.com/beyond-nodes-automation-lab-2006/about)\n\nComplete MCP server exposing all Lemlist Tool operations to AI agents. Zero configuration needed - all 15 operations pre-built.\n\n## ⚡ Quick Setup\n\n1. **Import** this workflow into your n8n instance\n2. **Activate** the workflow to start your MCP server\n3. **Copy** the webhook URL from the MCP trigger node\n4. **Connect** AI agents using the MCP URL\n\n## 🔧 How it Works\n\n• **MCP Trigger**: Serves as your server endpoint for AI agent requests\n• **Tool Nodes**: Pre-configured for every Lemlist Tool operation\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Uses official n8n Lemlist Tool tool with full error handling\n\n## 📋 Available Operations (15 total)\n\nEvery possible Lemlist Tool operation is included:\n\n### 🔧 Activity (1 operations)\n\n• **Get many activities**\n\n### 📢 Campaign (2 operations)\n\n• **Get many campaigns**\n• **Get campaign stats**\n\n### 🔧 Enrich (3 operations)\n\n• **Fetches a previously completed enrichment**\n• **Enrich a lead using an email or LinkedIn URL**\n• **Enrich a person using an email or LinkedIn URL**\n\n### 🔧 Lead (4 operations)\n\n• **Create a lead**\n• **Delete a lead**\n• **Get a lead**\n• **Unsubscribe a lead**\n\n### 🔧 Team (2 operations)\n\n• **Get a team**\n• **Get team credits**\n\n### 🔧 Unsubscribe (3 operations)\n\n• **Add an email to an unsubscribe list**\n• **Delete an email from an unsubscribe list**\n• **Get many unsubscribed emails**\n\n## 🤖 AI Integration\n\n**Parameter Handling**: AI agents automatically provide values for:\n• Resource IDs and identifiers\n• Search queries and filters\n• Content and data payloads\n• Configuration options\n\n**Response Format**: Native Lemlist Tool API responses with full data structure\n\n**Error Handling**: Built-in n8n error management and retry logic\n\n## 💡 Usage Examples\n\nConnect this MCP server to any AI agent or workflow:\n\n• **Claude Desktop**: Add MCP server URL to configuration\n• **Custom AI Apps**: Use MCP URL as tool endpoint\n• **Other n8n Workflows**: Call MCP tools from any workflow\n• **API Integration**: Direct HTTP calls to MCP endpoints\n\n## ✨ Benefits\n\n• **Complete Coverage**: Every Lemlist Tool operation available\n• **Zero Setup**: No parameter mapping or configuration needed\n• **AI-Ready**: Built-in `$fromAI()` expressions for all parameters\n• **Production Ready**: Native n8n error handling and logging\n• **Extensible**: Easily modify or add custom logic\n\n&gt; 🆓 **[Free for community use](https://github.com/Cfomodz/community-use)!** Ready to deploy in under 2 minutes.",
    "workflow": {
      "id": "uVliKCXmDFSD2oW2",
      "meta": null,
      "name": "Lemlist Tool MCP Server",
      "tags": [],
      "nodes": [
        {
          "id": "00ea77c5-85b0-4c04-89c5-3d1f14835650",
          "name": "Workflow Overview 0",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1480,
            100
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "c456ec28-00a3-4430-9c71-ca9967782f1e",
          "name": "Lemlist Tool MCP Server",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -340,
            140
          ],
          "webhookId": "d7e77bad-6382-4b2b-826a-6c8c2ac04521",
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "a248f265-1cca-490d-8b07-09a11883931b",
          "name": "Get many activities",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -800,
            140
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "6f76df4a-f560-4a6c-ab6e-1503e4ea084d",
          "name": "Sticky Note 1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            120
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "af37bfa6-7a16-4e97-abdf-bb086c90f49e",
          "name": "Get many campaigns",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -800,
            380
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "bdf85bd1-604e-4d1a-803f-1b70c998e5b7",
          "name": "Get campaign stats",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -580,
            380
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "793e0763-adbe-4466-be9b-5a17653fab1e",
          "name": "Sticky Note 2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            360
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "c34dbedc-0d07-4ec0-800f-e94edb8d450d",
          "name": "Fetches a previously completed enrichment",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -800,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "a634767a-f804-4ad9-885f-15d77bf5d236",
          "name": "Enrich a lead using an email or LinkedIn URL",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -580,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "7ffdf5b6-499b-4f34-b484-78cdb74d4864",
          "name": "Enrich a person using an email or LinkedIn URL",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -360,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "0a768374-b0f1-4daf-a95f-7528acca1127",
          "name": "Sticky Note 3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            600
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "c96be52e-ecc4-49e7-a7ed-177a2b9e147a",
          "name": "Create a lead",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -800,
            860
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "c6b69cb0-7f8a-4a0d-a301-4d44453c0d30",
          "name": "Delete a lead",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -580,
            860
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "f287e645-74c3-4fc9-920b-6bc7d39fd5e9",
          "name": "Get a lead",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -360,
            860
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "45c17f0b-9b12-413c-8d76-efa748480064",
          "name": "Unsubscribe a lead",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -140,
            860
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "abcae69d-3c9f-4a9c-b9da-d8c9d6d094fa",
          "name": "Sticky Note 4",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            840
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "5f50ff11-ad13-4628-b59e-d072e990157c",
          "name": "Get a team",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -800,
            1100
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "7553939a-a51d-4b5c-b119-4700b06f0dca",
          "name": "Get team credits",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -580,
            1100
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "ac3890e7-2558-4e22-aaf7-7369827ee28b",
          "name": "Sticky Note 5",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            1080
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "1325248a-9f10-4fa4-aed4-4638562f6b81",
          "name": "Add an email to an unsubscribe list",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -800,
            1340
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "d053c270-3cbe-4ff1-9a51-dbb3d3472341",
          "name": "Delete an email from an unsubscribe list",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -580,
            1340
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "39a06b1d-ed60-402c-82f9-4ddf65c6f3a1",
          "name": "Get many unsubscribed emails",
          "type": "n8n-nodes-base.lemlistTool",
          "position": [
            -360,
            1340
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "f4f02b1e-9565-4c9e-9224-c141938d10cc",
          "name": "Sticky Note 6",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            1320
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        }
      ],
      "active": false,
      "shared": [
        {
          "role": "workflow:owner",
          "project": {
            "id": "G5fce9xGuBAsWBXe",
            "icon": null,
            "name": "David Ashby <david.ashby.lds@gmail.com>",
            "type": "personal",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "updatedAt": "2025-06-04T02:56:01.361Z",
            "projectRelations": [
              {
                "role": "project:personalOwner",
                "user": {
                  "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
                  "role": "global:owner",
                  "email": "david.ashby.lds@gmail.com",
                  "disabled": false,
                  "lastName": "Ashby",
                  "settings": {
                    "npsSurvey": {
                      "responded": true,
                      "lastShownAt": 1749357655581
                    },
                    "userActivated": true,
                    "userActivatedAt": 1749075994495,
                    "easyAIWorkflowOnboarded": true,
                    "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
                  },
                  "createdAt": "2025-06-04T02:55:01.745Z",
                  "firstName": "David",
                  "isPending": false,
                  "updatedAt": "2025-06-08T04:40:58.399Z",
                  "mfaEnabled": false,
                  "personalizationAnswers": {
                    "version": "v4",
                    "personalization_survey_n8n_version": "1.95.3",
                    "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
                  }
                },
                "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
                "createdAt": "2025-06-04T02:55:02.013Z",
                "projectId": "G5fce9xGuBAsWBXe",
                "updatedAt": "2025-06-04T02:55:02.013Z"
              }
            ]
          },
          "createdAt": "2025-06-24T16:16:00.631Z",
          "projectId": "G5fce9xGuBAsWBXe",
          "updatedAt": "2025-06-24T16:16:00.631Z",
          "workflowId": "uVliKCXmDFSD2oW2"
        }
      ],
      "pinData": {},
      "settings": {
        "timezone": "America/New_York"
      },
      "createdAt": "2025-06-24T16:16:00.630Z",
      "updatedAt": "2025-06-24T16:38:44.000Z",
      "versionId": "94517d65-e4e6-4a8c-84af-279e251dee95",
      "isArchived": false,
      "staticData": null,
      "connections": {
        "Get a lead": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get a team": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create a lead": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Delete a lead": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get team credits": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get campaign stats": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many campaigns": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Unsubscribe a lead": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many activities": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many unsubscribed emails": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Add an email to an unsubscribe list": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Delete an email from an unsubscribe list": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Fetches a previously completed enrichment": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Enrich a lead using an email or LinkedIn URL": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Enrich a person using an email or LinkedIn URL": {
          "ai_tool": [
            [
              {
                "node": "Lemlist Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      },
      "triggerCount": 0
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 23,
      "nodeTypes": {
        "n8n-nodes-base.stickyNote": {
          "count": 7
        },
        "n8n-nodes-base.lemlistTool": {
          "count": 15
        },
        "@n8n/n8n-nodes-langchain.mcpTrigger": {
          "count": 1
        }
      }
    },
    "status": "published",
    "user": {
      "name": "David Ashby",
      "username": "cfomodz",
      "bio": "Unlimited Access to my paid workflows 👇 For the cost of one a month",
      "verified": true,
      "links": [
        "https://www.skool.com/n8n-automation-lab"
      ],
      "avatar": "https://gravatar.com/avatar/0118796cfdab829a3307d407dfeeb01a3952eb402584a45a211e4ef7d15edbbf?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1293,
        "icon": "file:../mcp.svg",
        "name": "@n8n/n8n-nodes-langchain.mcpTrigger",
        "codex": {
          "data": {
            "alias": [
              "Model Context Protocol",
              "MCP Server"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcptrigger/"
                }
              ]
            },
            "categories": [
              "AI",
              "Core Nodes",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Root Nodes",
                "Model Context Protocol"
              ],
              "Core Nodes": [
                "Other Trigger Nodes"
              ]
            }
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "MCP Server Trigger"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDE5NSAxOTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cgk8ZyBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+CgkJPHBhdGggZD0iTTI1IDk3Ljg1MjhMOTIuODgyMyAyOS45NzA2QzEwMi4yNTUgMjAuNTk4IDExNy40NTEgMjAuNTk4IDEyNi44MjMgMjkuOTcwNlYyOS45NzA2QzEzNi4xOTYgMzkuMzQzMSAxMzYuMTk2IDU0LjUzOTEgMTI2LjgyMyA2My45MTE3TDc1LjU1ODEgMTE1LjE3NyIvPgoJCTxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiLz4KCQk8cGF0aCBkPSJNMTA5Ljg1MyA0Ni45NDExTDU5LjY0ODIgOTcuMTQ1N0M1MC4yNzU3IDEwNi41MTggNTAuMjc1NyAxMjEuNzE0IDU5LjY0ODIgMTMxLjA4N1YxMzEuMDg3QzY5LjAyMDggMTQwLjQ1OSA4NC4yMTY4IDE0MC40NTkgOTMuNTg5NCAxMzEuMDg3TDE0My43OTQgODAuODgyMiIvPgoJPC9nPgo8L3N2Zz4K"
        },
        "displayName": "MCP Server Trigger",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          },
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 37,
        "name": "Lead Generation"
      },
      {
        "id": 48,
        "name": "AI RAG"
      }
    ],
    "image": []
  }
}