AutomationFlowsAI & RAG › AI Sales Agent — Fully Automated Email Handling & Lead Scoring System

AI Sales Agent — Fully Automated Email Handling & Lead Scoring System

ByEvervise @evervise on n8n.io

This workflow acts as a 24/7 intelligent sales assistant that not only sends personalized cold emails but also reads and interprets replies, updates your CRM, and even writes contextual responses — just like a real sales rep would. Ideal for founders, growth teams, and agencies…

Cron / scheduled trigger★★★★★ complexityAI-powered77 nodesNoco DbOpenAIHTTP RequestGmail TriggerGmailSend In Blue Trigger
AI & RAG Trigger: Cron / scheduled Nodes: 77 Complexity: ★★★★★ AI nodes: yes Added:

This workflow corresponds to n8n.io template #10128 — we link there as the canonical source.

This workflow follows the Gmail → Gmail Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "id": "118f0264-6461-4908-a975-592d16ed3636",
      "name": "Find Lead by Email",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2576,
        -368
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "5befd791-b40e-4718-841f-580e6daa2e8b",
      "name": "AI Intent Classification",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2336,
        -368
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "5abb9288-d712-4d7e-8db5-a35f28f9f783",
      "name": "Create Manual Review",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -816,
        -432
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c1fef333-d6ab-4ab7-a3ed-c70a07c98296",
      "name": "Generate AI Response",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1568,
        0
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "75969f05-6f9f-4b79-8eca-53fe54ffd141",
      "name": "Natural Response Delay",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1248,
        0
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1f900d82-bbab-4afd-875f-d1ff6df201bb",
      "name": "Log Interaction",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -848,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d7133b31-910f-4a52-9f18-a907cb459d31",
      "name": "Update Lead Score",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -656,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6ca4b99e-0b72-4e85-8f1e-1ea0812ac8cb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        -448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7c05e34e-ec1f-4e3e-9b9f-175219ec8c30",
      "name": "Parse Event Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -320,
        -1568
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b771526f-3e51-45ae-80b7-1441239340f6",
      "name": "Find Lead",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -144,
        -1568
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "5eae4fe2-228a-4bb0-a870-2e71b350ecbb",
      "name": "Lead Found?",
      "type": "n8n-nodes-base.if",
      "position": [
        32,
        -1568
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cecb3647-e99a-4b0b-90d2-459b75e71ef1",
      "name": "Log Engagement Event",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        256,
        -1840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "54bc035f-1aeb-48c3-8c5f-49607d079316",
      "name": "Calculate Score Update",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        -1840
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "166fd639-ee7b-4418-9f62-a4bb856c2c8d",
      "name": "Update Lead Engagement",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        608,
        -1840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b77889b4-3540-498f-8110-372a3e516a71",
      "name": "Special Action Needed?",
      "type": "n8n-nodes-base.if",
      "position": [
        784,
        -1840
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0d74353b-55d4-41c9-b3bb-3e5e35895225",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de8bdd41-addd-48f1-b77c-17ce6f176bd2",
      "name": "Daily Trigger",
      "type": "n8n-nodes-base.cron",
      "position": [
        -304,
        -352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "da06f4a9-9fe0-4530-a9ab-cca5d1d91594",
      "name": "Get All Active Leads",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -288,
        -48
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "977da414-4801-4292-af89-ab4e7740b8f1",
      "name": "Process in Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -16,
        -336
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d45100b6-6db4-44f0-982c-697886cb4c0a",
      "name": "Calculate Score Decay",
      "type": "n8n-nodes-base.code",
      "position": [
        272,
        -112
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "42924864-f69a-454e-9154-e511b6654190",
      "name": "Update Lead Scores",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        448,
        -112
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e8877f47-3c83-4431-80bc-e5caf3dc7668",
      "name": "Needs Re-engagement?",
      "type": "n8n-nodes-base.if",
      "position": [
        720,
        -112
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6a775921-bc1b-48b4-8df6-148deb51ef3b",
      "name": "Schedule Re-engagement",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1072,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "fb370e3d-de13-43ee-8476-805a5eec599f",
      "name": "Generate Analytics Report",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        -352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "05f0d542-b2e8-4b0e-a9ad-fda9f004e37d",
      "name": "Store Analytics",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1088,
        -352
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "aa4b5d49-bd14-49f6-a204-e38068f862ad",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "25037919-1fb1-4e18-b7ba-1f29e554be81",
      "name": "Hourly Trigger",
      "type": "n8n-nodes-base.cron",
      "position": [
        -2784,
        -1904
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "16cf06e6-9ea9-471a-8cd6-c11e03f518c8",
      "name": "Generate Personalized Email",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1168,
        -1904
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "563e10fa-1b45-4737-b0aa-7c2c3b82e3d7",
      "name": "Get Product Info",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2176,
        -1792
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "2ea7fb48-7276-4c22-bb86-bbbb8bed6636",
      "name": "Log Outreach",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -624,
        -1904
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "52f4ee1a-d8e6-4566-85c3-44abddc26692",
      "name": "Update Lead Status",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -640,
        -1472
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "3219177f-bba5-4508-8230-25f779134b51",
      "name": "Get Top 10 Leads",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2640,
        -1904
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "cfe797a5-76d6-457f-a7bf-1bc31c1daf48",
      "name": "All Products",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1936,
        -1792
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3db5e067-2525-4483-8868-532974868dc9",
      "name": "Send Initial Outreach Email",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        -864,
        -1904
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "62086565-96c7-4825-ad59-8bd2be126041",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2832,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5c4e571-1262-4a7d-b314-3f2ccc1550b4",
      "name": "Gmail Webhook",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -2704,
        80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c62a4ca9-5567-4b7e-b51a-c4a4fa788b2d",
      "name": "Send AI Response",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1056,
        0
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "82264f96-30ba-47bb-b215-26e57006df04",
      "name": "Notify Sales Team",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -640,
        -432
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "29c3a767-0ce1-4786-a0d3-267fe7a0277d",
      "name": "Get All Products",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2448,
        112
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e6ca55d6-894e-49fe-b9b5-10358f7ab34a",
      "name": "Aggregated Products",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -2112,
        112
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fee75654-96dd-4f80-af8a-93bdfa552bd6",
      "name": "Brevo Event",
      "type": "n8n-nodes-base.sendInBlueTrigger",
      "position": [
        -336,
        -1840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cfbdd2f2-fabd-409f-97a5-56e2286368e3",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        880,
        -352
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a2e388b5-b0eb-4724-8625-37e3d7a53cc4",
      "name": "Delete a row",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1024,
        -1856
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "78ca4686-92c0-41ec-bdf8-2ceef8ce565f",
      "name": "Parse Response Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -2752,
        -352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9d7a1473-0f08-42b3-9ed5-1f9034df6930",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1504,
        -1904
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e34cb3b7-9527-4a3f-930b-b28dfc912113",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1664,
        -1920
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "9f941464-f81b-450e-99b6-0aeba9564da9",
      "name": "Set Outreach Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        -1360,
        -1904
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1966ccf0-25ae-4801-9a0d-19716cf18080",
      "name": "Loop Over Leads",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -2672,
        -1568
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "917f43a8-fbbe-49d0-8b74-5898d7779ae2",
      "name": "Get Previous Correspondance",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2176,
        -1584
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "da0f4c85-ee34-4947-a663-969b6c346b7e",
      "name": "All Correspondance",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1936,
        -1584
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d183ebed-3bcd-4bc3-8200-d2002a7102fa",
      "name": "Collect All Results",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        288,
        -352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e75a6c4d-7a86-40c9-b9e8-1b9a4d255ed4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -2288
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2811c2ff-5e6a-4be7-a40d-b855a7c62ef5",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2784,
        -2720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0da28371-60f1-4d5d-9666-c05d38af5eb6",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        -912
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6900ab75-f4f4-4c9f-b9ce-62548fb532fe",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        -2304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e203848c-6b65-48dc-9de4-eec580b409d2",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -864
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "85be2bbe-cd81-4626-9869-857faff50391",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3824,
        -2736
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2df96186-249f-4534-8941-ba66ae5b4e3a",
      "name": "Get Current Template",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2176,
        -1952
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "833e54ef-bbc4-456c-9273-2b93dd8531ba",
      "name": "Current Template",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1936,
        -1952
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "307c0aad-fdc3-4ffa-ae91-cb6df8a81ab8",
      "name": "Get Previous Exchange",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2336,
        -80
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d5ef9b05-74a4-49c6-a1ab-440514385da1",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1888,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "a697b597-b72a-4e90-8414-099a72137151",
      "name": "Aggregate For Response",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1728,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2df3303a-bb0b-429f-a882-93b56c3f54b1",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5088,
        -2736
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4bb01778-9eec-4eb9-9c66-b44c8f9a7970",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3280,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "28dd82ab-ca00-47e0-9c33-41b6a26cfcc0",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3280,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "837b89db-4525-4058-a9fb-bf2a6306ed47",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1808,
        -880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c1cd97cc-3e8f-42e6-90ea-8c9971b05a2b",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2224,
        -2208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6821b60a-d9e1-41b6-9b00-3ac19fa23d2e",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1680,
        -2224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de0c7f7c-1668-4be8-8926-02f28499f643",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2800,
        -2272
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ea225795-89e2-447f-9c88-24804ab92bbd",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3ae9ec7e-0d86-49ed-88ce-76fe1731303a",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        336
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0478814-c477-458b-9402-c123b7c32be8",
      "name": "Route By Response Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1968,
        -416
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "2188f7c0-b925-41e9-8d64-36563202cfd5",
      "name": "All Exchanges",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -2112,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c7c33b0a-61b0-4cef-b540-c7fc4ec8e52c",
      "name": "Lead Unsubscribed",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -816,
        -256
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "940882cb-20b7-4297-b654-6590e7502bab",
      "name": "Lead Pending Review",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -1072,
        -432
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "86c8d143-ac9f-4c57-9c8a-8998348b6a0e",
      "name": "Lead Out Of Office",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -1568,
        -272
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "1c537d95-2525-4a00-8c49-c74446a12c62",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -1840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Aggregate For Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Set Outreach Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Lead": {
      "main": [
        [
          {
            "node": "Lead Found?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Brevo Event": {
      "main": [
        [
          {
            "node": "Parse Event Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Found?": {
      "main": [
        [
          {
            "node": "Log Engagement Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Products": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Log Outreach": {
      "main": [
        [
          {
            "node": "Update Lead Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Exchanges": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "Get All Active Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Webhook": {
      "main": [
        [
          {
            "node": "Parse Response Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hourly Trigger": {
      "main": [
        [
          {
            "node": "Get Top 10 Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Store Analytics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Interaction": {
      "main": [
        [
          {
            "node": "Update Lead Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Leads": {
      "main": [
        [],
        [
          {
            "node": "Get Product Info",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Previous Correspondance",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Current Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Current Template": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Products": {
      "main": [
        [
          {
            "node": "Aggregated Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Product Info": {
      "main": [
        [
          {
            "node": "All Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Top 10 Leads": {
      "main": [
        [
          {
            "node": "Loop Over Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Event Data": {
      "main": [
        [
          {
            "node": "Find Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send AI Response": {
      "main": [
        [
          {
            "node": "Log Interaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Correspondance": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Find Lead by Email": {
      "main": [
        [
          {
            "node": "AI Intent Classification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process in Batches": {
      "main": [
        [
          {
            "node": "Collect All Results",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Calculate Score Decay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead Scores": {
      "main": [
        [
          {
            "node": "Needs Re-engagement?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead Status": {
      "main": [
        [
          {
            "node": "Loop Over Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregated Products": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Collect All Results": {
      "main": [
        [
          {
            "node": "Generate Analytics Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Pending Review": {
      "main": [
        [
          {
            "node": "Create Manual Review",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Response Data": {
      "main": [
        [
          {
            "node": "Find Lead by Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Manual Review": {
      "main": [
        [
          {
            "node": "Notify Sales Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Response": {
      "main": [
        [
          {
            "node": "Natural Response Delay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Active Leads": {
      "main": [
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Template": {
      "main": [
        [
          {
            "node": "Current Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Engagement Event": {
      "main": [
        [
          {
            "node": "Calculate Score Update",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Needs Re-engagement?": {
      "main": [
        [
          {
            "node": "Schedule Re-engagement",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Score Decay": {
      "main": [
        [
          {
            "node": "Update Lead Scores",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Previous Exchange": {
      "main": [
        [
          {
            "node": "All Exchanges",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate For Response": {
      "main": [
        [
          {
            "node": "Generate AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Score Update": {
      "main": [
        [
          {
            "node": "Update Lead Engagement",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Natural Response Delay": {
      "main": [
        [
          {
            "node": "Send AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route By Response Type": {
      "main": [
        [
          {
            "node": "Lead Pending Review",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Lead Unsubscribed",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Lead Out Of Office",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Previous Exchange",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get All Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Re-engagement": {
      "main": [
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Outreach Variables": {
      "main": [
        [
          {
            "node": "Generate Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Special Action Needed?": {
      "main": [
        [
          {
            "node": "Delete a row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead Engagement": {
      "main": [
        [
          {
            "node": "Special Action Needed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Intent Classification": {
      "main": [
        [
          {
            "node": "Route By Response Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Analytics Report": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Personalized Email": {
      "main": [
        [
          {
            "node": "Send Initial Outreach Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Previous Correspondance": {
      "main": [
        [
          {
            "node": "All Correspondance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Initial Outreach Email": {
      "main": [
        [
          {
            "node": "Log Outreach",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

How this works

This workflow acts as a round-the-clock sales assistant that handles cold outreach, reads incoming replies, scores leads in your CRM, and drafts contextual follow-ups. Founders, growth teams, and agencies use it to keep pipelines moving without constant manual oversight. It pulls lead data from nocoDb, classifies intent with OpenAI, and then either updates the record or creates a review task.

Use it for steady-volume outreach where replies need quick, consistent handling and scoring. Skip it if your sales process requires heavy personalisation beyond AI drafting or if you prefer direct human oversight on every lead. A common variation replaces the cron trigger with a Gmail trigger for reply-driven flows.

About this workflow

This workflow acts as a 24/7 intelligent sales assistant that not only sends personalized cold emails but also reads and interprets replies, updates your CRM, and even writes contextual responses — just like a real sales rep would. Ideal for founders, growth teams, and agencies…

Source: https://n8n.io/workflows/10128/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow automates the creation, rendering, approval, and posting of TikTok-style POV (Point of View) videos to Instagram, with cross-posting to Facebook and YouTube. It eliminates manual video p

OpenAI Chat, Output Parser Item List, HTTP Request +10
AI & RAG

This workflow automates customer outreach for marketing campaigns, including customer prioritization, AI-generated emails, automated sending, reply tracking, and meeting scheduling. Data Synchronizati

Agent, Data Table, OpenAI Chat +6
AI & RAG

This workflow automates the process of generating, reviewing, and publishing blog posts across multiple platforms, now enhanced with support for RSS Feeds as a content source. It streamlines the manag

HTTP Request, Html Extract, RSS Feed Read +9
AI & RAG

This n8n template shows you how to turn outbound sales into a fully automated machine: scrape verified leads, research them with AI, and fire off personalized cold emails while you sleep.

OpenAI Chat, HTTP Request, Google Sheets +5
AI & RAG

This n8n workflow automatically generates AI-powered content about local news and publishes it across multiple social media platforms. The workflow runs on a schedule, fetches the latest news about a

Edit Image, WordPress, HTTP Request +10