自動ニュース要約とメールサマリ(GPT-4、NewsAPI、Gmail)

中級

これはAI, Marketing分野の自動化ワークフローで、7個のノードを含みます。主にGmail, HttpRequest, GoogleSheets, Agent, ScheduleTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 GPT-4、NewsAPI、Gmail を使用したニュース要約とメールサマリーの自動生成

前提条件
  • Googleアカウント + Gmail API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Sheets API認証情報
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "5aaf4236c70e34e423fbdb2c7b754d19253a933bb1476d548f75848a01e473cf",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "c5091fb1-5bc5-44bc-b804-201d5ffe0672",
      "name": "スケジュールトリガー",
      "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": "AIエージェント",
      "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": "OpenAI Chat Model",
      "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": "ニュース取得",
      "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": "メール送信",
      "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": "メールリスト",
      "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": "付箋ノート",
      "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": {
    "60424e56-7429-48c5-831c-056e9874b8a3": {
      "main": [
        [
          {
            "node": "125b6015-f220-4245-94eb-08d61ece41b3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "792376e9-3312-4862-94a0-e38de2e6dda5": {
      "main": [
        [
          {
            "node": "60424e56-7429-48c5-831c-056e9874b8a3",
            "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": "60424e56-7429-48c5-831c-056e9874b8a3",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - 人工知能, マーケティング

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数7
カテゴリー2
ノードタイプ7
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
Yaron Been

Yaron Been

@yaron-nofluff

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34