This workflow corresponds to n8n.io template #6019 — we link there as the canonical source.
This workflow follows the Agent → Documentdefaultdataloader 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": "3ArOXy46ZaOfvhtc",
"name": "New_CTO_and_Updating_1v1",
"tags": [],
"nodes": [
{
"id": "a3b5696e-e1df-4d86-b509-bf3d56b8cd4f",
"name": "Google Drive Trigger",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-1632,
512
],
"parameters": {},
"typeVersion": 1
},
{
"id": "777ee3ce-7944-4bd0-8d57-99b69def76a0",
"name": "Download file",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1408,
512
],
"parameters": {},
"typeVersion": 3
},
{
"id": "84e7b928-ecca-4925-a1c7-15dda7043a06",
"name": "Pinecone Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "eaf19a5d-7598-4528-b4cf-1fcd16c7be2d",
"name": "Embeddings Azure OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
-16,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fdb6a789-152f-48fa-8eae-bb5b4f96e5be",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
112,
224
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "b3b4007a-04e3-40e0-876d-867808b32a6e",
"name": "Recursive Character Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
192,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "71125a64-497c-4dd1-a254-279c5d6499ed",
"name": "Send a message1",
"type": "n8n-nodes-base.slack",
"position": [
1680,
208
],
"parameters": {},
"typeVersion": 2.3
},
{
"id": "e10df56c-6f82-4c05-a4e9-135d420ff346",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
720,
0
],
"parameters": {},
"typeVersion": 2
},
{
"id": "c60b0b5a-b08a-4ce7-b9b8-299f30a7bbdc",
"name": "Azure OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
608,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cd5d3c5e-97c7-42c6-97a0-62941a2acb90",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1024,
224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "4ac58b0b-f26b-4261-8121-caf917df334b",
"name": "Pinecone Vector Store1",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
720,
224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "3488bd66-7c1a-4645-a0ae-0125cf2cd1c9",
"name": "Embeddings Azure OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
752,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f1a63d86-1155-475c-ad50-dfc0f343a9b7",
"name": "Append or update row in sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
1344,
208
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "a5124073-7438-4645-89d6-46c0288e9903",
"name": "Reranker Cohere",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
880,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cbb51fcc-f18d-46db-91e2-a0eb0ffc45d5",
"name": "Extract from File",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-1200,
512
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b3b18942-527d-4eec-8cd6-dc17af7d8bd1",
"name": "AI Agent4",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-848,
512
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ddc9814e-fc6f-404e-86f3-c0902c8ce34f",
"name": "Azure OpenAI Chat Model4",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
-976,
720
],
"parameters": {},
"typeVersion": 1
},
{
"id": "451c3971-a7bc-4aac-83bd-f61135de2d0d",
"name": "Pinecone Vector Store6",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
-848,
736
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "25997347-3368-44fd-86ed-a3d2e547ace2",
"name": "Embeddings Azure OpenAI6",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
-832,
928
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9231bcac-e048-4069-999d-8fe750c81252",
"name": "Reranker Cohere4",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
-704,
928
],
"parameters": {},
"typeVersion": 1
},
{
"id": "18d522a3-b3bf-47d4-9ef4-14e44de3eb2b",
"name": "Structured Output Parser3",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-560,
720
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "1e1dd5b2-7a63-4b36-92c1-395f3982cfa2",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
-352,
512
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "73e2b87e-0a08-42cf-a988-5e3c8bf24f24",
"name": "AI Agent5",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
96,
800
],
"parameters": {},
"typeVersion": 2
},
{
"id": "76e2e1b6-c50f-45fe-8609-31db4680510f",
"name": "Azure OpenAI Chat Model5",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
-144,
1024
],
"parameters": {},
"typeVersion": 1
},
{
"id": "07060298-a363-4711-b50c-d2e1d9798395",
"name": "Pinecone Vector Store7",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
-16,
1024
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "5b6df735-aad0-44e6-850e-42a975ec804c",
"name": "Embeddings Azure OpenAI7",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
16,
1232
],
"parameters": {},
"typeVersion": 1
},
{
"id": "62ea6c15-47b1-4af0-a3ba-9c9db0299afb",
"name": "Get row(s) in sheet in Google Sheets1",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
288,
1024
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "6432add3-ea61-412e-9df6-095fbebf6158",
"name": "Pinecone Vector Store8",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
1904,
800
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "861bb506-52fa-4018-903d-c47b78982ec9",
"name": "Embeddings Azure OpenAI8",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
1984,
1024
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8de6cedf-30cb-4ddf-8fe9-9889d5c0f669",
"name": "Reranker Cohere5",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
144,
1232
],
"parameters": {},
"typeVersion": 1
},
{
"id": "43ff9194-51f5-45e0-aebf-28c183d62683",
"name": "Structured Output Parser4",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
400,
1024
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "1f384659-5d70-4281-aeb2-22d016bede61",
"name": "Pinecone Vector Store9",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
720,
800
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "08aa9b17-bad9-4c4a-81b2-839a67c3e359",
"name": "Embeddings Azure OpenAI9",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
752,
1024
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9d0fd8c0-e736-4e6f-aefc-a99da429dc8a",
"name": "Reranker Cohere6",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
880,
1024
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1b45830a-20c9-4b47-81fb-a9a63f67b28a",
"name": "AI Agent6",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1216,
800
],
"parameters": {},
"typeVersion": 2
},
{
"id": "e284424c-a221-4fa1-a2e7-4c614fa8e959",
"name": "Azure OpenAI Chat Model6",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
1248,
1216
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e7d1e2a4-cdbe-4474-a1ee-157df733f15d",
"name": "Auto-fixing Output Parser1",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
1312,
1024
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b66a4092-11c3-434d-95fd-d63fac1520e4",
"name": "Structured Output Parser5",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1408,
1216
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "f2691129-78b8-430a-977c-8a2b7a03031d",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
1680,
800
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3f84d260-4e35-46a2-8008-43933064eeb2",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1616,
208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0e841263-bbe8-4512-bce0-4ac1dace417d",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-944,
208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "24c1a5bd-cab6-4b5d-a93d-5ec41275bc67",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-112,
-288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "38a8d1c1-4801-4a74-aead-5c8246d12864",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
576,
-288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e6a879f4-dc1e-4f17-ac4f-0f758d8bda83",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1264,
-32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "67d28c67-45d0-4093-905d-e7f3fc23e6e4",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1616,
-32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a1d3829d-28b4-4acd-a892-deecd7493bfd",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4702ad1e-4ef5-430f-8231-8df824d7084d",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
608,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d51279f0-2ef3-4273-ac71-ad5e772b5394",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1136,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f55edb5e-6568-4e81-bffe-53f60aee4c15",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
1744,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "be6eb0c8-1d54-43e5-adc8-a425d3fb83f0",
"connections": {
"If": {
"main": [
[
{
"node": "Pinecone Vector Store",
"type": "main",
"index": 0
}
],
[
{
"node": "AI Agent5",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Append or update row in sheet",
"type": "main",
"index": 0
}
]
]
},
"AI Agent4": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"AI Agent5": {
"main": [
[
{
"node": "Pinecone Vector Store9",
"type": "main",
"index": 0
}
]
]
},
"AI Agent6": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Pinecone Vector Store8",
"type": "main",
"index": 0
}
]
]
},
"Download file": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
},
"Reranker Cohere": {
"ai_reranker": [
[
{
"node": "Pinecone Vector Store1",
"type": "ai_reranker",
"index": 0
}
]
]
},
"Reranker Cohere4": {
"ai_reranker": [
[
{
"node": "Pinecone Vector Store6",
"type": "ai_reranker",
"index": 0
}
]
]
},
"Reranker Cohere5": {
"ai_reranker": [
[
{
"node": "Pinecone Vector Store7",
"type": "ai_reranker",
"index": 0
}
]
]
},
"Reranker Cohere6": {
"ai_reranker": [
[
{
"node": "Pinecone Vector Store9",
"type": "ai_reranker",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "AI Agent4",
"type": "main",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Google Drive Trigger": {
"main": [
[
{
"node": "Download file",
"type": "main",
"index": 0
}
]
]
},
"Pinecone Vector Store": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Pinecone Vector Store1": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Pinecone Vector Store6": {
"ai_tool": [
[
{
"node": "AI Agent4",
"type": "ai_tool",
"index": 0
}
]
]
},
"Pinecone Vector Store7": {
"ai_tool": [
[
{
"node": "AI Agent5",
"type": "ai_tool",
"index": 0
}
]
]
},
"Pinecone Vector Store9": {
"main": [
[
{
"node": "AI Agent6",
"type": "main",
"index": 0
}
]
]
},
"Azure OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Embeddings Azure OpenAI": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Azure OpenAI Chat Model4": {
"ai_languageModel": [
[
{
"node": "AI Agent4",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Azure OpenAI Chat Model5": {
"ai_languageModel": [
[
{
"node": "AI Agent5",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Azure OpenAI Chat Model6": {
"ai_languageModel": [
[
{
"node": "AI Agent6",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Auto-fixing Output Parser1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Embeddings Azure OpenAI1": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store1",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Embeddings Azure OpenAI6": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store6",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Embeddings Azure OpenAI7": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store7",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Embeddings Azure OpenAI8": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store8",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Embeddings Azure OpenAI9": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store9",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser3": {
"ai_outputParser": [
[
{
"node": "AI Agent4",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser4": {
"ai_outputParser": [
[
{
"node": "AI Agent5",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser5": {
"ai_outputParser": [
[
{
"node": "Auto-fixing Output Parser1",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Auto-fixing Output Parser1": {
"ai_outputParser": [
[
{
"node": "AI Agent6",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Append or update row in sheet": {
"main": [
[
{
"node": "Send a message1",
"type": "main",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Get row(s) in sheet in Google Sheets1": {
"ai_tool": [
[
{
"node": "AI Agent5",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Streamline client onboarding and lay the groundwork for future Retrieval-Augmented Generation (RAG) capabilities by automatically transforming Slack messages into structured data using GPT-4o, Google Sheets, and Pinecone—all orchestrated within n8n.
Source: https://n8n.io/workflows/6019/ — 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.
Your AI workforce is ready. Are you?
This advanced n8n workflow automates the full lead enrichment, qualification, and personalized outreach process tailored specifically for the B2B real estate sector. Integrating top platforms like Api
This n8n template automatically classifies incoming emails (Sales, Support, Internal, Finance, Promotions) and routes them to a dedicated OpenAI LLM Agent for processing. Depending on the category, th
Automate Outreach Prospect automates finding, enriching, and messaging potential partners (like restaurants, malls, and bars) using Apify Google Maps scraping, Perplexity enrichment, OpenAI LLMs, Goog
This simple philosophy changes the way we think about automated sales agents. Context changes everything. In this 4-part workflow, we start by creating a knowledge base that will act as context across