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 two Hebrew WhatsApp templates: lead capture and escalating invoice reminders

achiya-automationfda4db634678
diff --git a/README.md b/README.md
index 16e1d38..b784f37 100644
--- a/README.md
+++ b/README.md
@@ -356,13 +356,15 @@ This is the largest category with 17 AI and LLM templates for n8n. Templates inc
### How do I build WhatsApp chatbots with n8n?
-This section includes 5 WhatsApp and cross-channel messaging automation templates for n8n. Automate sales meeting preparation with AI and Apify, build WhatsApp chatbots, or use one workflow to receive and send messages across WhatsApp, Instagram DM, and Facebook Messenger. Ideal for customer service, sales, and business communication workflows.
+This section includes 7 WhatsApp and cross-channel messaging automation templates for n8n. Automate sales meeting preparation with AI and Apify, build WhatsApp chatbots, capture leads to Google Sheets with Hebrew (RTL) auto-replies, send escalating invoice reminders, or use one workflow to receive and send messages across WhatsApp, Instagram DM, and Facebook Messenger. Ideal for customer service, sales, and business communication workflows.
| Title | Description | Department | Link |
|---|---|---|---|
| Automate Sales Meeting Prep with AI & APIFY Sent To WhatsApp | This workflow automates sales meeting preparation using AI and Apify, sending relevant information to WhatsApp. | Sales/AI/Automation | [Link to Template](./WhatsApp/Automate%20Sales%20Meeting%20Prep%20with%20AI%20&%20APIFY%20Sent%20To%20WhatsApp.json) |
| Building Your First WhatsApp Chatbot | This workflow guides you through building your first WhatsApp chatbot. | Customer Service/Development | [Link to Template](./WhatsApp/Building%20Your%20First%20WhatsApp%20Chatbot.json) |
| Complete business WhatsApp AI-Powered RAG Chatbot using OpenAI | This workflow builds a complete business WhatsApp AI-powered RAG chatbot using OpenAI. | Customer Service/AI/Development | [Link to Template](./WhatsApp/Complete%20business%20WhatsApp%20AI-Powered%20RAG%20Chatbot%20using%20OpenAI.json) |
+| Capture WhatsApp Leads to Google Sheets with Instant Hebrew Auto-Reply | Turns each incoming WhatsApp message (WAHA or official Cloud API payloads) into a structured lead row in Google Sheets and instantly sends the sender a Hebrew confirmation reply. Filters out groups and own messages, normalizes phone numbers to E.164. | Sales/Customer Service | [Link to Template](./WhatsApp/Capture%20WhatsApp%20Leads%20to%20Google%20Sheets%20with%20Instant%20Hebrew%20Auto-Reply.json) |
+| Send Escalating WhatsApp Invoice Reminders from Google Sheets (Hebrew) | Reads open invoices from Google Sheets every morning and sends a tiered Hebrew WhatsApp reminder when an invoice is exactly 7, 14 or 30 days overdue, then logs the sent tier and date back to the sheet so no customer is reminded twice. | Finance/Operations | [Link to Template](./WhatsApp/Send%20Escalating%20WhatsApp%20Invoice%20Reminders%20from%20Google%20Sheets%20(Hebrew).json) |
| Receive and Send Messages Across WhatsApp, Instagram and Facebook Messenger with Fiwano | Demonstrates a minimal receive → custom logic → send pattern across three official Meta APIs. Fiwano unifies the channels into one Trigger/Action node set and normalized payload; replace the middle with any routing, CRM, helpdesk, or AI logic. | Customer Service/Development | [Link to Template](./WhatsApp/Receive%20and%20Send%20Messages%20Across%20WhatsApp%2C%20Instagram%20and%20Facebook%20Messenger%20with%20Fiwano.json) |
| Respond to WhatsApp Messages with AI Like a Pro! | This workflow enables professional AI-powered responses to WhatsApp messages. | Customer Service/AI/Communication | [Link to Template](./WhatsApp/Respond%20to%20WhatsApp%20Messages%20with%20AI%20Like%20a%20Pro!.json) |
diff --git a/WhatsApp/Capture WhatsApp Leads to Google Sheets with Instant Hebrew Auto-Reply.json b/WhatsApp/Capture WhatsApp Leads to Google Sheets with Instant Hebrew Auto-Reply.json
new file mode 100644
index 0000000..f55f74f
--- /dev/null
+++ b/WhatsApp/Capture WhatsApp Leads to Google Sheets with Instant Hebrew Auto-Reply.json
@@ -0,0 +1,161 @@
+{
+ "name": "Capture WhatsApp Leads to Google Sheets with Instant Hebrew Auto-Reply",
+ "nodes": [
+ {
+ "parameters": {
+ "content": "## Capture WhatsApp leads into Google Sheets\n\nEvery incoming WhatsApp message becomes a lead row in Google Sheets, and the sender instantly gets a confirmation reply in Hebrew.\n\n**Flow:**\n1. Webhook receives the message (WAHA or WhatsApp Cloud API)\n2. Code node extracts name + text and normalizes the phone to +972 E.164\n3. The lead is appended to Google Sheets\n4. An auto-reply is sent back on WhatsApp\n\nGroup chats and your own outgoing messages are ignored on purpose.\n\nBuilt by [Achiya Automation](https://achiya-automation.com) — WhatsApp & automation studio from Israel.",
+ "width": 380,
+ "height": 500
+ },
+ "id": "sticky-overview-t1",
+ "name": "Sticky Note",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [-1080, -220]
+ },
+ {
+ "parameters": {
+ "content": "## Setup (5 minutes)\n1. Point your WAHA webhook (or Meta app webhook) at this workflow's webhook URL — use the **Production URL** after activating.\n2. Create a Google Sheet with the columns: `Timestamp | Name | Phone | Message | Source`.\n3. Connect your Google Sheets credential and pick the spreadsheet + tab in the Sheets node.\n4. In the HTTP node, replace `YOUR-WAHA-SERVER` with your WAHA base URL and attach a Header Auth credential (header `X-Api-Key`).\n5. Edit the Hebrew auto-reply text to match your business, then activate.",
+ "width": 940,
+ "height": 240,
+ "color": 4
+ },
+ "id": "sticky-setup-t1",
+ "name": "Sticky Note1",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [-660, -480]
+ },
+ {
+ "parameters": {
+ "content": "## Adapting this template\n- **WAHA vs WhatsApp Cloud API:** the Code node handles both payload shapes automatically.\n- **Not in Israel?** Change the `972` country prefix inside the Code node.\n- **Reply via Cloud API instead of WAHA:** swap the HTTP node for the official WhatsApp Business Cloud node (message → send).\n- **Want lead alerts too?** Branch after the Sheets node into Telegram / Email / Slack.",
+ "width": 940,
+ "height": 220,
+ "color": 5
+ },
+ "id": "sticky-adapt-t1",
+ "name": "Sticky Note2",
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [-660, 200]
+ },
+ {
+ "parameters": {
+ "httpMethod": "POST",
+ "path": "whatsapp-lead-intake"
+ },
+ "id": "webhook-whatsapp-in-t1",
+ "name": "WhatsApp Incoming Message",
+ "type": "n8n-nodes-base.webhook",
+ "typeVersion": 2.1,
+ "position": [-600, 0],
+ "webhookId": "b3e6f2a1-8c4d-4f5e-9a2b-7c1d3e5f8a01"
+ },
+ {
+ "parameters": {
+ "mode": "runOnceForAllItems",
+ "language": "javaScript",
+ "jsCode": "// Accepts WAHA (waha.devlike.pro) and Meta WhatsApp Cloud API webhooks.\n// Extracts sender name, message text and a normalized Israeli phone number.\nconst req = $input.first().json;\nconst body = req.body ?? req;\n\nlet raw = '';\nlet text = '';\nlet name = '';\n\nif (body.payload) {\n // WAHA payload: { event: 'message', payload: { from, body, fromMe, _data } }\n const p = body.payload;\n if (p.fromMe) return []; // ignore messages sent by us\n raw = p.from ?? '';\n if (String(raw).endsWith('@g.us')) return []; // ignore group chats\n text = p.body ?? '';\n name = p._data?.notifyName ?? p.notifyName ?? '';\n} else if (body.entry) {\n // WhatsApp Cloud API payload: entry[0].changes[0].value\n const value = body.entry?.[0]?.changes?.[0]?.value ?? {};\n const msg = value.messages?.[0];\n if (!msg) return []; // ignore delivery/status callbacks\n raw = msg.from ?? '';\n text = msg.text?.body ?? '';\n name = value.contacts?.[0]?.profile?.name ?? '';\n} else {\n return []; // unknown payload shape\n}\n\nif (!raw) return [];\n\n// Normalize to Israeli E.164 (+972...). Adjust the prefix for other countries.\nlet digits = String(raw).replace(/@.*$/, '').replace(/\\D/g, '');\nif (digits.startsWith('0')) digits = '972' + digits.slice(1);\nif (!digits.startsWith('972')) digits = '972' + digits;\n\nreturn [{\n json: {\n name: name || 'New WhatsApp lead',\n phone: '+' + digits,\n chatId: digits + '@c.us',\n message: text,\n receivedAt: $now.toISO(),\n source: 'WhatsApp',\n },\n}];"
+ },
+ "id": "code-normalize-lead-t1",
+ "name": "Normalize Lead Data",
+ "type": "n8n-nodes-base.code",
+ "typeVersion": 2,
+ "position": [-360, 0]
+ },
+ {
+ "parameters": {
+ "authentication": "oAuth2",
+ "resource": "sheet",
+ "operation": "append",
+ "documentId": {
+ "__rl": true,
+ "mode": "list",
+ "value": "",
+ "cachedResultName": "Leads spreadsheet"
+ },
+ "sheetName": {
+ "__rl": true,
+ "mode": "list",
+ "value": "",
+ "cachedResultName": "Leads"
+ },
+ "columns": {
+ "mappingMode": "defineBelow",
+ "value": {
+ "Timestamp": "={{ $json.receivedAt }}",
+ "Name": "={{ $json.name }}",
+ "Phone": "={{ $json.phone }}",
+ "Message": "={{ $json.message }}",
+ "Source": "={{ $json.source }}"
+ },
+ "schema": [
+ { "id": "Timestamp", "displayName": "Timestamp", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true },
+ { "id": "Name", "displayName": "Name", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true },
+ { "id": "Phone", "displayName": "Phone", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true },
+ { "id": "Message", "displayName": "Message", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": false },
+ { "id": "Source", "displayName": "Source", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": false }
+ ]
+ },
+ "options": {}
+ },
+ "id": "sheets-append-lead-t1",
+ "name": "Add Lead to Google Sheets",
+ "type": "n8n-nodes-base.googleSheets",
+ "typeVersion": 4.7,
+ "position": [-120, 0]
+ },
+ {
+ "parameters": {
+ "method": "POST",
+ "url": "https://YOUR-WAHA-SERVER/api/sendText",
+ "authentication": "genericCredentialType",
+ "genericAuthType": "httpHeaderAuth",
+ "sendBody": true,
+ "contentType": "json",
+ "specifyBody": "keypair",
+ "bodyParameters": {
+ "parameters": [
+ { "name": "session", "value": "default" },
+ { "name": "chatId", "value": "={{ $('Normalize Lead Data').item.json.chatId }}" },
+ { "name": "text", "value": "=תודה {{ $('Normalize Lead Data').item.json.name }}! קיבלנו את הפנייה שלך ונחזור אליך בהקדם 🙏" }
+ ]
+ },
+ "options": {}
+ },
+ "id": "http-send-reply-t1",
+ "name": "Send WhatsApp Auto-Reply (WAHA)",
+ "type": "n8n-nodes-base.httpRequest",
+ "typeVersion": 4.4,
+ "position": [120, 0]
+ }
+ ],
+ "connections": {
+ "WhatsApp Incoming Message": {
+ "main": [
+ [
+ { "node": "Normalize Lead Data", "type": "main", "index": 0 }
+ ]
+ ]
+ },
+ "Normalize Lead Data": {
+ "main": [
+ [
+ { "node": "Add Lead to Google Sheets", "type": "main", "index": 0 }
+ ]
+ ]
+ },
+ "Add Lead to Google Sheets": {
+ "main": [
+ [
+ { "node": "Send WhatsApp Auto-Reply (WAHA)", "type": "main", "index": 0 }
+ ]
+ ]
+ }
+ },
+ "active": false,
+ "settings": {
+ "executionOrder": "v1"
+ },
+ "pinData": {}
+}
diff --git a/WhatsApp/Send Escalating WhatsApp Invoice Reminders from Google Sheets (Hebrew).json b/WhatsApp/Send Escalating WhatsApp Invoice Reminders from Google Sheets (Hebrew).json
new file mode 100644
index 0000000..851e586
--- /dev/null
+++ b/WhatsApp/Send Escalating WhatsApp Invoice Reminders from Google Sheets (Hebrew).json
@@ -0,0 +1 @@
+{"name": "Send Escalating WhatsApp Invoice Reminders from Google Sheets (Hebrew)", "nodes": [{"parameters": {"content": "## Send Escalating WhatsApp Invoice Reminders from Google Sheets (Hebrew)\n\n### How it works\n\nThis workflow runs every morning at 09:00 to check a Google Sheet for open invoices. It calculates whether each invoice is exactly 7, 14, or 30 days overdue and builds the matching Hebrew reminder message. Matching reminders are sent through a WAHA WhatsApp HTTP endpoint, then the invoice row is updated in Google Sheets to record the sent reminder.\n\n### Setup steps\n\n- Configure Google Sheets credentials in n8n and point the read node to the spreadsheet and sheet containing open invoices.\n- Ensure the invoice sheet includes the fields expected by the code node, such as due date, customer phone number, invoice details, and reminder status columns.\n- Update the WAHA HTTP request URL from https://YOUR-WAHA-SERVER/api/sendText to your actual WAHA server endpoint and configure any required authentication headers.\n- Verify the schedule trigger timezone so 09:00 matches the intended local morning time.\n- Test with sample invoices that are exactly 7, 14, and 30 days overdue to confirm message formatting and row updates.\n\n### Customization\n\nAdjust the code node to change overdue tiers, Hebrew message wording, phone-number formatting, or filtering rules. The schedule can also be changed if reminders should be sent at a different time or frequency.", "width": 460, "height": 920}, "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [-572, -340], "id": "942e28de-3ca6-4c5d-8708-66a258636010", "name": "Sticky Note"}, {"parameters": {"content": "## Schedule and read invoices\n\nStarts the workflow every morning at 09:00 and pulls the current list of open invoices from Google Sheets. These two left-side nodes form the intake cluster for the daily reminder run.", "width": 416, "height": 484, "color": 7}, "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [-48, -300], "id": "aa4a7373-a32c-40ca-b95a-7bb261c6a466", "name": "Sticky Note1"}, {"parameters": {"content": "## Calculate reminder tier\n\nFilters the invoice data to the items that are exactly 7, 14, or 30 days overdue and prepares the appropriate Hebrew WhatsApp reminder message for each matching invoice.", "width": 192, "height": 524, "color": 7}, "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [400, -340], "id": "061dc03e-5177-45a9-a065-4685aea1e7c7", "name": "Sticky Note2"}, {"parameters": {"content": "## Send and record reminders\n\nSends each prepared reminder through the WAHA WhatsApp API, then updates Google Sheets to mark that the reminder was sent.", "width": 416, "height": 484, "color": 7}, "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [624, -300], "id": "8f463d5b-06b7-4e9d-b161-7c513ee8898f", "name": "Sticky Note3"}, {"id": "schedule-daily-t2", "name": "When Each Day at 09:00", "type": "n8n-nodes-base.scheduleTrigger", "position": [0, 0], "parameters": {"rule": {"interval": [{"field": "days", "triggerAtHour": 9, "triggerAtMinute": 0}]}}, "typeVersion": 1.3}, {"id": "sheets-read-invoices-t2", "name": "Read Invoices from Sheets", "type": "n8n-nodes-base.googleSheets", "position": [224, 0], "parameters": {"options": {"returnAllMatches": "returnAllMatches"}, "resource": "sheet", "filtersUI": {"values": [{"lookupValue": "open", "lookupColumn": "Status"}]}, "operation": "read", "sheetName": {"__rl": true, "mode": "list", "value": "", "cachedResultName": "Invoices"}, "documentId": {"__rl": true, "mode": "list", "value": "", "cachedResultName": "Invoices spreadsheet"}, "authentication": "oAuth2", "combineFilters": "AND"}, "typeVersion": 4.7}, {"id": "code-compute-tier-t2", "name": "Calculate Overdue Tier", "type": "n8n-nodes-base.code", "position": [448, 0], "parameters": {"mode": "runOnceForAllItems", "jsCode": "// Keeps only invoices that are EXACTLY 7, 14 or 30 days overdue today,\n// so each invoice gets at most one reminder per tier (no daily spam).\n// Each tier has its own Hebrew message - edit the texts freely.\n\nconst REMINDERS = {\n 7: (inv) => 'היי ' + inv.name + ', תזכורת ידידותית: חשבונית מספר ' + inv.id + ' על סך ' + inv.amount + ' ₪ ממתינה לתשלום כבר שבוע. נשמח להסדרה בהקדם, תודה!',\n 14: (inv) => 'שלום ' + inv.name + ', חשבונית מספר ' + inv.id + ' על סך ' + inv.amount + ' ₪ פתוחה כבר 14 יום. נודה לטיפולך. אם התשלום כבר בוצע, אפשר להתעלם מהודעה זו.',\n 30: (inv) => 'שלום ' + inv.name + ', תזכורת אחרונה: חשבונית מספר ' + inv.id + ' על סך ' + inv.amount + ' ₪ פתוחה מזה 30 יום. נבקש להסדיר את התשלום עוד היום. לשאלות אנחנו זמינים כאן.',\n};\n\nfunction parseDate(v) {\n if (!v) return null;\n const s = String(v).trim();\n let d = DateTime.fromISO(s);\n if (!d.isValid) d = DateTime.fromFormat(s, 'dd/MM/yyyy');\n if (!d.isValid) d = DateTime.fromFormat(s, 'd/M/yyyy');\n if (!d.isValid) d = DateTime.fromFormat(s, 'MM/dd/yyyy');\n return d.isValid ? d.startOf('day') : null;\n}\n\nfunction toChatId(phone) {\n let digits = String(phone ?? '').replace(/\\D/g, '');\n if (digits.startsWith('0')) digits = '972' + digits.slice(1);\n if (!digits.startsWith('972')) digits = '972' + digits;\n return digits + '@c.us';\n}\n\nconst out = [];\nfor (const item of $input.all()) {\n const row = item.json;\n const due = parseDate(row.DueDate);\n if (!due) continue;\n const daysOverdue = Math.floor($today.diff(due, 'days').days);\n const buildMessage = REMINDERS[daysOverdue];\n if (!buildMessage) continue; // not exactly 7/14/30 days overdue today\n\n const inv = { id: row.InvoiceID ?? '', name: row.CustomerName ?? '', amount: row.Amount ?? '' };\n\n out.push({\n json: {\n InvoiceID: inv.id,\n CustomerName: inv.name,\n Amount: inv.amount,\n daysOverdue,\n tier: 'reminder-' + daysOverdue,\n chatId: toChatId(row.Phone),\n message: buildMessage(inv),\n },\n });\n}\nreturn out;", "language": "javaScript"}, "typeVersion": 2}, {"id": "http-send-reminder-t2", "name": "Post WhatsApp Reminder", "type": "n8n-nodes-base.httpRequest", "position": [672, 0], "parameters": {"url": "https://YOUR-WAHA-SERVER/api/sendText", "method": "POST", "options": {"batching": {"batch": {"batchSize": 1, "batchInterval": 3000}}}, "sendBody": true, "contentType": "json", "specifyBody": "keypair", "authentication": "genericCredentialType", "bodyParameters": {"parameters": [{"name": "session", "value": "default"}, {"name": "chatId", "value": "={{ $json.chatId }}"}, {"name": "text", "value": "={{ $json.message }}"}]}, "genericAuthType": "httpHeaderAuth"}, "typeVersion": 4.4}, {"id": "sheets-mark-sent-t2", "name": "Update Sent Status in Sheets", "type": "n8n-nodes-base.googleSheets", "position": [896, 0], "parameters": {"columns": {"value": {"InvoiceID": "={{ $('Calculate Overdue Tier').item.json.InvoiceID }}", "LastReminder": "={{ $('Calculate Overdue Tier').item.json.tier }}", "LastReminderDate": "={{ $now.toFormat('yyyy-MM-dd') }}"}, "schema": [{"id": "InvoiceID", "type": "string", "display": true, "required": false, "displayName": "InvoiceID", "defaultMatch": true, "canBeUsedToMatch": true}, {"id": "LastReminder", "type": "string", "display": true, "required": false, "displayName": "LastReminder", "defaultMatch": false, "canBeUsedToMatch": false}, {"id": "LastReminderDate", "type": "string", "display": true, "required": false, "displayName": "LastReminderDate", "defaultMatch": false, "canBeUsedToMatch": false}], "mappingMode": "defineBelow", "matchingColumns": ["InvoiceID"]}, "options": {}, "resource": "sheet", "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "", "cachedResultName": "Invoices"}, "documentId": {"__rl": true, "mode": "list", "value": "", "cachedResultName": "Invoices spreadsheet"}, "authentication": "oAuth2"}, "typeVersion": 4.7}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "connections": {"Read Invoices from Sheets": {"main": [[{"node": "Calculate Overdue Tier", "type": "main", "index": 0}]]}, "When Each Day at 09:00": {"main": [[{"node": "Read Invoices from Sheets", "type": "main", "index": 0}]]}, "Post WhatsApp Reminder": {"main": [[{"node": "Update Sent Status in Sheets", "type": "main", "index": 0}]]}, "Calculate Overdue Tier": {"main": [[{"node": "Post WhatsApp Reminder", "type": "main", "index": 0}]]}}}
\ No newline at end of file