Daily Email Digest11
Shared 1/6/2026
3 views
Visual Workflow
JSON Code
{
"name": "Daily Email Digest",
"nodes": [
{
"id": "47d7b2cb-5d44-4625-aeab-33e0b7ce529f",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
-240
],
"parameters": {
"color": 5,
"width": 1100,
"height": 530,
"content": "Placeholder for Daily Email Digest"
},
"typeVersion": 1
},
{
"id": "a079decc-ca6c-4248-b4c9-34deb17c8d26",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"position": [
-300,
0
],
"parameters": {
"path": "daily-email-digest",
"httpMethod": "POST"
},
"typeVersion": 1
},
{
"id": "8d196219-7de5-428e-8e88-420abfcc9237",
"name": "Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"position": [
-130,
0
],
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"typeVersion": 1
},
{
"id": "8c20a8a3-3002-4d4f-b46f-cf859d229655",
"name": "Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
70,
0
],
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "OPENAI_API",
"name": "OpenAI"
}
},
"typeVersion": 1
},
{
"id": "ae6e7c84-9dbb-4ec7-a621-1a1e438941b6",
"name": "Supabase Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
270,
0
],
"parameters": {
"mode": "insert",
"options": {},
"indexName": "daily_email_digest"
},
"credentials": {
"supabaseApi": {
"id": "SUPABASE_API",
"name": "Supabase account"
}
},
"typeVersion": 1
},
{
"id": "f3ba587a-bd11-418d-9998-395164701bd3",
"name": "Supabase Query",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
270,
-180
],
"parameters": {
"indexName": "daily_email_digest"
},
"credentials": {
"supabaseApi": {
"id": "SUPABASE_API",
"name": "Supabase account"
}
},
"typeVersion": 1
},
{
"id": "eed3ad49-c219-4c4a-b420-eff8b6401981",
"name": "Vector Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"position": [
450,
-180
],
"parameters": {
"name": "Supabase",
"description": "Vector context"
},
"typeVersion": 1
},
{
"id": "6622f4cb-bdbe-4c76-9ea0-25cf1e2ce2a4",
"name": "Window Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
450,
-40
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "edd62db3-4bfd-4ab4-b4e5-0e038b0beec1",
"name": "Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
450,
-340
],
"parameters": {
"options": {}
},
"credentials": {
"anthropicApi": {
"id": "ANTHROPIC_API",
"name": "Anthropic"
}
},
"typeVersion": 1
},
{
"id": "0e624e84-3f49-49d4-b0eb-a3268f6984d0",
"name": "RAG Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
720,
-40
],
"parameters": {
"text": "Handle data",
"options": {
"systemMessage": "You are an assistant for Daily Email Digest"
},
"promptType": "define"
},
"typeVersion": 1
},
{
"id": "dbec21d4-50e8-47a6-a920-6da576ebc01d",
"name": "Append Sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
930,
-40
],
"parameters": {
"columns": {
"value": "Status",
"schema": [],
"mappingMode": "defineBelow"
},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "Log",
"cachedResultName": "Log"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "SHEET_ID",
"cachedResultName": "Daily Email Digest"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "SHEETS_API",
"name": "Google Sheets account"
}
},
"typeVersion": 4
},
{
"id": "487c7190-b1d5-4770-b503-ec7ce44ad9ba",
"name": "Slack Alert",
"type": "n8n-nodes-base.slack",
"position": [
930,
120
],
"parameters": {
"text": "Daily Email Digest error: {$json.error.message}",
"channel": "#alerts"
},
"credentials": {
"slackApi": {
"id": "SLACK_API",
"name": "Slack"
}
},
"typeVersion": 1
}
],
"settings": {
"executionOrder": "v1"
},
"connections": {
"RAG Agent": {
"main": [
[
{
"node": "Append Sheet",
"type": "main",
"index": 0
}
]
],
"onError": [
[
{
"node": "Slack Alert",
"type": "main",
"index": 0
}
]
]
},
"Chat Model": {
"ai_languageModel": [
[
{
"node": "RAG Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Embeddings": {
"ai_embedding": [
[
{
"node": "Supabase Insert",
"type": "ai_embedding",
"index": 0
},
{
"node": "Supabase Query",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Vector Tool": {
"ai_tool": [
[
{
"node": "RAG Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Text Splitter": {
"main": [
[
{
"node": "Embeddings",
"type": "main",
"index": 0
}
]
],
"ai_textSplitter": [
[
{
"node": "Supabase Insert",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Window Memory": {
"ai_memory": [
[
{
"node": "RAG Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Supabase Query": {
"ai_vectorStore": [
[
{
"node": "Vector Tool",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"Supabase Insert": {
"ai_document": [
[]
]
},
"Webhook Trigger": {
"main": [
[
{
"node": "Text Splitter",
"type": "main",
"index": 0
},
{
"node": "Window Memory",
"type": "main",
"index": 0
}
]
]
}
},
"triggerCount": 1
}