Resumen automático de noticias y boletín por correo (GPT-4, NewsAPI y Gmail)

Intermedio

Este es unAI, Marketingflujo de automatización del dominio deautomatización que contiene 7 nodos.Utiliza principalmente nodos como Gmail, HttpRequest, GoogleSheets, Agent, ScheduleTrigger, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Generación automática de resúmenes de noticias y boletines con GPT-4, NewsAPI y Gmail

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
  • Pueden requerirse credenciales de autenticación para la API de destino
  • Credenciales de API de Google Sheets
  • 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": "c5091fb1-5bc5-44bc-b804-201d5ffe0672",
      "name": "Disparador Programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2120,
        -40
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "60424e56-7429-48c5-831c-056e9874b8a3",
      "name": "Agentee de IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1560,
        -40
      ],
      "parameters": {
        "text": "=You are act as news expert and collect all news headlines  in below and summarise in 5 bullets.\n\n\n {{ $json.articles[1].title }}",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "2bd28b32-80f9-4a69-9b1a-0eee7ef3db42",
      "name": "Modelo de Chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1560,
        140
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "792376e9-3312-4862-94a0-e38de2e6dda5",
      "name": "Obtener Noticias",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1840,
        -40
      ],
      "parameters": {
        "url": "https://newsapi.org/v2/top-headlines",
        "options": {},
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "country",
              "value": "us"
            },
            {
              "name": "apiKey",
              "value": "NEWS_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "596c8d5d-3c03-435e-abab-e7b93de28471",
      "name": "Enviar Correo",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -980,
        -40
      ],
      "webhookId": "e5c02fba-64bc-47f0-b752-2de2b8e6b03c",
      "parameters": {
        "sendTo": "={{ $json.Email }}",
        "message": "=Hi {{ $json.Name }},\nPlease find the top news headlines as below:\n\n{{ $('AI Agent').item.json.output }}",
        "options": {},
        "subject": "News Headlines",
        "emailType": "text"
      },
      "typeVersion": 2.1
    },
    {
      "id": "125b6015-f220-4245-94eb-08d61ece41b3",
      "name": "Lista de Correos",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1200,
        -40
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1L2dLObdw_aicD6fTd-ElHSBBJIj1aBmKT7FecMtbyyE/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1L2dLObdw_aicD6fTd-ElHSBBJIj1aBmKT7FecMtbyyE",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1L2dLObdw_aicD6fTd-ElHSBBJIj1aBmKT7FecMtbyyE/edit?usp=drivesdk",
          "cachedResultName": "Emails"
        }
      },
      "typeVersion": 4.5
    },
    {
      "id": "b4146559-5d6c-4db3-aad5-12a73621aa90",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3020,
        -300
      ],
      "parameters": {
        "width": 740,
        "height": 1280,
        "content": "📰 AI News Digest Agent: Auto News Summarizer & Emailer\nAutomatically fetch top news headlines, generate AI-powered summaries, and send personalized digests to your subscriber list. Perfect for:\n✅ Newsletter creators — deliver curated news content effortlessly\n✅ Teams & organizations — keep everyone informed with regular updates\n✅ Content curators — transform news into digestible insights\n\n⚙️ What's Used\nn8n Nodes:\nSchedule Trigger → News API → AI Agent → OpenAI Chat Model → Google Sheets → Gmail\nExternal Tools:\n\nNewsAPI – Fetch latest headlines from reliable sources\nOpenAI GPT-4 – Generate concise 5-bullet summaries\nGoogle Sheets – Manage subscriber email lists\nGmail – Send personalized news digests\n\n\n🔑 Setup – Credentials Needed\n\nNewsAPI Key → Free account at newsapi.org for headline access\nOpenAI API Key → For AI-powered news summarization\nGoogle Sheets OAuth2 → Access subscriber email lists\nGmail OAuth2 → Send automated newsletter emails\n\n\n📊 Google Sheets Structure Required\nCreate a simple subscriber spreadsheet:\n\nName (subscriber's name for personalization)\nEmail (recipient email addresses)\n\n\n🚀 Workflow Steps\n\nScheduled News Collection\nRuns every 10 minutes to fetch latest US headlines from NewsAPI\nAI-Powered Summarization\nGPT processes news headlines and creates concise 5-bullet summaries\nSubscriber List Access\nRetrieves email list from Google Sheets for distribution\nPersonalized Email Delivery\nSends customized news digests to each subscriber with their name\n\n\n💡 Pro Tips\n\nCustomize the country parameter (US, UK, CA, etc.) for regional news\nAdjust schedule frequency based on your audience preferences\nAdd category filters (technology, business, sports) for niche newsletters\nMonitor email delivery rates and subscriber engagement\nTest with small subscriber lists before scaling up\n\n\n🛠️ Customize It\n\nAdd multiple news sources for comprehensive coverage\nInclude trending topics and sentiment analysis\nConnect to Mailchimp or other email marketing platforms\nAdd unsubscribe functionality and list management\nCreate different digest formats (daily, weekly, breaking news)"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Agente de IA": {
      "main": [
        [
          {
            "node": "125b6015-f220-4245-94eb-08d61ece41b3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "792376e9-3312-4862-94a0-e38de2e6dda5": {
      "main": [
        [
          {
            "node": "Agente de IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "125b6015-f220-4245-94eb-08d61ece41b3": {
      "main": [
        [
          {
            "node": "596c8d5d-3c03-435e-abab-e7b93de28471",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c5091fb1-5bc5-44bc-b804-201d5ffe0672": {
      "main": [
        [
          {
            "node": "792376e9-3312-4862-94a0-e38de2e6dda5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2bd28b32-80f9-4a69-9b1a-0eee7ef3db42": {
      "ai_languageModel": [
        [
          {
            "node": "Agente de IA",
            "type": "ai_languageModel",
            "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.

Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos7
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