Automatización del análisis de tendencias de Reddit con distribución a Slack/Gmail mediante GPT-4

Intermedio

Este es unAI, Marketingflujo de automatización del dominio deautomatización que contiene 11 nodos.Utiliza principalmente nodos como Gmail, Slack, Reddit, Agent, ScheduleTrigger, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Automatizar el análisis de tendencias de Reddit con GPT-4 y distribución a Slack/Gmail

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
  • 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
{
  "meta": {
    "instanceId": "5aaf4236c70e34e423fbdb2c7b754d19253a933bb1476d548f75848a01e473cf",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "e5b2e77c-54df-46e4-a130-b30eed7934ab",
      "name": "Obtener Publicaciones de Reddit",
      "type": "n8n-nodes-base.reddit",
      "position": [
        2440,
        3580
      ],
      "parameters": {
        "limit": 5,
        "keyword": "why I stopped using it",
        "operation": "search",
        "subreddit": "Chatgpt",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "id": "696586e7-a66b-49a9-a3e7-d309bb441951",
      "name": "Resumir Publicaciones con IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2780,
        3580
      ],
      "parameters": {
        "text": "=Analyze the following Reddit post. Classify its main topic in 3-5 words, and write a 1-sentence summary.\n\nTitle: {{ $json[\"title\"] }}  \nContent: {{ $json.selftext }}\n",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "c665d7bb-0c34-4d34-807c-4861c984277e",
      "name": "Generar Perspectivas de IA",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2740,
        3800
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "57ba5821-49e1-4ede-9bb0-a7097f94a286",
      "name": "Enviar Resumen a Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        3340,
        3480
      ],
      "webhookId": "e021423b-e10c-4044-96e4-46cfb82be060",
      "parameters": {
        "text": "=Topic:\n{{ $('Fetch Reddit Posts').item.json.subreddit }}\n\nSummary:\n{{ $json.output }}\n\nView on Reddit:\n{{ $('Fetch Reddit Posts').item.json.media_metadata.cnn80k7excte1.p[0].u }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C08TTV0CC3E",
          "cachedResultName": "all-nathing"
        },
        "otherOptions": {}
      },
      "typeVersion": 2.3
    },
    {
      "id": "b4a501fb-7f2d-4d72-ae38-c418e10b588e",
      "name": "Enviar Resumen a Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3340,
        3720
      ],
      "webhookId": "c118adb5-da2c-4108-ae40-a056e2d51f89",
      "parameters": {
        "sendTo": "uu941401@gmail.com",
        "message": "=Topic:\n{{ $('Fetch Reddit Posts').item.json.subreddit }}\n\nSummary:\n{{ $json.output }}\n\nView on Reddit:\n{{ $('Fetch Reddit Posts').item.json.media_metadata.cnn80k7excte1.p[0].u }}",
        "options": {},
        "subject": "=New Reddit Post on  {{ $('Fetch Reddit Posts').item.json.subreddit }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "0eb7d480-bf92-4794-af7c-320b1bee5687",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        2760
      ],
      "parameters": {
        "color": 3,
        "width": 440,
        "height": 1000,
        "content": "## 🛫 Step 1: Get the Post\n\nThis is the **entry point** of the Reddit Insight workflow, responsible for fetching fresh Reddit content on a regular basis.\n\n### 🔁 **Trigger Daily Reddit Scan**\n\nThis **Schedule Trigger** node initiates the workflow automatically at a predefined time—typically once per day. It ensures that your automation always works with the most recent content from Reddit without any manual input.\n\n### 📥 **Fetch Reddit Posts**\n\nThis **Reddit node** is configured to search specific subreddits using filters like:\n\n* **Subreddit** (e.g., `technology`, `ai`)\n* **Search term** (e.g., `GPT-5`, `startup launch`)\n* **Time range** (`day`, `week`, etc.)\n* **Sort by** (`top`, `hot`, `new`)\n* **Limit** (e.g., 5 posts)\n\nIt pulls the top relevant posts based on these criteria and passes them along for AI analysis in the next step.\n\n> 🔍 This section ensures you're always working with timely, relevant Reddit discussions—perfect for trend monitoring or content summarization.\n\n---\n\nLet me know if you want to break this into a reusable subworkflow or add dynamic inputs via a UI form.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "c9b3000d-17df-4b32-b4d6-ca381b1f2aa7",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        3120
      ],
      "parameters": {
        "color": 4,
        "width": 440,
        "height": 820,
        "content": "## 🧠 Step 2: Post Summarization\n\nThis section turns raw Reddit content into concise insights using AI.\n\n### 🤖 **Summarize Posts with AI**\n\nThe **AI Agent** receives posts and uses a connected chat model to analyze and summarize each one. It can extract key points, tone, and trends — making the content more actionable.\n\n### 🔗 **Generate AI Insights (OpenAI Chat Model)**\n\nThe summarization is powered by the **OpenAI Chat Model**, which processes each post using a tailored prompt.\n\n> 📌 This step helps convert Reddit noise into clear, valuable summaries for decision-making or sharing."
      },
      "typeVersion": 1
    },
    {
      "id": "bdd58493-78ed-4dbc-ad6f-3fa136168a4e",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3160,
        2980
      ],
      "parameters": {
        "color": 6,
        "width": 440,
        "height": 920,
        "content": "## 📤 Step 3: Send the Summary\n\nThis section distributes the AI-generated summary to communication channels.\n\n### 💬 **Send Summary to Slack**\n\nThe summarized content is sent to a **Slack channel** via a message post. Ideal for quick team updates directly in your workflow.\n\n### 📧 **Send Summary to Gmail**\n\nSimultaneously, the same summary is sent to a **Gmail inbox**, ensuring recipients outside Slack still get the insights.\n\n> 📌 This step ensures summaries are instantly shared with stakeholders via preferred communication tools."
      },
      "typeVersion": 1
    },
    {
      "id": "4013e36b-6070-4120-a5cc-ae5824d3e1d9",
      "name": "Nota Adhesiva9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        2760
      ],
      "parameters": {
        "color": 4,
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n=======================================\n"
      },
      "typeVersion": 1
    },
    {
      "id": "22cc5f85-cd65-4fb9-ab3d-70393e580d55",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        3100
      ],
      "parameters": {
        "color": 4,
        "width": 1289,
        "height": 2378,
        "content": "Based on your example, here’s a detailed breakdown for your **Reddit to AI Summary for Slack & Gmail** workflow, using the same structure and clarity:\n\n---\n\n# 🔎 Reddit Insight Broadcaster\n\nAutomatically fetch top Reddit posts, generate insights using OpenAI, and broadcast summaries to Slack and Gmail. Perfect for:\n✅ Market Monitoring — get daily pulse on trends and user sentiment\n✅ Content Curation — surface engaging discussions for teams\n\n---\n\n## ⚙️ What's Used\n\n**n8n Nodes:**\nSchedule Trigger → Reddit → AI Agent → OpenAI Chat Model → Slack → Gmail\n\n**External Tools:**\n\n* **Reddit** – Public API via n8n's Reddit node\n* **OpenAI GPT** – For intelligent summarization or sentiment tagging\n* **Slack** – Post to selected channel\n* **Gmail** – Send summaries via email\n\n---\n\n## 🔑 Setup – Credentials Needed\n\n* **Reddit Access** – Use n8n Reddit node (API key or OAuth2 if rate-limited access is needed)\n* **OpenAI API Key** – Add in the OpenAI Chat node\n* **Slack OAuth2** – Connect your workspace\n* **Gmail OAuth2** – Connect your Google account\n\n---\n\n## 🚀 Workflow Steps\n\n1. **Trigger Every Morning**\n   Scheduler runs daily at a set time.\n\n2. **Search Reddit Posts**\n   Uses subreddit and keyword filters.\n\n3. **Analyze Content with AI**\n   The AI Agent passes each post to OpenAI to:\n\n   * Summarize discussion\n   * Extract insights\n   * Optionally classify sentiment\n\n4. **Broadcast Insights**\n\n   * Post to a designated Slack channel\n   * Send via Gmail to stakeholders\n\n---\n\n## 📥 Example Output (Slack/Gmail Message)\n\n```\n🔍 Top Reddit Discussion — r/technology\n\n**Title:** OpenAI releases new GPT model  \n**Summary:** Users are discussing the implications of GPT-5's capabilities. General sentiment is excitement mixed with concern over ethical use.  \n**Upvotes:** 1,200 | 💬 Comments: 350  \n🔗 [Read Post](https://reddit.com/r/technology/example)\n```\n\n---\n\n## 💡 Pro Tips\n\n* Change subreddit dynamically using variables or UI form\n* Use OpenAI to classify tone (positive/neutral/negative)\n* Add branching: e.g., only email posts with >500 upvotes\n* Extend to Notion or Google Sheets for archiving\n* Use emojis or markdown in Slack messages for better UX\n\n---\n\n## 🛠️ Customize It\n\n* **Add filters:** Only include posts with >X upvotes\n* **Score content:** Prioritize based on engagement + AI relevance\n* **Route by topic:** Post AI topics to `#ai`, startup topics to `#founders`\n* **Trigger on-demand:** Add webhook or form to control when it runs\n\n---\n\nThis workflow is a lightweight yet powerful Reddit monitoring tool—perfect for keeping your team updated, generating newsletter content, or tracking niche trends.\n📡 One bot. One summary. Fully automated."
      },
      "typeVersion": 1
    },
    {
      "id": "3b1c680a-0c74-4a83-bf3f-163e9b5114e6",
      "name": "Activar Escaneo Diario de Reddit",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        2220,
        3580
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "e5b2e77c-54df-46e4-a130-b30eed7934ab": {
      "main": [
        [
          {
            "node": "696586e7-a66b-49a9-a3e7-d309bb441951",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c665d7bb-0c34-4d34-807c-4861c984277e": {
      "ai_languageModel": [
        [
          {
            "node": "696586e7-a66b-49a9-a3e7-d309bb441951",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "696586e7-a66b-49a9-a3e7-d309bb441951": {
      "main": [
        [
          {
            "node": "57ba5821-49e1-4ede-9bb0-a7097f94a286",
            "type": "main",
            "index": 0
          },
          {
            "node": "b4a501fb-7f2d-4d72-ae38-c418e10b588e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3b1c680a-0c74-4a83-bf3f-163e9b5114e6": {
      "main": [
        [
          {
            "node": "e5b2e77c-54df-46e4-a130-b30eed7934ab",
            "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 - Inteligencia Artificial, Marketing

¿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

Resumen automático de noticias y boletín por correo (GPT-4, NewsAPI y Gmail)
Generación automática de resúmenes de noticias y boletines con GPT-4, NewsAPI y Gmail
Gmail
Http Request
Google Sheets
+
Gmail
Http Request
Google Sheets
7 NodosYaron Been
Inteligencia Artificial
Robot de resumen de FireCrawl
Un bot de inteligencia de mercado impulsado por Firecrawl AI: entrega automatizada de noticias e ideas
Code
Slack
Http Request
+
Code
Slack
Http Request
10 NodosYaron Been
Inteligencia Artificial
Asistente de Análisis de YouTube con IA: Análisis de Comentarios e Informe de Perspectivas
Asistente de Análisis de YouTube con IA: Analizador de Comentarios y Generador de Informes de Perspectivas
If
Set
Code
+
If
Set
Code
19 NodosYaron Been
Inteligencia Artificial
Interacción con publicaciones de LinkedIn usando Phantombuster
Seguimiento de interacciones automatizadas de LinkedIn con Phantombuster, OpenAI GPT y Google Sheets
Http Request
Google Sheets
Agent
+
Http Request
Google Sheets
Agent
14 NodosYaron Been
Inteligencia Artificial
Monitor de actividad de startups de Crunchbase
Inteligencia diaria sobre startups: procesamiento de actualizaciones de Crunchbase con GPT y envío de resumen por correo electrónico
Set
Gmail
Http Request
+
Set
Gmail
Http Request
12 NodosYaron Been
Inteligencia Artificial
Generar copias publicitarias y llamadas a la acción para productos utilizando GPT-4 para Slack y Airtable
Usar GPT-4 para generar copias de anuncios de productos y llamadas a la acción para Slack y Airtable
Slack
Airtable
Form Trigger
+
Slack
Airtable
Form Trigger
10 NodosYaron Been
Inteligencia Artificial
Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos11
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
Yaron Been

Yaron Been

@yaron-nofluff

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34