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.
HTML ai-agentsai-automationautomationautomation-templatesawesomeawesome-listintegrationlow-coden8nn8n-automationn8n-templateno-code-aino-code-automationself-hostedtelegram-botworkflow-automation
Add 3 Italian-language templates for SMBs (leads intake, payment reminders, AI email digest)
Airvision2026661e32ff726e
diff --git a/Gmail_and_Email_Automation/Daily AI digest of unread emails to Telegram (Italian).json b/Gmail_and_Email_Automation/Daily AI digest of unread emails to Telegram (Italian).jsonnew file mode 100644index 0000000..dc75efd--- /dev/null+++ b/Gmail_and_Email_Automation/Daily AI digest of unread emails to Telegram (Italian).json@@ -0,0 +1,190 @@+{+ "name": "03 - Rassegna email mattutina con AI",+ "nodes": [+ {+ "parameters": {+ "content": "## ⚙️ CONFIGURAZIONE (5 min)\n\n1. **Gmail**: collega l'account da monitorare nel nodo 'Prendi email non lette'.\n2. **OpenAI**: inserisci la tua API key nel nodo 'Riassumi con AI' (funziona anche con altri provider cambiando nodo: Claude, Gemini, Ollama in locale a costo zero).\n3. **Telegram**: crea un bot con @BotFather e inserisci token + Chat ID nel nodo finale.\n\nOgni mattina alle 8:00 ricevi su Telegram un riassunto delle email non lette delle ultime 24 ore, ordinate per urgenza.\n\n💰 Costo AI: ~1 centesimo al giorno con gpt-4o-mini.",+ "height": 360,+ "width": 400+ },+ "id": "nota-setup",+ "name": "Nota di setup",+ "type": "n8n-nodes-base.stickyNote",+ "typeVersion": 1,+ "position": [-60, -200]+ },+ {+ "parameters": {+ "rule": {+ "interval": [+ {+ "field": "cronExpression",+ "expression": "0 8 * * 1-5"+ }+ ]+ }+ },+ "id": "schedule-8",+ "name": "Ogni mattina alle 8 (lun-ven)",+ "type": "n8n-nodes-base.scheduleTrigger",+ "typeVersion": 1.2,+ "position": [400, 0]+ },+ {+ "parameters": {+ "operation": "getAll",+ "returnAll": false,+ "limit": 25,+ "filters": {+ "q": "is:unread newer_than:1d -category:promotions -category:social"+ },+ "options": {}+ },+ "id": "gmail-getall",+ "name": "Prendi email non lette",+ "type": "n8n-nodes-base.gmail",+ "typeVersion": 2.1,+ "position": [620, 0]+ },+ {+ "parameters": {+ "jsCode": "// Compatta le email in un unico testo per l'AI\nconst righe = [];\n\nfor (const item of $input.all()) {\n const e = item.json;\n const da = e.from?.value?.[0]?.name || e.from?.value?.[0]?.address || e.From || 'Sconosciuto';\n const oggetto = e.subject || e.Subject || '(senza oggetto)';\n const anteprima = String(e.snippet || e.text || '').slice(0, 200).replace(/\\s+/g, ' ');\n righe.push(`DA: ${da}\\nOGGETTO: ${oggetto}\\nANTEPRIMA: ${anteprima}\\n---`);\n}\n\nif (righe.length === 0) {\n return [{ json: { vuoto: true, testoEmail: '' } }];\n}\n\nreturn [{ json: { vuoto: false, totale: righe.length, testoEmail: righe.join('\\n') } }];"+ },+ "id": "code-compatta",+ "name": "Prepara testo per AI",+ "type": "n8n-nodes-base.code",+ "typeVersion": 2,+ "position": [840, 0]+ },+ {+ "parameters": {+ "conditions": {+ "options": {+ "caseSensitive": true,+ "typeValidation": "strict",+ "version": 2+ },+ "conditions": [+ {+ "id": "c1",+ "leftValue": "={{ $json.vuoto }}",+ "rightValue": false,+ "operator": {+ "type": "boolean",+ "operation": "equals"+ }+ }+ ],+ "combinator": "and"+ },+ "options": {}+ },+ "id": "if-ci-sono-email",+ "name": "Ci sono email?",+ "type": "n8n-nodes-base.if",+ "typeVersion": 2.2,+ "position": [1060, 0]+ },+ {+ "parameters": {+ "modelId": {+ "__rl": true,+ "mode": "list",+ "value": "gpt-4o-mini"+ },+ "messages": {+ "values": [+ {+ "role": "system",+ "content": "Sei l'assistente di un imprenditore italiano. Ricevi l'elenco delle email non lette e produci una rassegna mattutina in italiano, breve e pratica, in questo formato:\n\n🔴 URGENTI (rispondere oggi):\n- [mittente]: [cosa vuole in max 10 parole]\n\n🟡 IMPORTANTI (questa settimana):\n- ...\n\n⚪ IL RESTO:\n- una riga sola che raggruppa il resto\n\nSii sintetico. Se qualcosa sembra un cliente arrabbiato o un'opportunità di vendita, segnalalo per primo."+ },+ {+ "content": "=Ecco le {{ $json.totale }} email non lette:\n\n{{ $json.testoEmail }}"+ }+ ]+ },+ "options": {}+ },+ "id": "openai-riassunto",+ "name": "Riassumi con AI",+ "type": "@n8n/n8n-nodes-langchain.openAi",+ "typeVersion": 1.8,+ "position": [1280, -100]+ },+ {+ "parameters": {+ "chatId": "INSERISCI-CHAT-ID",+ "text": "=☕ *Rassegna email del {{ $now.format('dd/MM') }}*\n\n{{ $json.message?.content || $json.output || $json.text }}",+ "additionalFields": {+ "parse_mode": "Markdown"+ }+ },+ "id": "telegram-rassegna",+ "name": "Invia rassegna su Telegram",+ "type": "n8n-nodes-base.telegram",+ "typeVersion": 1.2,+ "position": [1500, -100]+ }+ ],+ "connections": {+ "Ogni mattina alle 8 (lun-ven)": {+ "main": [+ [+ {+ "node": "Prendi email non lette",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Prendi email non lette": {+ "main": [+ [+ {+ "node": "Prepara testo per AI",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Prepara testo per AI": {+ "main": [+ [+ {+ "node": "Ci sono email?",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Ci sono email?": {+ "main": [+ [+ {+ "node": "Riassumi con AI",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Riassumi con AI": {+ "main": [+ [+ {+ "node": "Invia rassegna su Telegram",+ "type": "main",+ "index": 0+ }+ ]+ ]+ }+ },+ "settings": {+ "executionOrder": "v1"+ },+ "pinData": {}+}diff --git a/Google_Drive_and_Google_Sheets/Automatic payment reminders from Google Sheets (Italian).json b/Google_Drive_and_Google_Sheets/Automatic payment reminders from Google Sheets (Italian).jsonnew file mode 100644index 0000000..27d21bc--- /dev/null+++ b/Google_Drive_and_Google_Sheets/Automatic payment reminders from Google Sheets (Italian).json@@ -0,0 +1,116 @@+{+ "name": "02 - Promemoria scadenze pagamenti",+ "nodes": [+ {+ "parameters": {+ "content": "## ⚙️ CONFIGURAZIONE (5 min)\n\n1. **Google Sheets**: prepara un foglio 'Fatture' con le colonne:\n `Numero | Cliente | Email | Importo | Scadenza (gg/mm/aaaa) | Stato`\n Lo Stato deve essere `Pagata` oppure `Da pagare`.\n2. Collega le credenziali Google nel nodo 'Leggi fatture' e seleziona il foglio.\n3. **Gmail**: collega l'account che invierà i solleciti.\n4. Il controllo parte ogni mattina alle 8:00. Invia il promemoria se la scadenza è tra 3 giorni o se è già passata.\n\n💡 Personalizza il testo dell'email nel nodo 'Invia sollecito' con il tono della tua azienda.",+ "height": 380,+ "width": 400+ },+ "id": "nota-setup",+ "name": "Nota di setup",+ "type": "n8n-nodes-base.stickyNote",+ "typeVersion": 1,+ "position": [-60, -200]+ },+ {+ "parameters": {+ "rule": {+ "interval": [+ {+ "field": "cronExpression",+ "expression": "0 8 * * 1-5"+ }+ ]+ }+ },+ "id": "schedule-mattina",+ "name": "Ogni mattina alle 8 (lun-ven)",+ "type": "n8n-nodes-base.scheduleTrigger",+ "typeVersion": 1.2,+ "position": [400, 0]+ },+ {+ "parameters": {+ "documentId": {+ "__rl": true,+ "mode": "list",+ "value": ""+ },+ "sheetName": {+ "__rl": true,+ "mode": "list",+ "value": ""+ },+ "options": {}+ },+ "id": "sheets-leggi",+ "name": "Leggi fatture",+ "type": "n8n-nodes-base.googleSheets",+ "typeVersion": 4.5,+ "position": [620, 0]+ },+ {+ "parameters": {+ "jsCode": "// Filtra le fatture non pagate in scadenza entro 3 giorni o già scadute\nconst oggi = new Date();\noggi.setHours(0, 0, 0, 0);\n\nconst daAvvisare = [];\n\nfor (const item of $input.all()) {\n const f = item.json;\n const stato = String(f.Stato || '').trim().toLowerCase();\n if (stato === 'pagata') continue;\n\n // Data in formato gg/mm/aaaa\n const parti = String(f.Scadenza || '').split('/');\n if (parti.length !== 3) continue;\n const scadenza = new Date(Number(parti[2]), Number(parti[1]) - 1, Number(parti[0]));\n\n const giorniMancanti = Math.round((scadenza - oggi) / 86400000);\n\n if (giorniMancanti <= 3) {\n daAvvisare.push({\n json: {\n ...f,\n giorniMancanti,\n scaduta: giorniMancanti < 0,\n scadenzaTesto: `${parti[0]}/${parti[1]}/${parti[2]}`\n }\n });\n }\n}\n\nreturn daAvvisare;"+ },+ "id": "code-filtra",+ "name": "Trova scadenze imminenti",+ "type": "n8n-nodes-base.code",+ "typeVersion": 2,+ "position": [840, 0]+ },+ {+ "parameters": {+ "sendTo": "={{ $json.Email }}",+ "subject": "={{ $json.scaduta ? 'Promemoria: fattura ' + $json.Numero + ' scaduta' : 'Promemoria: fattura ' + $json.Numero + ' in scadenza' }}",+ "message": "=Gentile {{ $json.Cliente }},\n\nle ricordiamo che la fattura n. {{ $json.Numero }} di € {{ $json.Importo }} {{ $json.scaduta ? 'risulta scaduta il' : 'è in scadenza il' }} {{ $json.scadenzaTesto }}.\n\nSe il pagamento è già stato effettuato, la preghiamo di ignorare questo messaggio.\n\nPer qualsiasi chiarimento siamo a disposizione.\n\nCordiali saluti,\n[LA TUA AZIENDA]",+ "options": {}+ },+ "id": "gmail-sollecito",+ "name": "Invia sollecito",+ "type": "n8n-nodes-base.gmail",+ "typeVersion": 2.1,+ "position": [1060, 0]+ }+ ],+ "connections": {+ "Ogni mattina alle 8 (lun-ven)": {+ "main": [+ [+ {+ "node": "Leggi fatture",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Leggi fatture": {+ "main": [+ [+ {+ "node": "Trova scadenze imminenti",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Trova scadenze imminenti": {+ "main": [+ [+ {+ "node": "Invia sollecito",+ "type": "main",+ "index": 0+ }+ ]+ ]+ }+ },+ "settings": {+ "executionOrder": "v1"+ },+ "pinData": {}+}diff --git a/Google_Drive_and_Google_Sheets/Website leads to Google Sheets with Telegram alert and auto-reply (Italian).json b/Google_Drive_and_Google_Sheets/Website leads to Google Sheets with Telegram alert and auto-reply (Italian).jsonnew file mode 100644index 0000000..9dcf112--- /dev/null+++ b/Google_Drive_and_Google_Sheets/Website leads to Google Sheets with Telegram alert and auto-reply (Italian).json@@ -0,0 +1,176 @@+{+ "name": "01 - Lead dal sito → Registro + Notifiche",+ "nodes": [+ {+ "parameters": {+ "content": "## ⚙️ CONFIGURAZIONE (5 min)\n\n1. **Webhook**: copia l'URL di produzione del nodo 'Nuovo lead dal sito' e usalo come destinazione del form del tuo sito (WordPress: plugin WPForms/Elementor → webhook; oppure azione POST custom).\n Il form deve inviare i campi: `nome`, `email`, `telefono`, `messaggio`.\n2. **Google Sheets**: collega le credenziali Google e indica il tuo foglio 'Registro Lead' con le colonne: Data | Nome | Email | Telefono | Messaggio | Stato.\n3. **Telegram**: crea un bot con @BotFather, incolla il token nelle credenziali e inserisci il tuo Chat ID.\n4. **Gmail**: collega l'account che invierà l'email di cortesia al cliente.\n\nPoi ATTIVA il workflow (interruttore in alto a destra).",+ "height": 420,+ "width": 400+ },+ "id": "nota-setup",+ "name": "Nota di setup",+ "type": "n8n-nodes-base.stickyNote",+ "typeVersion": 1,+ "position": [-60, -220]+ },+ {+ "parameters": {+ "httpMethod": "POST",+ "path": "nuovo-lead",+ "options": {}+ },+ "id": "webhook-lead",+ "name": "Nuovo lead dal sito",+ "type": "n8n-nodes-base.webhook",+ "typeVersion": 2,+ "position": [400, 0]+ },+ {+ "parameters": {+ "assignments": {+ "assignments": [+ {+ "id": "a1",+ "name": "nome",+ "value": "={{ $json.body.nome || $json.body.name || 'Non indicato' }}",+ "type": "string"+ },+ {+ "id": "a2",+ "name": "email",+ "value": "={{ $json.body.email || '' }}",+ "type": "string"+ },+ {+ "id": "a3",+ "name": "telefono",+ "value": "={{ $json.body.telefono || $json.body.phone || 'Non indicato' }}",+ "type": "string"+ },+ {+ "id": "a4",+ "name": "messaggio",+ "value": "={{ $json.body.messaggio || $json.body.message || '' }}",+ "type": "string"+ },+ {+ "id": "a5",+ "name": "data",+ "value": "={{ $now.format('dd/MM/yyyy HH:mm') }}",+ "type": "string"+ }+ ]+ },+ "options": {}+ },+ "id": "set-campi",+ "name": "Estrai campi del lead",+ "type": "n8n-nodes-base.set",+ "typeVersion": 3.4,+ "position": [620, 0]+ },+ {+ "parameters": {+ "operation": "append",+ "documentId": {+ "__rl": true,+ "mode": "list",+ "value": ""+ },+ "sheetName": {+ "__rl": true,+ "mode": "list",+ "value": ""+ },+ "columns": {+ "mappingMode": "defineBelow",+ "value": {+ "Data": "={{ $json.data }}",+ "Nome": "={{ $json.nome }}",+ "Email": "={{ $json.email }}",+ "Telefono": "={{ $json.telefono }}",+ "Messaggio": "={{ $json.messaggio }}",+ "Stato": "Nuovo"+ }+ },+ "options": {}+ },+ "id": "sheets-append",+ "name": "Salva nel Registro Lead",+ "type": "n8n-nodes-base.googleSheets",+ "typeVersion": 4.5,+ "position": [840, 0]+ },+ {+ "parameters": {+ "chatId": "INSERISCI-CHAT-ID",+ "text": "=🔔 *Nuovo lead dal sito!*\n\n👤 {{ $json.Nome }}\n📧 {{ $json.Email }}\n📞 {{ $json.Telefono }}\n\n💬 {{ $json.Messaggio }}\n\n_Rispondi entro 1 ora: i lead caldi si chiudono 7 volte di più._",+ "additionalFields": {+ "parse_mode": "Markdown"+ }+ },+ "id": "telegram-notifica",+ "name": "Avvisami su Telegram",+ "type": "n8n-nodes-base.telegram",+ "typeVersion": 1.2,+ "position": [1060, -120]+ },+ {+ "parameters": {+ "sendTo": "={{ $('Estrai campi del lead').item.json.email }}",+ "subject": "Abbiamo ricevuto la tua richiesta ✔",+ "message": "=Ciao {{ $('Estrai campi del lead').item.json.nome }},\n\ngrazie per averci contattato! Abbiamo ricevuto la tua richiesta e ti risponderemo entro poche ore lavorative.\n\nNel frattempo, se la cosa è urgente, puoi chiamarci direttamente.\n\nA presto,\n[IL TUO NOME / AZIENDA]",+ "options": {}+ },+ "id": "gmail-cortesia",+ "name": "Email di cortesia al cliente",+ "type": "n8n-nodes-base.gmail",+ "typeVersion": 2.1,+ "position": [1060, 120]+ }+ ],+ "connections": {+ "Nuovo lead dal sito": {+ "main": [+ [+ {+ "node": "Estrai campi del lead",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Estrai campi del lead": {+ "main": [+ [+ {+ "node": "Salva nel Registro Lead",+ "type": "main",+ "index": 0+ }+ ]+ ]+ },+ "Salva nel Registro Lead": {+ "main": [+ [+ {+ "node": "Avvisami su Telegram",+ "type": "main",+ "index": 0+ },+ {+ "node": "Email di cortesia al cliente",+ "type": "main",+ "index": 0+ }+ ]+ ]+ }+ },+ "settings": {+ "executionOrder": "v1"+ },+ "pinData": {}+}diff --git a/README.md b/README.mdindex 61d0250..a1e3315 100644--- a/README.md+++ b/README.md@@ -114,6 +114,7 @@ This collection includes 9 email automation templates for n8n covering Gmail, Ou| Title | Description | Department | Link ||-------|-------------|------------|------|+| Daily AI digest of unread emails to Telegram (Italian) | Sends a morning Telegram digest of unread Gmail messages, prioritized by urgency with AI. Nodes and setup notes in Italian, ideal for Italian-speaking teams. | Ops | [Link to Template](Gmail_and_Email_Automation/Daily%20AI%20digest%20of%20unread%20emails%20to%20Telegram%20%28Italian%29.json) || Auto-label incoming Gmail messages with AI nodes | Automatically labels incoming Gmail messages using AI. The workflow retrieves message content, suggests labels like Partnership or Inquiry, and assigns them for better organization. | Ops | [Link to Template](Gmail_and_Email_Automation/Auto-label%20incoming%20Gmail%20messages%20with%20AI%20nodes.json) || Basic Automatic Gmail Email Labelling with OpenAI and Gmail API | Uses OpenAI and Gmail API to trigger on new emails, analyze content, and assign or create labels automatically. Helps categorize emails efficiently using AI. | Ops | [Link to Template](Gmail_and_Email_Automation/Basic%20Automatic%20Gmail%20Email%20Labelling%20with%20OpenAI%20and%20Gmail%20API.json) || Compose reply draft in Gmail with OpenAI Assistant | Generates draft replies in Gmail using OpenAI. Triggers on new emails, extracts content, and creates a suggested reply draft to streamline responses. | Executive | [Link to Template](Gmail_and_Email_Automation/Compose%20reply%20draft%20in%20Gmail%20with%20OpenAI%20Assistant.json) |@@ -168,6 +169,8 @@ Browse 13 Google Drive and Google Sheets automation templates for n8n. Includes| Title | Description | Department | Link ||-------|-------------|------------|------|+| Website leads to Google Sheets with Telegram alert and auto-reply (Italian) | Captures website form leads via webhook, appends them to Google Sheets, alerts the owner on Telegram and sends a courtesy reply to the lead. Docs in Italian. | Sales | [Link to Template](Google_Drive_and_Google_Sheets/Website%20leads%20to%20Google%20Sheets%20with%20Telegram%20alert%20and%20auto-reply%20%28Italian%29.json) |+| Automatic payment reminders from Google Sheets (Italian) | Checks an invoices sheet every weekday morning and emails polite payment reminders for invoices due within 3 days or overdue. Docs in Italian. | Finance | [Link to Template](Google_Drive_and_Google_Sheets/Automatic%20payment%20reminders%20from%20Google%20Sheets%20%28Italian%29.json) || Automated End-to-End Fine-Tuning of OpenAI Models with Google Drive Integration | Automates the fine-tuning of OpenAI models by integrating with Google Drive for data input and output, streamlining custom AI model training. | Engineering | [Link to Template](Google_Drive_and_Google_Sheets/Automated%20End-to-End%20Fine-Tuning%20of%20OpenAI%20Models%20with%20Google%20Drive%20Integration.json) || Automatic Background Removal for Images in Google Drive | Automatically removes backgrounds from images stored in Google Drive, preparing them for various uses like product catalogs or marketing materials. | Marketing | [Link to Template](Google_Drive_and_Google_Sheets/Automatic%20Background%20Removal%20for%20Images%20in%20Google%20Drive.json) || Build an OpenAI Assistant with Google Drive Integration | Demonstrates building an OpenAI Assistant that accesses and utilizes files in Google Drive, enabling it to answer questions or perform tasks based on document content. | Support | [Link to Template](Google_Drive_and_Google_Sheets/Build%20an%20OpenAI%20Assistant%20with%20Google%20Drive%20Integration.json) |