Slack - Trabajo delegado a IA

Intermedio

Este es unInternal Wiki, Multimodal AIflujo de automatización del dominio deautomatización que contiene 10 nodos.Utiliza principalmente nodos como Slack, SlackTrigger, GoogleDocsTool, Agent, LmChatOpenAi. Responder automáticamente mensajes de Slack usando RAG con Google Docs y GPT

Requisitos previos
  • Bot Token de Slack o URL de Webhook
  • Clave de API de OpenAI
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": "7MQLIwQsFOmnQV4n",
  "meta": {
    "instanceId": "16d5a69b6a4f4733c8f669903729902650204c895b060993271b9227d7b0b3e8",
    "templateCredsSetupCompleted": true
  },
  "name": "Slack - Let AI Do Your Job",
  "tags": [],
  "nodes": [
    {
      "id": "c724b8ae-462f-4bb5-8e23-09dfe66e783b",
      "name": "Disparador de Slack",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        -96,
        0
      ],
      "parameters": {
        "options": {
          "userIds": "==[\"User_ID\"]"
        },
        "trigger": [
          "any_event",
          "app_mention"
        ],
        "watchWorkspace": true
      },
      "typeVersion": 1
    },
    {
      "id": "a15d59e3-4ada-418b-9cde-7dc8f713ecc9",
      "name": "Modelo de chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        112,
        208
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5",
          "cachedResultName": "gpt-5"
        },
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "0d87970d-9887-4ec4-ab10-3564310919cc",
      "name": "Memoria Simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        304,
        208
      ],
      "parameters": {
        "sessionKey": "={{ $json.channel }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "5ed06900-d13c-44f6-b763-5d9cd176db01",
      "name": "Enviar un mensaje",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        0
      ],
      "parameters": {
        "text": "={{ $json.output }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Slack Trigger').item.json.channel }}"
        },
        "otherOptions": {
          "sendAsUser": "Jacob",
          "includeLinkToWorkflow": false
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "ff806d9b-f9bf-4071-aebc-be85b6bcf2d4",
      "name": "Obtener un documento en Google Docs",
      "type": "n8n-nodes-base.googleDocsTool",
      "position": [
        480,
        208
      ],
      "parameters": {
        "operation": "get",
        "documentURL": "GOOGLE DOC ID OR URL"
      },
      "typeVersion": 2
    },
    {
      "id": "9cce7ec0-c157-47a9-81df-0ebc08114287",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        -160
      ],
      "parameters": {
        "color": 3,
        "width": 304,
        "height": 624,
        "content": "Slack Respond as a User"
      },
      "typeVersion": 1
    },
    {
      "id": "bd66fe12-5532-4183-b641-71f6cadcc204",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        -160
      ],
      "parameters": {
        "color": 4,
        "width": 544,
        "height": 624,
        "content": "GPT-5 Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "cdd11d82-b9bf-435e-8bb1-208737b8c74b",
      "name": "GPT 5 Slack Agente",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        224,
        0
      ],
      "parameters": {
        "text": "={{ $json.text }}",
        "options": {
          "systemMessage": "You are Jacob, a social media manager at Purple Unicorn Marketing Agency. Respond to your members' message on Jacob's behalf on Slack. Sound friendly and natural in a typical tech working environment. \n\n##Tool\nUse the Google Doc Tool when asked about Project Updates"
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "faa86c34-10a7-47bd-b258-250e24bb6b9a",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -160
      ],
      "parameters": {
        "color": 5,
        "height": 624,
        "content": "Slack Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "44ae482d-d65a-4f05-be10-9948733394b8",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        -160
      ],
      "parameters": {
        "width": 768,
        "height": 1008,
        "content": "💬 GPT-5 Slack Impersonation Agent with RAG – Auto-Respond to Messages Using Live Project Docs\n\nLet AI handle your Slack conversations — and always have the right answer.\nThis n8n workflow transforms GPT-5 into your on-brand Slack assistant, capable of responding as you in real-time while referencing a Google Docs RAG (Retrieval-Augmented Generation) document for accurate project updates.\n\nWatch step-by-step build like these on:\nhttps://www.youtube.com/@automatewithmarc\n\nHere’s how it works:\n\nListens for Slack mentions or messages — triggered instantly when someone talks to you.\n\nUnderstands the conversation context using GPT-5 and conversation memory.\n\nRetrieves the latest project updates from your linked Google Doc via RAG.\n\nResponds in Slack as you — maintaining your tone, style, and workplace personality.\n\nKey Features & Benefits:\n\n🧠 RAG-powered accuracy – Always pulls the latest info from your project docs.\n\n🤖 GPT-5 natural conversation – Replies feel human, friendly, and context-aware.\n\n⚡ Instant responses – No more message backlog or missed updates.\n\n🎯 Impersonation mode – Sends replies under your Slack name for seamless collaboration.\n\n🔄 Continuous conversation memory – Keeps track of what was said before.\n\nIdeal Use Cases:\n\nActing as a stand-in during busy periods so no message goes unanswered.\n\nProject managers who want instant, document-backed answers.\n\nCustomer support or client-facing roles needing quick, accurate replies.\n\nIncluded Integrations:\n\nSlack Trigger & Send Message – Listen and reply in real-time.\n\nGPT-5 Agent – Craft context-aware, on-brand responses.\n\nGoogle Docs Tool – Pull live data from your RAG document.\n\nConversation Memory – Maintain context across messages.\n\n💡 Pro Tip: Customize the system prompt to mimic your exact tone and integrate with multiple docs for broader knowledge coverage."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e58b3b27-0453-409e-91ce-61639cb188a7",
  "connections": {
    "0d87970d-9887-4ec4-ab10-3564310919cc": {
      "ai_memory": [
        [
          {
            "node": "GPT 5 Slack Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "GPT 5 Slack Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT 5 Slack Agent": {
      "main": [
        [
          {
            "node": "5ed06900-d13c-44f6-b763-5d9cd176db01",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "GPT 5 Slack Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ff806d9b-f9bf-4071-aebc-be85b6bcf2d4": {
      "ai_tool": [
        [
          {
            "node": "GPT 5 Slack Agent",
            "type": "ai_tool",
            "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 - Wiki interno, 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
Intermedio
Número de nodos10
Categoría2
Tipos de nodos7
Descripción de la dificultad

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

Autor
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34