This workflow corresponds to n8n.io template #8182 — we link there as the canonical source.
This workflow follows the Agent → Airtable 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 →
{
"id": "Mesp1QdbiOG6i0RM",
"meta": {
"templateId": "2324",
"templateCredsSetupCompleted": true
},
"name": "Sale-Leads-Jina-to-Gmail",
"tags": [
{
"id": "7pJlw7HV4Rg9tAKm",
"name": "Template",
"createdAt": "2025-03-18T18:15:54.900Z",
"updatedAt": "2025-03-18T18:15:54.900Z"
},
{
"id": "tzXZvyo12i9wx3d2",
"name": "Working",
"createdAt": "2025-03-18T22:31:07.779Z",
"updatedAt": "2025-03-18T22:31:07.779Z"
}
],
"nodes": [
{
"id": "e033e4f3-5f06-4318-8c5f-3166acf7e375",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1312,
240
],
"parameters": {},
"typeVersion": 3
},
{
"id": "96458c3c-4e14-4ee7-b879-b8968b36b0d7",
"name": "Lead Person Research",
"type": "n8n-nodes-base.httpRequest",
"position": [
1632,
416
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "d0f5a495-c306-4d84-aa7e-aa43f89ec070",
"name": "Lead Analyzer",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2112,
368
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "c6d61b1b-fbc0-45c3-9b0c-ef4b21ec36f4",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
2272,
592
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e3f72ed2-0371-4334-8786-996735e4be66",
"name": "Structured Output Parser3",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
2928,
592
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "fb423c71-2b96-4b88-93fd-e4cb54243aa9",
"name": "Email Content Creator",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2768,
368
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "5e1090d7-d162-48af-bbdc-9f4f16935af1",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"disabled": true,
"position": [
-992,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5761e8cc-6c76-47e4-989b-7ad69851ee81",
"name": "Merge-Search",
"type": "n8n-nodes-base.merge",
"position": [
1824,
368
],
"parameters": {},
"typeVersion": 3
},
{
"id": "6e72703c-d957-4764-8f8c-78cbb3e07d97",
"name": "Wait-5-sec",
"type": "n8n-nodes-base.wait",
"position": [
2528,
368
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "42244267-54a7-4966-87c8-19acab851304",
"name": "Update record",
"type": "n8n-nodes-base.airtable",
"position": [
5216,
544
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "7a6bf543-ac5e-490c-9af9-9e0f81e23b97",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1568,
32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "615998d7-8d2e-43b0-8330-78bca30ceab5",
"name": "Wait-8-sec",
"type": "n8n-nodes-base.wait",
"position": [
5216,
816
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "619e3701-6839-4ed4-8e81-46ac2b2d4e26",
"name": "Get input records",
"type": "n8n-nodes-base.airtable",
"position": [
1104,
240
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "3941ec45-d74c-4d77-aabd-0cd8a42cefb9",
"name": "Merge-loop",
"type": "n8n-nodes-base.merge",
"position": [
5200,
256
],
"parameters": {},
"typeVersion": 3
},
{
"id": "3655bdf0-5eab-48f4-af9d-333c18fbd416",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
416,
-144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "280af6d0-bf2e-49e7-8cf7-f95dec56c490",
"name": "Business_Info",
"type": "n8n-nodes-base.set",
"position": [
512,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f52617b4-3945-4ffa-8812-bfcf30b18a70",
"name": "Jina_API_Key",
"type": "n8n-nodes-base.set",
"position": [
704,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3063be8a-6534-4ca7-8922-9fc8062fe5b7",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
992,
-112
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1b3254db-9a54-4ab9-a06c-6c1ac84a8f5a",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
2048,
32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a6b34ab4-6d52-4bc0-ac2e-f474c89d46b3",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
2688,
32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f677415e-1f33-4f5a-badb-72a006202c54",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
3184,
32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "70b08af4-4fc2-4fe1-be76-e74996739ee8",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
5056,
-96
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2950353a-9d3e-40d9-8240-899ffeeda6ac",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
3792,
368
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "e8285d26-164a-4711-82dd-b79fc2b2e7ef",
"name": "Feedback",
"type": "n8n-nodes-base.set",
"position": [
3792,
592
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "525181d4-7c05-4329-9645-0c92eee0770b",
"name": "Structured Output Parser4",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
4384,
816
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "1e5b21e2-dbe6-4e5a-adac-4af7d038b448",
"name": "Email Content Re-writer",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
4208,
592
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "2b615f1c-7e93-44d7-abc4-561954c59163",
"name": "Window Buffer Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
3360,
544
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "0150e05c-2ded-42c7-b286-c5fc29a00813",
"name": "Structured Output Parser2",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
3472,
592
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "117a8661-0936-4147-9a03-5d3ef73a736d",
"name": "Evaluator",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
3264,
368
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "524f7e67-acbb-4390-9eb4-3d2244738ff8",
"name": "OpenAI Gpt-5-mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2112,
592
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5d78a936-94e4-4ba1-bbfd-ad500a6baf1e",
"name": "OpenAI - Gpt-5-mini-hi",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2752,
592
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c721990f-2d8b-4c97-93ef-f9103d384775",
"name": "OpenAI-Gpt-5-mini-low",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3232,
592
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ffb7affd-aed0-4800-a410-356b3a8d2fc7",
"name": "OpenAI - Gpt-5-mini-low",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
4192,
816
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5b6bb615-e002-424a-943a-3aa7ec7f7682",
"name": "Create a draft",
"type": "n8n-nodes-base.gmail",
"position": [
4736,
128
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "8922822c-c9fd-4b7b-80a1-f18322cacd28",
"name": "Sticky Note11",
"type": "n8n-nodes-base.stickyNote",
"position": [
3664,
32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9f232d4b-7e8b-4c3a-94ba-6b58fdc60716",
"name": "Sticky Note12",
"type": "n8n-nodes-base.stickyNote",
"position": [
4592,
-16
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e619226e-643e-4fe0-8b5c-cb0dea5a81cc",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
4128,
384
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9ca41792-ec47-492c-ac09-75c19a03dfb3",
"name": "OpenAI - Gpt-5-mini-low1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
4208,
144
],
"parameters": {},
"typeVersion": 1
},
{
"id": "14b3260c-2578-4887-9d61-dfb9b8f425c7",
"name": "Sticky Note14",
"type": "n8n-nodes-base.stickyNote",
"position": [
4128,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a1eecdfe-00b1-4b16-91d3-0cbb26e99ec2",
"name": "Format HTML",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
4208,
-48
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "5edcabaf-7503-402c-9777-eb757682762b",
"name": "Execute workflow",
"type": "n8n-nodes-base.manualTrigger",
"position": [
80,
256
],
"parameters": {},
"typeVersion": 1
},
{
"id": "64114da0-3bba-4a08-b08c-42f0d2937581",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
80,
0
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "bef8adb5-6ff7-43d5-947d-e8a39d671d3e",
"name": "Sticky Note15",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
-144
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "b91b4286-a682-4e5b-8620-d477f2d2b190",
"connections": {
"If": {
"main": [
[
{
"node": "Format HTML",
"type": "main",
"index": 0
}
],
[
{
"node": "Feedback",
"type": "main",
"index": 0
}
]
]
},
"Feedback": {
"main": [
[
{
"node": "Email Content Re-writer",
"type": "main",
"index": 0
}
]
]
},
"Evaluator": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Merge-loop": {
"main": [
[
{
"node": "Update record",
"type": "main",
"index": 0
}
]
]
},
"Wait-5-sec": {
"main": [
[
{
"node": "Email Content Creator",
"type": "main",
"index": 0
}
]
]
},
"Wait-8-sec": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Format HTML": {
"main": [
[
{
"node": "Create a draft",
"type": "main",
"index": 0
}
]
]
},
"Jina_API_Key": {
"main": [
[
{
"node": "Get input records",
"type": "main",
"index": 0
}
]
]
},
"Merge-Search": {
"main": [
[
{
"node": "Lead Analyzer",
"type": "main",
"index": 0
}
]
]
},
"Business_Info": {
"main": [
[
{
"node": "Jina_API_Key",
"type": "main",
"index": 0
}
]
]
},
"Lead Analyzer": {
"main": [
[
{
"node": "Wait-5-sec",
"type": "main",
"index": 0
}
]
]
},
"Update record": {
"main": [
[
{
"node": "Wait-8-sec",
"type": "main",
"index": 0
}
]
]
},
"Create a draft": {
"main": [
[
{
"node": "Merge-loop",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "Lead Person Research",
"type": "main",
"index": 0
},
{
"node": "Merge-Search",
"type": "main",
"index": 0
},
{
"node": "Merge-loop",
"type": "main",
"index": 1
}
]
]
},
"Execute workflow": {
"main": [
[
{
"node": "Business_Info",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Business_Info",
"type": "main",
"index": 0
}
]
]
},
"Get input records": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Gpt-5-mini": {
"ai_languageModel": [
[
{
"node": "Lead Analyzer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Lead Person Research": {
"main": [
[
{
"node": "Merge-Search",
"type": "main",
"index": 1
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "Evaluator",
"type": "ai_memory",
"index": 0
}
]
]
},
"Email Content Creator": {
"main": [
[
{
"node": "Evaluator",
"type": "main",
"index": 0
}
]
]
},
"OpenAI-Gpt-5-mini-low": {
"ai_languageModel": [
[
{
"node": "Evaluator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI - Gpt-5-mini-hi": {
"ai_languageModel": [
[
{
"node": "Email Content Creator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Email Content Re-writer": {
"main": [
[
{
"node": "Evaluator",
"type": "main",
"index": 0
}
]
]
},
"OpenAI - Gpt-5-mini-low": {
"ai_languageModel": [
[
{
"node": "Email Content Re-writer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI - Gpt-5-mini-low1": {
"ai_languageModel": [
[
{
"node": "Format HTML",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Lead Analyzer",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser2": {
"ai_outputParser": [
[
{
"node": "Evaluator",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser3": {
"ai_outputParser": [
[
{
"node": "Email Content Creator",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser4": {
"ai_outputParser": [
[
{
"node": "Email Content Re-writer",
"type": "ai_outputParser",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Generate personalized sales leads, ready-to-send, HTML-formatted emails, and send them automatically. This workflow is ideal for sales professionals, marketers, and business development teams aiming to scale their outreach. By automating the tedious tasks of research and email…
Source: https://n8n.io/workflows/8182/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Typeform IA - YT. Uses typeformTrigger, agent, lmChatOpenAi, toolWorkflow. Event-driven trigger; 75 nodes.
This workflow generates comprehensive B2B leads, from a selected Business type in ANY CITY IN THE WORLD, including: Company name; Website; Email (enriched with AI Agent); Phone number; Address; Main L
This n8n workflow automates sales processes using AI agents integrated with Airtable as a CRM and Gmail for email handling. It consists of two main workflows: one for handling Airtable status changes
mails2notion V2. Uses lmChatOpenAi, toolCalculator, outputParserStructured, gmail. Event-driven trigger; 38 nodes.
This workflow automatically creates Tasks from forwarded Emails, similar to Asana, but better. Emails are processed by AI and converted to rather actionable task.