Skip to content

280+ free n8n automation templates — ready-to-use workflows for Gmail, Telegram, Slack, Discord, WhatsApp, Google Drive, Notion, OpenAI, and more. AI agents, RAG chatbots, email automation, social media, DevOps, and document processing. The largest open-source n8n template collection.

Add 8 AutoFlow Lite workflow templates (AI automation by Automatia BCN)

Enes Eserkan85da0b2726ed
diff --git a/AI_Research_RAG_and_Data_Analysis/DataForge Lite - AI URL Data Extractor.json b/AI_Research_RAG_and_Data_Analysis/DataForge Lite - AI URL Data Extractor.json
new file mode 100644
index 0000000..e324a86
--- /dev/null
+++ b/AI_Research_RAG_and_Data_Analysis/DataForge Lite - AI URL Data Extractor.json
@@ -0,0 +1,22 @@
+{
+ "name": "DataForge Lite — Single URL AI Scraper",
+ "nodes": [
+ {"parameters":{"httpMethod":"POST","path":"dataforge-lite","responseMode":"responseNode","options":{}},"id":"trigger","name":"Scrape URL","type":"n8n-nodes-base.webhook","typeVersion":2,"position":[200,400],"webhookId":"dataforge-lite"},
+ {"parameters":{"jsCode":"try {\n const b = $input.first().json.body || $input.first().json;\n if (!b.url) throw new Error('URL is required.');\n return [{ json: { url: b.url, extractFields: b.extract_fields || 'price,features,description', name: b.name || '' } }];\n} catch (e) { throw new Error('Invalid input: ' + e.message); }"},"id":"validate","name":"Validate","type":"n8n-nodes-base.code","typeVersion":2,"position":[400,400]},
+ {"parameters":{"method":"GET","url":"={{ $json.url }}","sendHeaders":true,"headerParameters":{"parameters":[{"name":"User-Agent","value":"Mozilla/5.0 (compatible; DataForge/1.0)"}]},"options":{"timeout":20000}},"id":"fetch","name":"Fetch Page","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[600,400],"retryOnFail":true,"maxTries":2,"continueOnFail":true},
+ {"parameters":{"jsCode":"try {\n const url = $('Validate').first().json;\n const r = $input.first().json;\n const html = typeof r === 'string' ? r : (r.data || r.body || JSON.stringify(r));\n const text = html.replace(/<script[^>]*>[\\s\\S]*?<\\/script>/gi,'').replace(/<style[^>]*>[\\s\\S]*?<\\/style>/gi,'').replace(/<[^>]+>/g,' ').replace(/\\s+/g,' ').trim().substring(0,4000);\n return [{ json: { ...url, pageText: text } }];\n} catch(e) { throw new Error('Extract failed: ' + e.message); }"},"id":"extract","name":"Extract Text","type":"n8n-nodes-base.code","typeVersion":2,"position":[800,400]},
+ {"parameters":{"model":"gpt-4o-mini","messages":{"values":[{"role":"system","content":"=Extract from the page: {{ $json.extractFields }}. Also: title, description, stats, sentiment. JSON: { \"title\": \"\", \"description\": \"\", \"extractedData\": {}, \"statistics\": [], \"sentiment\": \"\" }"},{"role":"user","content":"=URL: {{$json.url}}\nExtract: {{$json.extractFields}}\n\nContent:\n{{$json.pageText}}"}]},"options":{"temperature":0.2,"maxTokens":800,"responseFormat":"json_object"}},"id":"ai","name":"AI: Extract Data","type":"n8n-nodes-base.openAi","typeVersion":1.8,"position":[1020,400],"retryOnFail":true,"maxTries":3,"waitBetweenTries":2000},
+ {"parameters":{"respondWith":"json","responseBody":"={{ $input.first().json.message?.content || $input.first().json.content || '{}' }}"},"id":"respond","name":"Respond","type":"n8n-nodes-base.respondToWebhook","typeVersion":1.1,"position":[1240,400]},
+ {"parameters":{"content":"## DataForge Lite\nPOST a URL, get structured data.\nNo Sheets, no schedule.","width":260,"height":100,"color":6},"id":"note","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[120,220]}
+ ],
+ "connections": {
+ "Scrape URL":{"main":[[{"node":"Validate","type":"main","index":0}]]},
+ "Validate":{"main":[[{"node":"Fetch Page","type":"main","index":0}]]},
+ "Fetch Page":{"main":[[{"node":"Extract Text","type":"main","index":0}]]},
+ "Extract Text":{"main":[[{"node":"AI: Extract Data","type":"main","index":0}]]},
+ "AI: Extract Data":{"main":[[{"node":"Respond","type":"main","index":0}]]}
+ },
+ "settings":{"executionOrder":"v1","saveManualExecutions":true},
+ "tags":[{"name":"DataForge","id":"dataforge"},{"name":"AutoFlow","id":"autoflow"},{"name":"Lite","id":"lite"}],
+ "meta":{"instanceId":"dataforge-lite-v1"}
+}
diff --git a/AI_Research_RAG_and_Data_Analysis/SocialPulse Lite - Reddit Trend Monitor.json b/AI_Research_RAG_and_Data_Analysis/SocialPulse Lite - Reddit Trend Monitor.json
new file mode 100644
index 0000000..cd3f1e2
--- /dev/null
+++ b/AI_Research_RAG_and_Data_Analysis/SocialPulse Lite - Reddit Trend Monitor.json
@@ -0,0 +1,120 @@
+{
+ "name": "SocialPulse Lite — Single Source Monitor (Reddit Only)",
+ "nodes": [
+ {
+ "parameters": {
+ "rule": { "interval": [{ "field": "cronExpression", "expression": "0 9 * * *" }] }
+ },
+ "id": "trigger",
+ "name": "Run Daily (9 AM)",
+ "type": "n8n-nodes-base.scheduleTrigger",
+ "typeVersion": 1.2,
+ "position": [200, 400]
+ },
+ {
+ "parameters": {
+ "method": "GET",
+ "url": "=https://www.reddit.com/r/{{ $env.SOCIALPULSE_SUBREDDITS?.split(',')[0]?.trim() || 'SaaS' }}/hot.json?limit=20",
+ "sendHeaders": true,
+ "headerParameters": { "parameters": [{ "name": "User-Agent", "value": "SocialPulse/1.0" }] },
+ "options": { "timeout": 15000 }
+ },
+ "id": "fetch-reddit",
+ "name": "Reddit: Fetch Posts",
+ "type": "n8n-nodes-base.httpRequest",
+ "typeVersion": 4.2,
+ "position": [440, 400],
+ "retryOnFail": true,
+ "maxTries": 2,
+ "waitBetweenTries": 5000
+ },
+ {
+ "parameters": {
+ "jsCode": "try {\n const reddit = $input.first().json;\n const posts = (reddit?.data?.children || []).map(c => ({ title: c.data?.title || '', score: c.data?.score || 0, comments: c.data?.num_comments || 0, url: 'https://reddit.com' + (c.data?.permalink || ''), subreddit: c.data?.subreddit || '' })).filter(p => p.score > 3).sort((a,b) => b.score - a.score).slice(0, 15);\n return [{ json: { totalPosts: posts.length, posts, scannedAt: new Date().toISOString() } }];\n} catch (e) {\n throw new Error('Failed to parse Reddit data: ' + e.message);\n}"
+ },
+ "id": "parse",
+ "name": "Parse & Rank Posts",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [680, 400]
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ { "role": "system", "content": "Analyze these Reddit posts. Find 3 trending topics and suggest 2 content ideas. JSON: { \"trends\": [\"topic1\"], \"contentIdeas\": [{ \"idea\": \"...\", \"platform\": \"Twitter\" }], \"sentiment\": \"positive/neutral/negative\" }" },
+ { "role": "user", "content": "=Top Reddit posts:\n{{ $json.posts.map((p,i) => (i+1) + '. ' + p.title + ' (score:' + p.score + ')').join('\\n') }}" }
+ ]
+ },
+ "options": { "temperature": 0.5, "maxTokens": 800, "responseFormat": "json_object" }
+ },
+ "id": "ai-analyze",
+ "name": "AI: Quick Analysis",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [920, 400],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "jsCode": "try {\n const data = $('Parse & Rank Posts').first().json;\n const aiRaw = $input.first().json;\n let ai;\n try { ai = JSON.parse(aiRaw.message?.content || '{}'); } catch(e) { ai = { trends: [], contentIdeas: [], sentiment: 'unknown' }; }\n return [{ json: { ...data, analysis: ai } }];\n} catch (e) {\n throw new Error('Failed to merge: ' + e.message);\n}"
+ },
+ "id": "merge",
+ "name": "Merge Results",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [1140, 400]
+ },
+ {
+ "parameters": {
+ "operation": "append",
+ "documentId": { "__rl": true, "value": "={{ $env.SOCIALPULSE_SHEET_ID }}", "mode": "id" },
+ "sheetName": { "__rl": true, "value": "Lite Log", "mode": "name" },
+ "columns": {
+ "mappingMode": "defineBelow",
+ "value": {
+ "Date": "={{ $json.scannedAt }}",
+ "Posts": "={{ $json.totalPosts }}",
+ "Trends": "={{ JSON.stringify($json.analysis.trends) }}",
+ "Content Ideas": "={{ JSON.stringify($json.analysis.contentIdeas) }}",
+ "Sentiment": "={{ $json.analysis.sentiment }}"
+ }
+ },
+ "options": {}
+ },
+ "id": "save-sheets",
+ "name": "Log to Sheets",
+ "type": "n8n-nodes-base.googleSheets",
+ "typeVersion": 4.5,
+ "position": [1380, 400],
+ "retryOnFail": true,
+ "maxTries": 2
+ },
+ {
+ "parameters": {
+ "content": "## SocialPulse Lite\n\nReddit-only monitoring.\nDaily scan, quick AI analysis.\nPerfect for testing before\nenabling full 3-source scan.",
+ "width": 280,
+ "height": 160,
+ "color": 6
+ },
+ "id": "note",
+ "name": "Sticky Note",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [120, 200]
+ }
+ ],
+ "connections": {
+ "Run Daily (9 AM)": { "main": [[{ "node": "Reddit: Fetch Posts", "type": "main", "index": 0 }]] },
+ "Reddit: Fetch Posts": { "main": [[{ "node": "Parse & Rank Posts", "type": "main", "index": 0 }]] },
+ "Parse & Rank Posts": { "main": [[{ "node": "AI: Quick Analysis", "type": "main", "index": 0 }]] },
+ "AI: Quick Analysis": { "main": [[{ "node": "Merge Results", "type": "main", "index": 0 }]] },
+ "Merge Results": { "main": [[{ "node": "Log to Sheets", "type": "main", "index": 0 }]] }
+ },
+ "settings": { "executionOrder": "v1", "saveManualExecutions": true },
+ "tags": [{ "name": "SocialPulse", "id": "socialpulse" }, { "name": "AutoFlow", "id": "autoflow" }, { "name": "Lite", "id": "lite" }],
+ "meta": { "instanceId": "socialpulse-lite-v1" }
+}
diff --git a/Gmail_and_Email_Automation/InboxZero Lite - AI Email Classifier.json b/Gmail_and_Email_Automation/InboxZero Lite - AI Email Classifier.json
new file mode 100644
index 0000000..f866ccb
--- /dev/null
+++ b/Gmail_and_Email_Automation/InboxZero Lite - AI Email Classifier.json
@@ -0,0 +1,110 @@
+{
+ "name": "InboxZero Lite — Simple Email Classifier (Log Only)",
+ "nodes": [
+ {
+ "parameters": {
+ "pollTimes": { "item": [{ "mode": "everyMinute", "minute": 5 }] },
+ "simple": false,
+ "filters": { "readStatus": "unread" }
+ },
+ "id": "trigger-gmail",
+ "name": "Gmail: New Email",
+ "type": "n8n-nodes-base.gmailTrigger",
+ "typeVersion": 1.2,
+ "position": [200, 400]
+ },
+ {
+ "parameters": {
+ "jsCode": "try {\n const e = $input.first().json;\n return [{ json: { messageId: e.id || '', from: e.from?.value?.[0]?.address || '', fromName: e.from?.value?.[0]?.name || '', subject: e.subject || '', snippet: (e.snippet || '').substring(0, 500), date: e.date || new Date().toISOString() } }];\n} catch (e) {\n throw new Error('Failed to parse email: ' + e.message);\n}"
+ },
+ "id": "parse",
+ "name": "Parse Email",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [420, 400]
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "Classify this email as: urgent, important, informational, or spam. Also write a 1-sentence summary. JSON: { \"category\": \"...\", \"summary\": \"...\" }"
+ },
+ {
+ "role": "user",
+ "content": "=From: {{$json.fromName}} <{{$json.from}}>\nSubject: {{$json.subject}}\n\n{{$json.snippet}}"
+ }
+ ]
+ },
+ "options": { "temperature": 0.2, "maxTokens": 200, "responseFormat": "json_object" }
+ },
+ "id": "ai-classify",
+ "name": "AI: Classify",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [640, 400],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "jsCode": "const email = $('Parse Email').first().json;\nconst aiRaw = $input.first().json;\nlet ai;\ntry { ai = JSON.parse(aiRaw.message?.content || '{}'); } catch(e) { ai = { category: 'informational', summary: '' }; }\nreturn [{ json: { ...email, category: ai.category || 'informational', summary: ai.summary || '', classifiedAt: new Date().toISOString() } }];"
+ },
+ "id": "merge",
+ "name": "Merge Result",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [860, 400]
+ },
+ {
+ "parameters": {
+ "operation": "append",
+ "documentId": { "__rl": true, "value": "={{ $env.INBOXZERO_SHEET_ID }}", "mode": "id" },
+ "sheetName": { "__rl": true, "value": "Lite Log", "mode": "name" },
+ "columns": {
+ "mappingMode": "defineBelow",
+ "value": {
+ "Date": "={{ $json.date }}",
+ "From": "={{ $json.from }}",
+ "Subject": "={{ $json.subject }}",
+ "Category": "={{ $json.category }}",
+ "Summary": "={{ $json.summary }}"
+ }
+ },
+ "options": {}
+ },
+ "id": "log-sheets",
+ "name": "Log to Sheets",
+ "type": "n8n-nodes-base.googleSheets",
+ "typeVersion": 4.5,
+ "position": [1080, 400],
+ "retryOnFail": true,
+ "maxTries": 2
+ },
+ {
+ "parameters": {
+ "content": "## InboxZero Lite — Classify Only\n\nSimplest version: classify + log.\nNo auto-actions, no Slack, no drafts.\n\nPerfect for trying InboxZero before\nenabling auto-actions.",
+ "width": 300,
+ "height": 180,
+ "color": 6
+ },
+ "id": "note",
+ "name": "Sticky Note",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [120, 180]
+ }
+ ],
+ "connections": {
+ "Gmail: New Email": { "main": [[{ "node": "Parse Email", "type": "main", "index": 0 }]] },
+ "Parse Email": { "main": [[{ "node": "AI: Classify", "type": "main", "index": 0 }]] },
+ "AI: Classify": { "main": [[{ "node": "Merge Result", "type": "main", "index": 0 }]] },
+ "Merge Result": { "main": [[{ "node": "Log to Sheets", "type": "main", "index": 0 }]] }
+ },
+ "settings": { "executionOrder": "v1", "saveManualExecutions": true },
+ "tags": [{ "name": "InboxZero", "id": "inboxzero" }, { "name": "AutoFlow", "id": "autoflow" }, { "name": "Lite", "id": "lite" }],
+ "meta": { "instanceId": "inboxzero-lite-v1" }
+}
diff --git a/Gmail_and_Email_Automation/LeadPilot Lite - AI Cold Email Writer.json b/Gmail_and_Email_Automation/LeadPilot Lite - AI Cold Email Writer.json
new file mode 100644
index 0000000..fb82b89
--- /dev/null
+++ b/Gmail_and_Email_Automation/LeadPilot Lite - AI Cold Email Writer.json
@@ -0,0 +1,159 @@
+{
+ "name": "LeadPilot Lite — Manual Lead Email Writer",
+ "nodes": [
+ {
+ "parameters": {
+ "httpMethod": "POST",
+ "path": "leadpilot-lite",
+ "responseMode": "responseNode",
+ "options": {}
+ },
+ "id": "trigger-webhook",
+ "name": "Receive Lead Data",
+ "type": "n8n-nodes-base.webhook",
+ "typeVersion": 2,
+ "position": [200, 400],
+ "webhookId": "leadpilot-lite-input"
+ },
+ {
+ "parameters": {
+ "jsCode": "const body = $input.first().json.body || $input.first().json;\nconst leads = body.leads || [body];\n\nif (!leads.length || !leads[0].name) {\n throw new Error('Please provide leads with at least: name, email, title, company. Format: { \"leads\": [{ \"name\": \"...\", \"email\": \"...\", \"title\": \"...\", \"company\": \"...\" }] }');\n}\n\nconst senderName = body.sender_name || $env.LEADPILOT_SENDER_NAME || 'Your Name';\nconst senderCompany = body.sender_company || $env.LEADPILOT_SENDER_COMPANY || 'Your Company';\nconst senderValue = body.value_prop || $env.LEADPILOT_VALUE_PROP || 'We help companies save time with automation.';\nconst calendarLink = body.calendar_link || $env.LEADPILOT_CALENDAR_LINK || '';\n\nreturn leads.map(lead => ({\n json: {\n name: lead.name,\n email: lead.email || '',\n title: lead.title || '',\n company: lead.company || '',\n industry: lead.industry || '',\n companyDescription: lead.company_description || '',\n linkedinUrl: lead.linkedin_url || '',\n notes: lead.notes || '',\n senderName,\n senderCompany,\n senderValue,\n calendarLink,\n requestId: require('crypto').randomUUID()\n }\n}));"
+ },
+ "id": "parse-input",
+ "name": "Parse Lead List",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [420, 400]
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "You are an elite cold email copywriter. Write a personalized cold email.\n\nRules:\n- Subject: 3-7 words, personalized, zero spam triggers\n- Opening: Reference their company or role specifically\n- Body: 50-80 words MAX. One pain point + one value prop.\n- CTA: Soft question or calendar link\n- Include 1 follow-up email (3 days later, 30-50 words)\n\nJSON: { \"subjectLine\": \"...\", \"emailBody\": \"full email\", \"followUp\": { \"subject\": \"Re: [subject]\", \"body\": \"follow-up text\" } }"
+ },
+ {
+ "role": "user",
+ "content": "=Write a cold email:\n\nRecipient: {{$json.name}}\nTitle: {{$json.title}}\nCompany: {{$json.company}}\nIndustry: {{$json.industry}}\nAbout Company: {{$json.companyDescription}}\nNotes: {{$json.notes}}\n\nSender: {{$json.senderName}} at {{$json.senderCompany}}\nValue Prop: {{$json.senderValue}}\nCalendar: {{$json.calendarLink}}"
+ }
+ ]
+ },
+ "options": {
+ "temperature": 0.7,
+ "maxTokens": 800,
+ "responseFormat": "json_object"
+ }
+ },
+ "id": "ai-write-email",
+ "name": "AI: Write Cold Email",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [660, 400],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "jsCode": "const lead = $('Parse Lead List').item;\nconst emailRaw = $input.first().json;\nlet emailData;\ntry {\n emailData = JSON.parse(emailRaw.message?.content || emailRaw.content || '{}');\n} catch (e) {\n throw new Error('Failed to parse email: ' + e.message);\n}\n\nreturn [{\n json: {\n ...lead.json,\n email_subject: emailData.subjectLine || '',\n email_body: emailData.emailBody || '',\n followUp_subject: emailData.followUp?.subject || '',\n followUp_body: emailData.followUp?.body || '',\n generatedAt: new Date().toISOString()\n }\n}];"
+ },
+ "id": "merge-results",
+ "name": "Merge Lead + Email",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [880, 400]
+ },
+ {
+ "parameters": {
+ "operation": "append",
+ "documentId": {
+ "__rl": true,
+ "value": "={{ $env.LEADPILOT_SHEET_ID }}",
+ "mode": "id"
+ },
+ "sheetName": {
+ "__rl": true,
+ "value": "Lite Pipeline",
+ "mode": "name"
+ },
+ "columns": {
+ "mappingMode": "defineBelow",
+ "value": {
+ "Name": "={{ $json.name }}",
+ "Email": "={{ $json.email }}",
+ "Title": "={{ $json.title }}",
+ "Company": "={{ $json.company }}",
+ "Subject Line": "={{ $json.email_subject }}",
+ "Email Body": "={{ $json.email_body }}",
+ "Follow-up": "={{ $json.followUp_body }}",
+ "Generated At": "={{ $json.generatedAt }}",
+ "Sent": "=No"
+ }
+ },
+ "options": {}
+ },
+ "id": "save-sheets",
+ "name": "Save to Google Sheets",
+ "type": "n8n-nodes-base.googleSheets",
+ "typeVersion": 4.5,
+ "position": [1120, 300],
+ "retryOnFail": true,
+ "maxTries": 2
+ },
+ {
+ "parameters": {
+ "respondWith": "json",
+ "responseBody": "={{ JSON.stringify({ success: true, lead: $json.name, company: $json.company, subjectLine: $json.email_subject, message: 'Email generated. Check Google Sheets to review and send.' }) }}"
+ },
+ "id": "respond-success",
+ "name": "Respond: Success",
+ "type": "n8n-nodes-base.respondToWebhook",
+ "typeVersion": 1.1,
+ "position": [1120, 500]
+ },
+ {
+ "parameters": {
+ "content": "## LeadPilot Lite — Manual Lead Email Writer\n\nSimplified version for manual lead lists.\nNo Apollo.io needed — you provide the leads.\n\n**Input:** POST with lead data (name, email, title, company)\n**Output:** Personalized cold email + 1 follow-up\n**Saved to:** Google Sheets for review before sending\n\nPerfect for:\n- Small lead lists (5-20 leads)\n- Manual prospecting\n- Testing email copy before scaling",
+ "width": 380,
+ "height": 280,
+ "color": 6
+ },
+ "id": "note-overview",
+ "name": "Sticky Note: Overview",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [120, 80]
+ }
+ ],
+ "connections": {
+ "Receive Lead Data": {
+ "main": [[{ "node": "Parse Lead List", "type": "main", "index": 0 }]]
+ },
+ "Parse Lead List": {
+ "main": [[{ "node": "AI: Write Cold Email", "type": "main", "index": 0 }]]
+ },
+ "AI: Write Cold Email": {
+ "main": [[{ "node": "Merge Lead + Email", "type": "main", "index": 0 }]]
+ },
+ "Merge Lead + Email": {
+ "main": [[
+ { "node": "Save to Google Sheets", "type": "main", "index": 0 },
+ { "node": "Respond: Success", "type": "main", "index": 0 }
+ ]]
+ }
+ },
+ "settings": {
+ "executionOrder": "v1",
+ "saveManualExecutions": true
+ },
+ "tags": [
+ { "name": "LeadPilot", "id": "leadpilot" },
+ { "name": "AutoFlow", "id": "autoflow" },
+ { "name": "Lite", "id": "lite" }
+ ],
+ "meta": {
+ "instanceId": "leadpilot-lite-v1"
+ }
+}
diff --git a/Instagram_Twitter_Social_Media/FlowScribe Lite - AI Content Repurposing 4 Platforms.json b/Instagram_Twitter_Social_Media/FlowScribe Lite - AI Content Repurposing 4 Platforms.json
new file mode 100644
index 0000000..e1117a9
--- /dev/null
+++ b/Instagram_Twitter_Social_Media/FlowScribe Lite - AI Content Repurposing 4 Platforms.json
@@ -0,0 +1,291 @@
+{
+ "name": "FlowScribe Lite — Quick 4-Platform Repurpose",
+ "nodes": [
+ {
+ "parameters": {
+ "httpMethod": "POST",
+ "path": "flowscribe-lite",
+ "responseMode": "responseNode",
+ "options": {}
+ },
+ "id": "trigger-webhook",
+ "name": "Receive Content",
+ "type": "n8n-nodes-base.webhook",
+ "typeVersion": 2,
+ "position": [200, 400],
+ "webhookId": "flowscribe-lite-input"
+ },
+ {
+ "parameters": {
+ "jsCode": "const body = $input.first().json.body || $input.first().json;\nconst content = body.content || body.text || '';\nconst title = body.title || 'Untitled';\nconst brandVoice = body.brand_voice || 'professional yet approachable';\n\nif (!content || content.trim().length < 50) {\n throw new Error('Content must be at least 50 characters.');\n}\n\nreturn [{\n json: { content, title, brandVoice, requestId: require('crypto').randomUUID(), processedAt: new Date().toISOString() }\n}];"
+ },
+ "id": "validate-input",
+ "name": "Validate Input",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [400, 400]
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "Analyze the content and extract: 5 key points, core message in one sentence, 10 hashtags, 5 SEO keywords. Respond in JSON: { keyPoints, coreMessage, hashtags, seoKeywords }"
+ },
+ {
+ "role": "user",
+ "content": "=Title: {{$json.title}}\nBrand Voice: {{$json.brandVoice}}\n\nContent:\n{{$json.content}}"
+ }
+ ]
+ },
+ "options": {
+ "temperature": 0.3,
+ "maxTokens": 1000,
+ "responseFormat": "json_object"
+ }
+ },
+ "id": "ai-analysis",
+ "name": "AI: Quick Analysis",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [600, 400],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "jsCode": "let analysis;\ntry {\n analysis = JSON.parse($input.first().json.message?.content || '{}');\n} catch (e) {\n throw new Error('Failed to parse AI analysis: ' + e.message);\n}\nconst original = $('Validate Input').first().json;\nreturn [{ json: { ...original, analysis } }];"
+ },
+ "id": "merge-data",
+ "name": "Merge Data",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [800, 400]
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "Create a Twitter/X thread (5-7 tweets, each under 280 chars). First tweet: powerful hook. Last: CTA + hashtags. Use numbered format 1/, 2/. JSON: { \"thread\": [\"tweet1\", ...] }"
+ },
+ {
+ "role": "user",
+ "content": "=Title: {{$json.title}}\nKey Points: {{JSON.stringify($json.analysis.keyPoints)}}\nCore Message: {{$json.analysis.coreMessage}}\nBrand Voice: {{$json.brandVoice}}"
+ }
+ ]
+ },
+ "options": { "temperature": 0.7, "maxTokens": 1200, "responseFormat": "json_object" }
+ },
+ "id": "gen-twitter",
+ "name": "Generate: Twitter Thread",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [1040, 200],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "Create a LinkedIn post: bold first line, short paragraphs, personal insight, end with question, 3-5 hashtags. 1300-1800 chars. JSON: { \"post\": \"...\" }"
+ },
+ {
+ "role": "user",
+ "content": "=Title: {{$json.title}}\nKey Points: {{JSON.stringify($json.analysis.keyPoints)}}\nCore Message: {{$json.analysis.coreMessage}}\nBrand Voice: {{$json.brandVoice}}"
+ }
+ ]
+ },
+ "options": { "temperature": 0.7, "maxTokens": 1000, "responseFormat": "json_object" }
+ },
+ "id": "gen-linkedin",
+ "name": "Generate: LinkedIn Post",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [1040, 400],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "Create an Instagram caption: hook line, micro-story, emojis, CTA, 20-30 hashtags in separate block. JSON: { \"caption\": \"...\", \"hashtags\": [...] }"
+ },
+ {
+ "role": "user",
+ "content": "=Title: {{$json.title}}\nKey Points: {{JSON.stringify($json.analysis.keyPoints)}}\nBrand Voice: {{$json.brandVoice}}"
+ }
+ ]
+ },
+ "options": { "temperature": 0.75, "maxTokens": 1200, "responseFormat": "json_object" }
+ },
+ "id": "gen-instagram",
+ "name": "Generate: Instagram Caption",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [1040, 600],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "Create a Facebook post: relatable opening, story format, 100-250 words, conversation question at end, no external links, friendly tone. JSON: { \"post\": \"...\" }"
+ },
+ {
+ "role": "user",
+ "content": "=Title: {{$json.title}}\nKey Points: {{JSON.stringify($json.analysis.keyPoints)}}\nBrand Voice: {{$json.brandVoice}}"
+ }
+ ]
+ },
+ "options": { "temperature": 0.7, "maxTokens": 800, "responseFormat": "json_object" }
+ },
+ "id": "gen-facebook",
+ "name": "Generate: Facebook Post",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [1040, 800],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "jsCode": "const original = $('Merge Data').first().json;\nconst parse = (n) => { try { return JSON.parse($(n).first().json.message?.content || '{}'); } catch(e) { return { error: e.message }; } };\n\nconst result = {\n requestId: original.requestId,\n title: original.title,\n completedAt: new Date().toISOString(),\n platforms: {\n twitter: parse('Generate: Twitter Thread'),\n linkedin: parse('Generate: LinkedIn Post'),\n instagram: parse('Generate: Instagram Caption'),\n facebook: parse('Generate: Facebook Post')\n }\n};\n\nreturn [{ json: result }];"
+ },
+ "id": "collect-results",
+ "name": "Collect Results",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [1300, 500]
+ },
+ {
+ "parameters": {
+ "operation": "append",
+ "documentId": {
+ "__rl": true,
+ "value": "={{ $env.FLOWSCRIBE_SHEET_ID }}",
+ "mode": "id"
+ },
+ "sheetName": {
+ "__rl": true,
+ "value": "Lite Log",
+ "mode": "name"
+ },
+ "columns": {
+ "mappingMode": "defineBelow",
+ "value": {
+ "Request ID": "={{ $json.requestId }}",
+ "Title": "={{ $json.title }}",
+ "Completed At": "={{ $json.completedAt }}",
+ "Twitter Thread": "={{ JSON.stringify($json.platforms.twitter.thread) }}",
+ "LinkedIn Post": "={{ $json.platforms.linkedin.post }}",
+ "Instagram Caption": "={{ $json.platforms.instagram.caption }}",
+ "Facebook Post": "={{ $json.platforms.facebook.post }}"
+ }
+ },
+ "options": {}
+ },
+ "id": "save-sheets",
+ "name": "Save to Google Sheets",
+ "type": "n8n-nodes-base.googleSheets",
+ "typeVersion": 4.5,
+ "position": [1520, 400],
+ "retryOnFail": true,
+ "maxTries": 2
+ },
+ {
+ "parameters": {
+ "respondWith": "json",
+ "responseBody": "={{ JSON.stringify({ success: true, requestId: $json.requestId, title: $json.title, platforms: ['twitter', 'linkedin', 'instagram', 'facebook'], message: '4 platform contents generated. Check Google Sheets.' }) }}"
+ },
+ "id": "respond-success",
+ "name": "Respond: Success",
+ "type": "n8n-nodes-base.respondToWebhook",
+ "typeVersion": 1.1,
+ "position": [1520, 600]
+ },
+ {
+ "parameters": {
+ "content": "## FlowScribe Lite — Quick 4-Platform Repurpose\n\nSimplified version with 4 core platforms:\nTwitter/X | LinkedIn | Instagram | Facebook\n\nFaster processing, lower API cost.\nIdeal for daily content repurposing.",
+ "width": 350,
+ "height": 200,
+ "color": 6
+ },
+ "id": "note-overview",
+ "name": "Sticky Note",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [120, 160]
+ }
+ ],
+ "connections": {
+ "Receive Content": {
+ "main": [[{ "node": "Validate Input", "type": "main", "index": 0 }]]
+ },
+ "Validate Input": {
+ "main": [[{ "node": "AI: Quick Analysis", "type": "main", "index": 0 }]]
+ },
+ "AI: Quick Analysis": {
+ "main": [[{ "node": "Merge Data", "type": "main", "index": 0 }]]
+ },
+ "Merge Data": {
+ "main": [[
+ { "node": "Generate: Twitter Thread", "type": "main", "index": 0 },
+ { "node": "Generate: LinkedIn Post", "type": "main", "index": 0 },
+ { "node": "Generate: Instagram Caption", "type": "main", "index": 0 },
+ { "node": "Generate: Facebook Post", "type": "main", "index": 0 }
+ ]]
+ },
+ "Generate: Twitter Thread": {
+ "main": [[{ "node": "Collect Results", "type": "main", "index": 0 }]]
+ },
+ "Generate: LinkedIn Post": {
+ "main": [[{ "node": "Collect Results", "type": "main", "index": 0 }]]
+ },
+ "Generate: Instagram Caption": {
+ "main": [[{ "node": "Collect Results", "type": "main", "index": 0 }]]
+ },
+ "Generate: Facebook Post": {
+ "main": [[{ "node": "Collect Results", "type": "main", "index": 0 }]]
+ },
+ "Collect Results": {
+ "main": [[
+ { "node": "Save to Google Sheets", "type": "main", "index": 0 },
+ { "node": "Respond: Success", "type": "main", "index": 0 }
+ ]]
+ }
+ },
+ "settings": {
+ "executionOrder": "v1",
+ "saveManualExecutions": true
+ },
+ "tags": [
+ { "name": "FlowScribe", "id": "flowscribe" },
+ { "name": "AutoFlow", "id": "autoflow" },
+ { "name": "Lite", "id": "lite" }
+ ],
+ "meta": {
+ "instanceId": "flowscribe-lite-v1"
+ }
+}
diff --git a/OpenAI_and_LLMs/SupportFlow Lite - Simple AI Customer Support Chatbot.json b/OpenAI_and_LLMs/SupportFlow Lite - Simple AI Customer Support Chatbot.json
new file mode 100644
index 0000000..ed355b8
--- /dev/null
+++ b/OpenAI_and_LLMs/SupportFlow Lite - Simple AI Customer Support Chatbot.json
@@ -0,0 +1,142 @@
+{
+ "name": "SupportFlow Lite — Simple AI Support Bot (No RAG)",
+ "nodes": [
+ {
+ "parameters": {
+ "httpMethod": "POST",
+ "path": "supportflow-lite",
+ "responseMode": "responseNode",
+ "options": {}
+ },
+ "id": "trigger-webhook",
+ "name": "Receive Message",
+ "type": "n8n-nodes-base.webhook",
+ "typeVersion": 2,
+ "position": [200, 400],
+ "webhookId": "supportflow-lite"
+ },
+ {
+ "parameters": {
+ "jsCode": "const body = $input.first().json.body || $input.first().json;\nconst message = body.message || body.text || '';\nconst sessionId = body.session_id || require('crypto').randomUUID();\nconst customerName = body.customer_name || 'Customer';\n\nif (!message || message.trim().length < 2) {\n throw new Error('Message is required.');\n}\n\nreturn [{ json: { message: message.trim(), sessionId, customerName, receivedAt: new Date().toISOString(), messageId: require('crypto').randomUUID() } }];"
+ },
+ "id": "validate-input",
+ "name": "Validate Input",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [420, 400]
+ },
+ {
+ "parameters": {
+ "model": "gpt-4o-mini",
+ "messages": {
+ "values": [
+ {
+ "role": "system",
+ "content": "=You are a helpful customer support assistant for {{ $env.SUPPORTFLOW_COMPANY_NAME || 'our company' }}.\n\nCompany info:\n{{ $env.SUPPORTFLOW_COMPANY_INFO || 'We are a technology company focused on providing excellent customer service.' }}\n\nRules:\n1. Be friendly, professional, and concise\n2. Answer based on the company info provided\n3. If you don't know the answer, say: 'I don't have that information. Let me connect you with our team at [support email].'\n4. Keep responses under 150 words\n5. Never make up product features, prices, or policies\n\nRespond in JSON: { \"answer\": \"...\", \"confidence\": 0.0-1.0, \"category\": \"faq|billing|technical|complaint|other\" }"
+ },
+ {
+ "role": "user",
+ "content": "=Customer {{$json.customerName}} asks:\n{{$json.message}}"
+ }
+ ]
+ },
+ "options": { "temperature": 0.3, "maxTokens": 500, "responseFormat": "json_object" }
+ },
+ "id": "ai-respond",
+ "name": "AI: Generate Response",
+ "type": "n8n-nodes-base.openAi",
+ "typeVersion": 1.8,
+ "position": [660, 400],
+ "retryOnFail": true,
+ "maxTries": 3,
+ "waitBetweenTries": 2000
+ },
+ {
+ "parameters": {
+ "jsCode": "const original = $('Validate Input').first().json;\nconst aiRaw = $input.first().json;\nlet ai;\ntry {\n ai = JSON.parse(aiRaw.message?.content || aiRaw.content || '{}');\n} catch (e) {\n ai = { answer: 'Sorry, I had trouble processing that. Please try again.', confidence: 0, category: 'other' };\n}\n\nreturn [{ json: { ...original, answer: ai.answer || '', confidence: ai.confidence || 0, category: ai.category || 'other', respondedAt: new Date().toISOString() } }];"
+ },
+ "id": "merge-response",
+ "name": "Merge Response",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [900, 400]
+ },
+ {
+ "parameters": {
+ "operation": "append",
+ "documentId": { "__rl": true, "value": "={{ $env.SUPPORTFLOW_SHEET_ID }}", "mode": "id" },
+ "sheetName": { "__rl": true, "value": "Lite Conversations", "mode": "name" },
+ "columns": {
+ "mappingMode": "defineBelow",
+ "value": {
+ "Message ID": "={{ $json.messageId }}",
+ "Session ID": "={{ $json.sessionId }}",
+ "Customer": "={{ $json.customerName }}",
+ "Question": "={{ $json.message }}",
+ "Answer": "={{ $json.answer }}",
+ "Confidence": "={{ $json.confidence }}",
+ "Category": "={{ $json.category }}",
+ "Received": "={{ $json.receivedAt }}",
+ "Responded": "={{ $json.respondedAt }}"
+ }
+ },
+ "options": {}
+ },
+ "id": "log-sheets",
+ "name": "Log to Sheets",
+ "type": "n8n-nodes-base.googleSheets",
+ "typeVersion": 4.5,
+ "position": [1140, 300],
+ "retryOnFail": true,
+ "maxTries": 2
+ },
+ {
+ "parameters": {
+ "respondWith": "json",
+ "responseBody": "={{ JSON.stringify({ success: true, messageId: $json.messageId, answer: $json.answer, confidence: $json.confidence, category: $json.category }) }}"
+ },
+ "id": "respond",
+ "name": "Respond to Customer",
+ "type": "n8n-nodes-base.respondToWebhook",
+ "typeVersion": 1.1,
+ "position": [1140, 500]
+ },
+ {
+ "parameters": {
+ "content": "## SupportFlow Lite — Simple AI Bot\n\nNo vector database needed.\nUses company info from environment variable.\n\nBest for: Small businesses, MVPs, testing.\nSetup: 2 minutes (just OpenAI + Sheets).\n\nUpgrade to Main workflow when you\nneed RAG-powered knowledge base.",
+ "width": 350,
+ "height": 220,
+ "color": 6
+ },
+ "id": "note-overview",
+ "name": "Sticky Note: Lite",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [120, 140]
+ }
+ ],
+ "connections": {
+ "Receive Message": {
+ "main": [[{ "node": "Validate Input", "type": "main", "index": 0 }]]
+ },
+ "Validate Input": {
+ "main": [[{ "node": "AI: Generate Response", "type": "main", "index": 0 }]]
+ },
+ "AI: Generate Response": {
+ "main": [[{ "node": "Merge Response", "type": "main", "index": 0 }]]
+ },
+ "Merge Response": {
+ "main": [[
+ { "node": "Log to Sheets", "type": "main", "index": 0 },
+ { "node": "Respond to Customer", "type": "main", "index": 0 }
+ ]]
+ }
+ },
+ "settings": { "executionOrder": "v1", "saveManualExecutions": true },
+ "tags": [
+ { "name": "SupportFlow", "id": "supportflow" },
+ { "name": "AutoFlow", "id": "autoflow" },
+ { "name": "Lite", "id": "lite" }
+ ],
+ "meta": { "instanceId": "supportflow-lite-v1" }
+}
diff --git a/Other_Integrations_and_Use_Cases/ClientFlow Lite - Client Onboarding Automation.json b/Other_Integrations_and_Use_Cases/ClientFlow Lite - Client Onboarding Automation.json
new file mode 100644
index 0000000..2543206
--- /dev/null
+++ b/Other_Integrations_and_Use_Cases/ClientFlow Lite - Client Onboarding Automation.json
@@ -0,0 +1,48 @@
+{
+ "name": "ClientFlow Lite — Simple Onboarding (Email + Log)",
+ "nodes": [
+ {
+ "parameters": { "httpMethod": "POST", "path": "clientflow-lite", "responseMode": "responseNode", "options": {} },
+ "id": "trigger", "name": "New Client", "type": "n8n-nodes-base.webhook", "typeVersion": 2, "position": [200, 400], "webhookId": "clientflow-lite"
+ },
+ {
+ "parameters": {
+ "jsCode": "try {\n const b = $input.first().json.body || $input.first().json;\n if (!b.name && !b.client_name) throw new Error('Client name required.');\n return [{ json: { name: b.client_name || b.name, email: b.client_email || b.email || '', company: b.company_name || b.company || '', projectType: b.project_type || 'General', clientId: 'CF-' + Date.now().toString(36).toUpperCase(), onboardedAt: new Date().toISOString() } }];\n} catch (e) { throw new Error('Invalid data: ' + e.message); }"
+ },
+ "id": "validate", "name": "Validate", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [420, 400]
+ },
+ {
+ "parameters": {
+ "sendTo": "={{ $json.email }}", "subject": "=Welcome aboard, {{ $json.name }}!", "emailType": "text",
+ "message": "=Hi {{ $json.name }},\n\nWelcome! We're excited to start working on your {{ $json.projectType }} project.\n\nWe'll be in touch soon with next steps and a kick-off meeting invite.\n\nBest regards,\n{{ $env.CLIENTFLOW_SENDER_NAME || 'The Team' }}"
+ },
+ "id": "send-email", "name": "Gmail: Welcome Email", "type": "n8n-nodes-base.gmail", "typeVersion": 2.1, "position": [660, 300], "retryOnFail": true, "maxTries": 2
+ },
+ {
+ "parameters": {
+ "operation": "append",
+ "documentId": { "__rl": true, "value": "={{ $env.CLIENTFLOW_SHEET_ID }}", "mode": "id" },
+ "sheetName": { "__rl": true, "value": "Lite Pipeline", "mode": "name" },
+ "columns": { "mappingMode": "defineBelow", "value": { "Client ID": "={{ $json.clientId }}", "Name": "={{ $json.name }}", "Email": "={{ $json.email }}", "Company": "={{ $json.company }}", "Project": "={{ $json.projectType }}", "Onboarded": "={{ $json.onboardedAt }}" } },
+ "options": {}
+ },
+ "id": "log-sheets", "name": "Log to Sheets", "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.5, "position": [660, 500], "retryOnFail": true, "maxTries": 2
+ },
+ {
+ "parameters": { "respondWith": "json", "responseBody": "={{ JSON.stringify({ success: true, clientId: $json.clientId, name: $json.name }) }}" },
+ "id": "respond", "name": "Respond", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [900, 400]
+ },
+ {
+ "parameters": { "content": "## ClientFlow Lite\n\nSimplest onboarding: welcome email + sheet log.\nNo Stripe, Calendar, or Slack.\nPerfect for solo freelancers.", "width": 300, "height": 160, "color": 6 },
+ "id": "note", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [120, 180]
+ }
+ ],
+ "connections": {
+ "New Client": { "main": [[{ "node": "Validate", "type": "main", "index": 0 }]] },
+ "Validate": { "main": [[{ "node": "Gmail: Welcome Email", "type": "main", "index": 0 }, { "node": "Log to Sheets", "type": "main", "index": 0 }]] },
+ "Log to Sheets": { "main": [[{ "node": "Respond", "type": "main", "index": 0 }]] }
+ },
+ "settings": { "executionOrder": "v1", "saveManualExecutions": true },
+ "tags": [{ "name": "ClientFlow", "id": "clientflow" }, { "name": "AutoFlow", "id": "autoflow" }, { "name": "Lite", "id": "lite" }],
+ "meta": { "instanceId": "clientflow-lite-v1" }
+}
diff --git a/Other_Integrations_and_Use_Cases/VoiceAgent Lite - Phone Call Logger.json b/Other_Integrations_and_Use_Cases/VoiceAgent Lite - Phone Call Logger.json
new file mode 100644
index 0000000..f8c962e
--- /dev/null
+++ b/Other_Integrations_and_Use_Cases/VoiceAgent Lite - Phone Call Logger.json
@@ -0,0 +1,18 @@
+{
+ "name": "VoiceAgent Lite — Simple Call Logger",
+ "nodes": [
+ {"parameters":{"httpMethod":"POST","path":"voiceagent-lite","responseMode":"responseNode","options":{}},"id":"trigger","name":"Call Received","type":"n8n-nodes-base.webhook","typeVersion":2,"position":[200,400],"webhookId":"voiceagent-lite"},
+ {"parameters":{"jsCode":"try {\n const b = $input.first().json.body || $input.first().json;\n return [{ json: { callId: b.call_id || require('crypto').randomUUID(), caller: b.caller_name || b.from || 'Unknown', phone: b.caller_phone || b.from || '', duration: b.duration || 0, transcript: b.transcript || '', summary: b.summary || '', receivedAt: new Date().toISOString() } }];\n} catch (e) { throw new Error('Parse failed: ' + e.message); }"},"id":"parse","name":"Parse Call","type":"n8n-nodes-base.code","typeVersion":2,"position":[420,400]},
+ {"parameters":{"operation":"append","documentId":{"__rl":true,"value":"={{ $env.VOICEAGENT_SHEET_ID }}","mode":"id"},"sheetName":{"__rl":true,"value":"Lite Call Log","mode":"name"},"columns":{"mappingMode":"defineBelow","value":{"Call ID":"={{ $json.callId }}","Date":"={{ $json.receivedAt }}","Caller":"={{ $json.caller }}","Phone":"={{ $json.phone }}","Duration":"={{ $json.duration }}","Summary":"={{ $json.summary }}","Transcript":"={{ $json.transcript.substring(0,500) }}"}},"options":{}},"id":"log","name":"Log to Sheets","type":"n8n-nodes-base.googleSheets","typeVersion":4.5,"position":[660,400],"retryOnFail":true,"maxTries":2},
+ {"parameters":{"respondWith":"json","responseBody":"={{ JSON.stringify({ success: true, callId: $json.callId, caller: $json.caller }) }}"},"id":"respond","name":"Respond","type":"n8n-nodes-base.respondToWebhook","typeVersion":1.1,"position":[900,400]},
+ {"parameters":{"content":"## VoiceAgent Lite\nSimple call logging.\nNo AI analysis, no calendar.\nJust log calls to Sheets.","width":260,"height":120,"color":6},"id":"note","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[120,220]}
+ ],
+ "connections": {
+ "Call Received":{"main":[[{"node":"Parse Call","type":"main","index":0}]]},
+ "Parse Call":{"main":[[{"node":"Log to Sheets","type":"main","index":0}]]},
+ "Log to Sheets":{"main":[[{"node":"Respond","type":"main","index":0}]]}
+ },
+ "settings":{"executionOrder":"v1","saveManualExecutions":true},
+ "tags":[{"name":"VoiceAgent","id":"voiceagent"},{"name":"AutoFlow","id":"autoflow"},{"name":"Lite","id":"lite"}],
+ "meta":{"instanceId":"voiceagent-lite-v1"}
+}