Asistente de Gmail, con clasificación de Google Gemini y notificaciones de Telegram

Avanzado

Este es unAI Chatbot, Multimodal AIflujo de automatización del dominio deautomatización que contiene 25 nodos.Utiliza principalmente nodos como If, Gmail, Switch, Telegram, Aggregate. Asistente de Gmail con clasificación de Google Gemini y notificaciones de Telegram

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
  • Bot Token de Telegram
  • Clave de API de Google Gemini
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "meta": {
    "instanceId": "[INSTANCE_ID_PLACEHOLDER]",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "8a26017c-1076-44ec-999b-bc4a74888a23",
      "name": "Verificar: ¿El correo está en la bandeja de entrada?",
      "type": "n8n-nodes-base.if",
      "position": [
        -288,
        444
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "3f7094d8-2756-493d-8721-be7d4c83297b",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.labels[0].id.toJsonString() }}",
              "rightValue": "INBOX"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "821b15b9-72af-456d-b553-95952c7ee9b5",
      "name": "IA: Generar respuesta de correo",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        512,
        -208
      ],
      "parameters": {
        "text": "=Today's Date: {{ $now }}\nFrom: {{ $('Real-time Email Trigger').item.json.From }}\nSubject: {{ $('Real-time Email Trigger').item.json.Subject }}\n\nEmail Content: {{ $('Real-time Email Trigger').item.json.snippet }}",
        "options": {
          "systemMessage": "You are an AI email assistant. Based on the email details provided, write a professional and relevant reply email.\n\nInstructions:\n- Write a clear and concise reply that responds meaningfully to the content\n- Keep the tone professional, polite, and appropriate to the context\n- Do not include unnecessary greetings or sign-offs\n- Extract the sender's email address from the 'From' field\n\nYour output must be strictly in the following JSON format:\n\n{\n  \"email\": \"sender_email_address\",\n  \"subject\": \"Re: [original subject]\",\n  \"body\": \"Your reply message here.\"\n}\n\nIf the email is promotional, spam, or clearly does not require a reply, leave the fields blank:\n\n{\n  \"email\": \"\",\n  \"subject\": \"\",\n  \"body\": \"\"\n}"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2
    },
    {
      "id": "5a24001b-0c1d-4645-8dde-ed8e23044056",
      "name": "Telegram: Enviar + Aprobar",
      "type": "n8n-nodes-base.telegram",
      "position": [
        864,
        -104
      ],
      "webhookId": "[WEBHOOK_ID_PLACEHOLDER]",
      "parameters": {
        "chatId": "[YOUR_TELEGRAM_CHAT_ID]",
        "message": "=📥 New Email Received*\n\n👤 *From: {{ $('Real-time Email Trigger').item.json.From }}\n\n📝 Subject: {{ $('Real-time Email Trigger').item.json.Subject }}\n💬 Content: {{ $('Real-time Email Trigger').item.json.snippet }}\n\n🤖 AI-Generated Response*\n\n📤 *To: {{ $json.output.email }}\n\n📝 Subject: {{ $json.output.subject }}\n\n💬 Content: {{ $json.output.body }}",
        "options": {
          "limitWaitTime": {
            "values": {
              "resumeUnit": "minutes",
              "resumeAmount": 5
            }
          }
        },
        "operation": "sendAndWait",
        "approvalOptions": {
          "values": {
            "approvalType": "double"
          }
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "[TELEGRAM_CREDENTIALS_ID]",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "41b95627-45a6-4a5f-9269-456a4100fa07",
      "name": "Verificar: ¿Aprobado por Telegram?",
      "type": "n8n-nodes-base.if",
      "position": [
        1088,
        -104
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "c7315e3c-6ee1-40bb-8d74-0c70862f30a4",
              "operator": {
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.data.approved }}",
              "rightValue": "true"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "48f9fae9-d30a-4be2-bfef-0aa12242504b",
      "name": "Enviar respuesta de correo",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1312,
        -200
      ],
      "webhookId": "[WEBHOOK_ID_PLACEHOLDER]",
      "parameters": {
        "message": "={{ $('AI: Generate Email Reply').item.json.output.body }}",
        "options": {},
        "emailType": "text",
        "messageId": "={{ $('Real-time Email Trigger').item.json.id }}",
        "operation": "reply"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "[GMAIL_CREDENTIALS_ID]",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "e18c5888-5117-42d8-b1d6-81040e134c87",
      "name": "Resumir correo con IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        512,
        192
      ],
      "parameters": {
        "text": "=Email from: {{ $('Real-time Email Trigger').item.json.From }}\nEmail Subject: {{ $('Real-time Email Trigger').item.json.Subject }}\nEmail Body: {{ $('Real-time Email Trigger').item.json.snippet }}",
        "options": {
          "systemMessage": "You are an intelligent assistant that reads all kinds of emails and creates short summaries.\n\nYour job is to:\n- Understand the core message and intent of the email\n- Write a short, clear summary (max 200 characters) suitable for Telegram notification\n- Use plain English with light emojis where helpful (📌, ⚠️, ✅, 💰, 🔔, etc.)\n- Highlight any important info: payment due, meeting, offer, delivery, confirmation, alert, etc.\n\nExamples:\n📌 Invoice from AWS for $23.50 is due by July 20. Check your billing portal.\n✅ HR shared your July payslip. No action needed unless there's an error.\n📦 Your Amazon order \"AirPods Pro\" has been delivered today.\n📰 New issue of \"FinTech Weekly\" is out — AI trends and market insights.\n\nOnly return a short, smart Telegram-style summary."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "c637ff88-1897-48c2-ad5f-155383cf6a64",
      "name": "Activador diario 8AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -512,
        920
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 8
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9b12427f-7ae1-4b8b-bdb1-2dec08faa84e",
      "name": "Organizar datos del correo",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -64,
        920
      ],
      "parameters": {
        "include": "specifiedFields",
        "options": {},
        "aggregate": "aggregateAllItemData",
        "fieldsToInclude": "id,From,Subject, snippet, text"
      },
      "typeVersion": 1
    },
    {
      "id": "33107717-40fe-4330-a5fb-77d0846093cf",
      "name": "Resumidor de correos",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        160,
        920
      ],
      "parameters": {
        "text": "={{ $json.data.toJsonString() }}",
        "options": {
          "systemMessage": "# Enhanced Email Processing System Prompt\n\nYou are an intelligent email processing system that analyzes emails and creates comprehensive summaries formatted for Telegram.\n\n## Analysis Requirements:\nExamine the provided emails and extract:\n\n1. 📧 Email Summary - Brief overview of each important email\n2. 🚨 Issues & Concerns - Problems, urgent matters, or red flags\n3. ✅ Action Items - Tasks requiring completion with owners and deadlines\n4. ❓ Follow-Up Required - Open questions or missing information\n\n## Formatting Rules:\n\n### Telegram Formatting:\n- Use bold text for headers and emphasis: `text`\n- Use italic text for subtle emphasis: `text`\n- Use underlined text for critical items: `text`\n- Use strikethrough for cancelled/resolved items: `text`\n- Use ||spoiler tags|| for sensitive information: `||text||`\n\n### Content Rules:\n- Concise: Keep descriptions under 50 characters when possible\n- Multi-line formatting: Break content into readable chunks with proper line spacing\n- Prioritized: Use 🔥 for urgent, ⚠️ for important, ℹ️ for informational, 📌 for FYI\n- Actionable: Focus on what needs to be done, not just what happened\n- Clean spacing: Use line breaks and visual separators for better readability\n- Consistent formatting: Always use the same structure and emoji placement\n\n### Display Logic:\nCRITICAL: Only show sections that have actual content. If a category is empty, completely omit that section from the output.\n\n## Output Format:\n\n``````\n\n## Priority Indicators:\n- 🔥 **URGENT - Immediate action required (same day)\n- ⚠️ HIGH - Important, needs attention within 2-3 days  \n- ℹ️ NORMAL - Standard priority, within a week\n- 📌 FYI - Information only, no action needed\n\n## Example Output:\n\n``````\n\nRemember: **Only include sections with actual content. Empty categories should not appear in the final output at all."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "f8ad7844-ec1c-4992-bdb3-a16870d60e25",
      "name": "Analizador de salida estructurada",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        648,
        16
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"email\": \"example@email.com\",\n  \"subject\": \"Re: Subject\",\n  \"body\": \"Reply message\"\n}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "c6eaabe3-c322-4a23-853c-2bd9a4b8bf8b",
      "name": "Salida: No en bandeja de entrada",
      "type": "n8n-nodes-base.noOp",
      "position": [
        0,
        592
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9bb8a152-63cf-491f-af3e-a72ff8acc6bd",
      "name": "Salida: No aprobado",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1312,
        -8
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7dddacd1-a591-4fc8-982b-f1924cc8663f",
      "name": "Salida: No importante",
      "type": "n8n-nodes-base.noOp",
      "position": [
        576,
        592
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b7d2be75-3c71-4369-8178-71a8bfc09ee7",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        520,
        16
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "[GOOGLE_API_CREDENTIALS_ID]",
          "name": "Google API"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1e828755-52b0-43da-bf48-8c69a4f133c2",
      "name": "Google Gemini Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        584,
        416
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "[GOOGLE_API_CREDENTIALS_ID]",
          "name": "Google API"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "51e61fa6-8ded-4a9d-a2b8-71d42608c5ad",
      "name": "Google Gemini Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        232,
        1144
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "[GOOGLE_API_CREDENTIALS_ID]",
          "name": "Google API"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c8c6c8cc-fb6f-4095-97c4-8ad5b6756caa",
      "name": "Obtener correos - últimas 24 horas1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -288,
        920
      ],
      "webhookId": "[WEBHOOK_ID_PLACEHOLDER]",
      "parameters": {
        "filters": {
          "q": "=newer_than:1d"
        },
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "[GMAIL_CREDENTIALS_ID]",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "de8a2b5c-5803-4cc6-b94f-a9f6601bb985",
      "name": "Google Gemini Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -56,
        416
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "[GOOGLE_API_CREDENTIALS_ID]",
          "name": "Google API"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a4bfc60a-77ad-409c-8123-88119cf85b3e",
      "name": "Analizador de salida estructurada1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        72,
        416
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"category\": 0,\n  \"confidence\": 85,\n  \"reason\": \"Email asks direct question about project deadline\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "96b3ab21-ffc9-42d5-baa2-7e808a426aa6",
      "name": "Activador en tiempo real de correo",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -512,
        444
      ],
      "parameters": {
        "filters": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "[GMAIL_CREDENTIALS_ID]",
          "name": "Gmail account"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "3454b940-351f-4b1b-a3b1-920fcb26fdb5",
      "name": "Clasificador de correos por IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -64,
        192
      ],
      "parameters": {
        "text": "=date :- {{ $now}}\nfrom :-  {{ $json.From }}\nsubject :- {{ $json.Subject }}\ncontent :- {{ $json.snippet }}",
        "options": {
          "systemMessage": "=# AI Email Classification System Prompt\n\nYou are an intelligent email classification AI. Your job is to analyze incoming emails and categorize them into exactly 3 categories based on importance and action required.\n\n## Input Data:\n- From: Email sender\n- Subject: Email subject line\n- Content: Email body/snippet\n- Date: Email timestamp\n\n## Classification Categories:\n\n### Output 0: REQUIRES REPLY**\nUse when email needs a human response:\n- Direct questions asking for information\n- Meeting requests or scheduling\n- Work assignments or project discussions  \n- Personal conversations requiring response\n- Time-sensitive requests\n- Business inquiries or customer support\n- Legal, financial, or official communications\n- Complaints or urgent issues\n\n### **Output 1: IMPORTANT NOTIFICATION**\nUse when email is important to know but doesn't need reply:\n- System alerts or status updates\n- Account notifications (billing, security)\n- Order confirmations or shipping updates\n- Calendar reminders or event notifications\n- Important announcements from work/services\n- Payment receipts or transaction confirmations\n- Service outage notifications\n- News or updates from trusted sources\n\n### **Output 2: SPAM/UNIMPORTANT**\nUse when email can be ignored:\n- Marketing emails and promotions\n- Newsletters you didn't specifically request\n- Spam and phishing attempts\n- Automated promotional content\n- Unsolicited sales pitches\n- Generic bulk emails\n- Social media notifications (likes, follows)\n- Obvious scam or suspicious emails\n\n## Analysis Framework:\n\nStep 1: Sender Analysis\n- Is sender known/trusted?\n- Business vs personal email?\n- Official organization or random sender?\n\nStep 2: Content Analysis  \n- Does it ask questions?\n- Does it require action?\n- Is it informational but important?\n- Is it promotional/marketing?\n\nStep 3: Urgency Assessment\n- Time-sensitive language?\n- Deadlines mentioned?\n- Emergency or urgent keywords?\n- Routine vs critical information?\n\nStep 4: Context Evaluation\n- Work-related vs personal?\n- Financial or legal implications?\n- Service-related notifications?\n- Social media or entertainment?\n\n## Output Format:\n\nReturn ONLY a JSON object with your classification:\n\n``````\n\nFields:\n- category: Integer (0, 1, or 2)\n- confidence: Percentage (1-100) of how sure you are\n- reason: Brief explanation (max 50 characters)\n\n## Examples:\n\nCategory 0 (Reply Needed):\n- \"Can you send me the project files by Friday?\"\n- \"Are you available for a meeting tomorrow?\"\n- \"Please review and approve the attached contract\"\n\nCategory 1 (Important Notification):\n- \"Your AWS bill for $156.78 is ready\"\n- \"Your package has been delivered\"  \n- \"System maintenance scheduled for tonight\"\n\nCategory 2 (Spam/Unimportant):**\n- \"50% OFF Sale - Limited Time Only!\"\n- \"You've won $1,000,000! Claim now\"\n- \"10 Amazing Weight Loss Tips\"\n\n## Rules:\n- Always choose exactly ONE category (0, 1, or 2)\n- Be decisive - avoid overthinking edge cases\n- When uncertain, err on the side of importance\n- Consider the recipient's likely priorities\n- Focus on actionability and relevance\n- Return ONLY the JSON response, no additional text"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "27e2621d-c864-4335-9896-c611eda0f241",
      "name": "Enrutar por categoría",
      "type": "n8n-nodes-base.switch",
      "position": [
        288,
        280
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "e6dde75e-d318-4e80-a5d7-3a96e2a226bf",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.category }}",
                    "rightValue": "0"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "27f0e72b-75b8-43f0-b416-a9cc45a4d589",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.category }}",
                    "rightValue": "1"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "cd571930-2ded-4982-83b2-b2c4f7f29a69",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.category }}",
                    "rightValue": "2"
                  }
                ]
              }
            }
          ]
        },
        "options": {},
        "looseTypeValidation": true
      },
      "typeVersion": 3.2
    },
    {
      "id": "667ba661-fd46-4dae-85bd-d33ee2a10f03",
      "name": "Enviar reporte diario",
      "type": "n8n-nodes-base.telegram",
      "position": [
        512,
        920
      ],
      "webhookId": "[WEBHOOK_ID_PLACEHOLDER]",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "[YOUR_TELEGRAM_CHAT_ID]",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "[TELEGRAM_CREDENTIALS_ID]",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "43ed4af8-cdfe-4aa9-a9c1-b3a6982f07e4",
      "name": "Enviar resumen a Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        864,
        296
      ],
      "webhookId": "[WEBHOOK_ID_PLACEHOLDER]",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "[YOUR_TELEGRAM_CHAT_ID]",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "[TELEGRAM_CREDENTIALS_ID]",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "24247c72-26e5-4a94-88a3-a415dbb0b501",
      "name": "Nota adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1216,
        -272
      ],
      "parameters": {
        "width": 2736,
        "height": 1568,
        "content": "# Smart Email Assistant with AI Classification and Telegram Integration\n\n## 📋 Overview\nIntelligent email automation system that processes Gmail messages in real-time and provides daily summaries via Telegram notifications.\n\n## 🔄 How It Works\n\n### Real-Time Processing\n1. 📧 Gmail Trigger → Monitors inbox for new emails\n2. 🔍 Inbox Filter → Only processes emails in INBOX label\n3. 🤖 AI Classifier → Categorizes emails into 3 types:\n    Category 0: Needs Reply (questions, meetings, urgent)\n   * Category 1: Important Notification (bills, confirmations)\n   * Category 2: Spam/Unimportant (marketing, promotions)\n\n### Automated Responses\n Reply Branch: AI generates professional responses → Telegram approval → Sends reply\n Notification Branch: Creates quick summaries → Sends to Telegram\n Spam Branch: Ignores automatically\n\n### Daily Summary (8 AM)\n Fetches last 24 hours of emails\n Creates comprehensive report with:\n    Email summaries\n   * Action items\n   * Issues & concerns\n Sends formatted report to Telegram\n\n## ⚙️ Configuration Required\n\n### Credentials Needed:\n Gmail OAuth2: For reading/sending emails\n Telegram Bot API: For notifications and approvals\n Google Palm API: For Gemini AI processing\n\n### Settings:\n Telegram Chat ID: Your chat id (update to your chat)\n Trigger Schedule: Every minute + Daily 8 AM\n Timeout: 5 minutes for approvals\n\n## 🎯 Key Features\n✅ Smart AI classification (Google Gemini)\n✅ Human approval for replies\n✅ Automatic spam filtering\n✅ Daily email digest\n✅ Professional response generation\n✅ Telegram integration for mobile access\n\n## 📝 Notes\n Uses Google Gemini models for all AI processing\n Structured JSON outputs ensure reliability\n Multiple exit points prevent workflow errors\n Aggregates daily data for efficient processing\n\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "33107717-40fe-4330-a5fb-77d0846093cf": {
      "main": [
        [
          {
            "node": "667ba661-fd46-4dae-85bd-d33ee2a10f03",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c637ff88-1897-48c2-ad5f-155383cf6a64": {
      "main": [
        [
          {
            "node": "c8c6c8cc-fb6f-4095-97c4-8ad5b6756caa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "27e2621d-c864-4335-9896-c611eda0f241": {
      "main": [
        [
          {
            "node": "821b15b9-72af-456d-b553-95952c7ee9b5",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "e18c5888-5117-42d8-b1d6-81040e134c87",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "7dddacd1-a591-4fc8-982b-f1924cc8663f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3454b940-351f-4b1b-a3b1-920fcb26fdb5": {
      "main": [
        [
          {
            "node": "27e2621d-c864-4335-9896-c611eda0f241",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9b12427f-7ae1-4b8b-bdb1-2dec08faa84e": {
      "main": [
        [
          {
            "node": "33107717-40fe-4330-a5fb-77d0846093cf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "96b3ab21-ffc9-42d5-baa2-7e808a426aa6": {
      "main": [
        [
          {
            "node": "8a26017c-1076-44ec-999b-bc4a74888a23",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e18c5888-5117-42d8-b1d6-81040e134c87": {
      "main": [
        [
          {
            "node": "43ed4af8-cdfe-4aa9-a9c1-b3a6982f07e4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "821b15b9-72af-456d-b553-95952c7ee9b5": {
      "main": [
        [
          {
            "node": "5a24001b-0c1d-4645-8dde-ed8e23044056",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f8ad7844-ec1c-4992-bdb3-a16870d60e25": {
      "ai_outputParser": [
        [
          {
            "node": "821b15b9-72af-456d-b553-95952c7ee9b5",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "5a24001b-0c1d-4645-8dde-ed8e23044056": {
      "main": [
        [
          {
            "node": "41b95627-45a6-4a5f-9269-456a4100fa07",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8a26017c-1076-44ec-999b-bc4a74888a23": {
      "main": [
        [
          {
            "node": "3454b940-351f-4b1b-a3b1-920fcb26fdb5",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "c6eaabe3-c322-4a23-853c-2bd9a4b8bf8b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "41b95627-45a6-4a5f-9269-456a4100fa07": {
      "main": [
        [
          {
            "node": "48f9fae9-d30a-4be2-bfef-0aa12242504b",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "9bb8a152-63cf-491f-af3e-a72ff8acc6bd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b7d2be75-3c71-4369-8178-71a8bfc09ee7": {
      "ai_languageModel": [
        [
          {
            "node": "821b15b9-72af-456d-b553-95952c7ee9b5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "1e828755-52b0-43da-bf48-8c69a4f133c2": {
      "ai_languageModel": [
        [
          {
            "node": "e18c5888-5117-42d8-b1d6-81040e134c87",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "51e61fa6-8ded-4a9d-a2b8-71d42608c5ad": {
      "ai_languageModel": [
        [
          {
            "node": "33107717-40fe-4330-a5fb-77d0846093cf",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "de8a2b5c-5803-4cc6-b94f-a9f6601bb985": {
      "ai_languageModel": [
        [
          {
            "node": "3454b940-351f-4b1b-a3b1-920fcb26fdb5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "a4bfc60a-77ad-409c-8123-88119cf85b3e": {
      "ai_outputParser": [
        [
          {
            "node": "3454b940-351f-4b1b-a3b1-920fcb26fdb5",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "c8c6c8cc-fb6f-4095-97c4-8ad5b6756caa": {
      "main": [
        [
          {
            "node": "9b12427f-7ae1-4b8b-bdb1-2dec08faa84e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Avanzado - Chatbot de IA, IA Multimodal

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos25
Categoría2
Tipos de nodos12
Descripción de la dificultad

Adecuado para usuarios avanzados, flujos de trabajo complejos con 16+ nodos

Autor
Roshan Ramani

Roshan Ramani

@rawsun007

I love building smart n8n automations that actually work reliably. My focus is on making everyday tasks like email, social media, and CRM workflows simpler using AI. I've shared templates in the n8n community, including a WhatsApp Expense Tracker that people really enjoy. What keeps me excited is constantly trying new things - testing fresh nodes, playing with AI tools like LangChain, and discovering creative ways to connect systems!

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34