Organizador de Gmail

Intermedio

Este es unTicket Management, AI Summarizationflujo de automatización del dominio deautomatización que contiene 11 nodos.Utiliza principalmente nodos como Gmail, Switch, GmailTrigger. Organización automática del buzón de Gmail usando clasificación basada en reglas y acciones inteligentes

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
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
{
  "id": "OlJ23u8YjjeZ3DGu",
  "meta": {
    "instanceId": "922f87b0adfedb3ae09541ddf50e19d9af2c8cfac1d8da5d9cd4cdfe64d30bee",
    "templateCredsSetupCompleted": true
  },
  "name": "Gmail Organizer",
  "tags": [],
  "nodes": [
    {
      "id": "a81015eb-1a7b-4832-8506-f84835713f21",
      "name": "Nuevo Correo Recibido",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -1380,
        100
      ],
      "parameters": {
        "simple": false,
        "filters": {},
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9ab80617-5aa2-4c1a-9d5a-aab0c4387a45",
      "name": "Categorizar Correo por Contenido",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1080,
        100
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "Work Emails",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "strict"
                },
                "combinator": "or",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.from }}",
                    "rightValue": "@company.com"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.from }}",
                    "rightValue": "work"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.subject }}",
                    "rightValue": "meeting"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.subject }}",
                    "rightValue": "project"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Shopping Orders",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "strict"
                },
                "combinator": "or",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.from }}",
                    "rightValue": "amazon"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.from }}",
                    "rightValue": "shop"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.subject }}",
                    "rightValue": "order"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.subject }}",
                    "rightValue": "receipt"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Newsletters",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "strict"
                },
                "combinator": "or",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.subject }}",
                    "rightValue": "newsletter"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.subject }}",
                    "rightValue": "unsubscribe"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.from }}",
                    "rightValue": "noreply"
                  },
                  {
                    "operator": {
                      "type": "string",
                      "operation": "contains"
                    },
                    "leftValue": "={{ $json.from }}",
                    "rightValue": "no-reply"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "ab60dc70-310e-4e7f-97d5-21a29d2c771d",
      "name": "Aplicar Etiqueta Trabajo",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -780,
        -60
      ],
      "webhookId": "5811f32f-af7e-42f2-8879-229732f87e08",
      "parameters": {
        "labelIds": [
          "Work"
        ],
        "messageId": "={{ $json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "6d74ae5c-fd8b-4b6f-8cb8-7500dd88e091",
      "name": "Aplicar Etiqueta Compras",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -780,
        100
      ],
      "webhookId": "b0698510-399f-458b-8d6e-c25e77ae99ab",
      "parameters": {
        "labelIds": [
          "Shopping"
        ],
        "messageId": "={{ $json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "f365dfaf-18b3-46e4-9d3a-bebefa47e422",
      "name": "Aplicar Etiqueta Boletín",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -780,
        240
      ],
      "webhookId": "d919fdfa-29bb-4e93-a14d-67d03add6d5e",
      "parameters": {
        "labelIds": [
          "Newsletter"
        ],
        "messageId": "={{ $json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "1b9ca166-9430-427f-9179-0ca6fcca702c",
      "name": "Marcar Correo de Trabajo como Importante",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -480,
        -60
      ],
      "webhookId": "b22b979e-a84c-465c-8c19-fef43732b80e",
      "parameters": {
        "operation": "markAsImportant"
      },
      "typeVersion": 2.1
    },
    {
      "id": "814ee0b2-f75a-49aa-9fb4-87424b73d199",
      "name": "Archivar Correo de Boletín",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -480,
        240
      ],
      "webhookId": "2578e1a0-654d-42a9-baee-45c7fa5a5cd4",
      "parameters": {
        "labelIds": [
          "ARCHIVE"
        ],
        "messageId": "={{ $json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "266c2c00-6ec6-42b6-bf45-24717edc1bb9",
      "name": "Explicación del Flujo de Trabajo Principal",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2020,
        -400
      ],
      "parameters": {
        "color": 4,
        "width": 450,
        "height": 1000,
        "content": "# 📧 Gmail Smart Email Organizer\n\n## What This Workflow Does\nAutomatically organizes your Gmail inbox by categorizing incoming emails and applying appropriate labels and actions based on sender and subject content.\n\n## How It Works\n1. **Monitors Gmail**: Checks for new emails every minute\n2. **Smart Categorization**: Analyzes sender and subject to categorize emails\n3. **Auto-Labeling**: Applies appropriate labels (Work, Shopping, Newsletter)\n4. **Smart Actions**: Marks work emails as important, archives newsletters\n\n## Categories\n• **Work**: Company emails, meetings, projects\n• **Shopping**: Orders, receipts, e-commerce\n• **Newsletter**: Marketing emails, subscriptions\n\n## Setup Required\n1. Connect your Gmail account via OAuth2\n2. Create labels in Gmail: 'Work', 'Shopping', 'Newsletter'\n3. Activate the workflow\n4. Customize keywords as needed\n\n## Benefits\n✅ Saves time on manual email organization\n✅ Never miss important work emails\n✅ Keeps inbox clean and organized\n✅ Runs automatically 24/7\n\n**Perfect for professionals who receive 20+ emails daily and want automated organization without complex rules.**"
      },
      "typeVersion": 1
    },
    {
      "id": "5f96a973-6add-441e-a509-b4e94e33342e",
      "name": "Paso 1 - Detección de Correo",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1400,
        -380
      ],
      "parameters": {
        "color": 7,
        "width": 300,
        "height": 260,
        "content": "## Step 1: Email Detection\n\n**Gmail Trigger** monitors your inbox and triggers the workflow when new emails arrive.\n\n**Polling**: Every minute\n**Setup**: Requires Gmail OAuth2 connection"
      },
      "typeVersion": 1
    },
    {
      "id": "0ea0e02b-fdfd-434d-a731-7c665bff1701",
      "name": "Paso 2 - Categorización Inteligente",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -420
      ],
      "parameters": {
        "color": 7,
        "width": 300,
        "height": 280,
        "content": "## Step 2: Smart Categorization\n\n**Switch Node** analyzes email content using multiple conditions:\n- Sender domain/email\n- Subject keywords\n- Common patterns\n\n**Routes to**: Work, Shopping, Newsletter, or Other"
      },
      "typeVersion": 1
    },
    {
      "id": "277ab3e7-95a6-4df3-ac77-e5cf37df1c55",
      "name": "Paso 3 - Acciones Automatizadas",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -380
      ],
      "parameters": {
        "color": 7,
        "width": 350,
        "height": 260,
        "content": "## Step 3: Automated Actions\n\n**Gmail Nodes** perform category-specific actions:\n\n🔹 **Work Emails**: Add 'Work' label + Mark as Important\n🔹 **Shopping**: Add 'Shopping' label\n🔹 **Newsletter**: Add 'Newsletter' label + Archive\n\n**Result**: Organized inbox with proper labels and priority marking"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "637565f8-6faf-45a0-a198-419d4f89973e",
  "connections": {
    "ab60dc70-310e-4e7f-97d5-21a29d2c771d": {
      "main": [
        [
          {
            "node": "1b9ca166-9430-427f-9179-0ca6fcca702c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a81015eb-1a7b-4832-8506-f84835713f21": {
      "main": [
        [
          {
            "node": "9ab80617-5aa2-4c1a-9d5a-aab0c4387a45",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f365dfaf-18b3-46e4-9d3a-bebefa47e422": {
      "main": [
        [
          {
            "node": "814ee0b2-f75a-49aa-9fb4-87424b73d199",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9ab80617-5aa2-4c1a-9d5a-aab0c4387a45": {
      "main": [
        [
          {
            "node": "ab60dc70-310e-4e7f-97d5-21a29d2c771d",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6d74ae5c-fd8b-4b6f-8cb8-7500dd88e091",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f365dfaf-18b3-46e4-9d3a-bebefa47e422",
            "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?

Intermedio - Gestión de tickets, Resumen de IA

¿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.

Flujos de trabajo relacionados recomendados

Asistente de correo electrónico inteligente con clasificación de IA, borrador de Gmail y notificación de Slack
Automatización de la gestión de correos con clasificación de OpenAI, borradores de Gmail y recordatorios de Slack
Set
Code
Gmail
+
Set
Code
Gmail
16 NodosFabian ZNTL
Gestión de tickets
Marcado automático de correos electrónicos entrantes de Gmail con IA
Clasificación y etiquetado automáticos de correos de Gmail con GPT-4o mini
Gmail
Filter
Switch
+
Gmail
Filter
Switch
17 NodosArlin Perez
Gestión de tickets
Gestor de Bandeja de Entrada de Correo Electrónico Basado en IA, Integrado con GPT-4, Gmail y Slack
Gestor de Bandeja de Entrada de Correo Electrónico Basado en IA, Integrado con GPT-4, Gmail y Slack
If
Gmail
Slack
+
If
Gmail
Slack
22 NodosMuhammad Bello
Gestión de tickets
Triaje automatizado de soporte al cliente con GPT, Gmail, Slack y un panel de análisis
Triaje automatizado de soporte al cliente con GPT, Gmail, Slack y un panel de análisis
Code
Slack
Open Ai
+
Code
Slack
Open Ai
21 NodosDaniel Shashko
Gestión de tickets
Sistema de derivación y resumen de soporte al cliente con IA
Procesamiento automático de soporte al cliente con GPT-4o, Slack e integración CRM
If
Set
Code
+
If
Set
Code
32 NodosNodeAlchemy
Gestión de tickets
Proceso SmartSupport: procesamiento automático de solicitudes de IT de correo a Jira con notificaciones de Slack
Convertir correos electrónicos automáticamente en tickets Jira con soluciones de IA y recordatorios de Slack
If
Set
Jira
+
If
Set
Jira
25 NodosTrung Tran
Gestión de tickets
Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos11
Categoría2
Tipos de nodos4
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 nodos

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34