毎日のニュース

中級

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

前提条件
  • Googleアカウント + Gmail API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Sheets API認証情報
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "0amwQfcJAlNBQvX6",
  "meta": {
    "instanceId": "ISNTANCE_ID",
    "templateCredsSetupCompleted": true
  },
  "name": "Daily News",
  "tags": [],
  "nodes": [
    {
      "id": "1145643c-2b2c-44e9-bcf4-30e412f9416e",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -960,
        -340
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "44038509-248a-47d4-9c49-5c0f29ffda22",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -400,
        -340
      ],
      "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": "e97aeaae-a829-40d5-a344-6ae7141095ec",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -400,
        -160
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "w5WriC1L8qFxdflM",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7b285d38-5089-4eed-bd81-8ef4667f3c28",
      "name": "ニュース取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -680,
        -340
      ],
      "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": "4c6e30ad-4030-48e7-b735-1d8e228a1c03",
      "name": "メール送信",
      "type": "n8n-nodes-base.gmail",
      "position": [
        180,
        -340
      ],
      "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"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "OgS5yqJfZOSZiv1I",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "c05f27cc-fd08-457a-b964-3bbd3e7193a2",
      "name": "メールリスト",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -40,
        -340
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1L2dLObdw_aicD6fTd-ElHSBBJIj1aBmKT7FecMtbyyE",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit?usp=drivesdk",
          "cachedResultName": "Emails"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "OdwrcEa5aEuPpUNR",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.5
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b5ab7305-3729-4b0a-a432-1e187a93e1bb",
  "connections": {
    "44038509-248a-47d4-9c49-5c0f29ffda22": {
      "main": [
        [
          {
            "node": "c05f27cc-fd08-457a-b964-3bbd3e7193a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7b285d38-5089-4eed-bd81-8ef4667f3c28": {
      "main": [
        [
          {
            "node": "44038509-248a-47d4-9c49-5c0f29ffda22",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c05f27cc-fd08-457a-b964-3bbd3e7193a2": {
      "main": [
        [
          {
            "node": "4c6e30ad-4030-48e7-b735-1d8e228a1c03",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1145643c-2b2c-44e9-bcf4-30e412f9416e": {
      "main": [
        [
          {
            "node": "7b285d38-5089-4eed-bd81-8ef4667f3c28",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e97aeaae-a829-40d5-a344-6ae7141095ec": {
      "ai_languageModel": [
        [
          {
            "node": "44038509-248a-47d4-9c49-5c0f29ffda22",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

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

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

作成者
Amit Mehta

Amit Mehta

@amitswba

I'm a workflow automation expert with 15+ years in IT industry. I build smart, scalable n8n workflows for AI automation, marketing, CRM, and SaaS integrations. My focus is on simplifying business processes with tools like OpenAI, WhatsApp, Gmail, and Airtable. I help teams and solopreneurs automate smarter, reduce manual tasks, and grow faster—one workflow at a time.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34