Google Gemini AIを使用して経済ニュースの要約を生成し、Outlookメールで送信

上級

これはFinance, Product, AI分野の自動化ワークフローで、18個のノードを含みます。主にSet, Code, Aggregate, HttpRequest, ManualTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 GoogleジェミニAIを活用して財経ニュースを要約し、Outlookメールで送信

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "68ab2fc38a2cc97b15d1ba880cb72d72238eae5b4218b86b5ebb74c36e6b712f",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "37ef1af1-135b-43f5-b461-eaaa0e5398d3",
      "name": "オンラインで金融ニュースを取得",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "Url : https://www.ft.com/",
      "position": [
        800,
        120
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 4.2
    },
    {
      "id": "28e3610c-088b-441a-a878-a622d481f8a5",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -80,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "07495fc9-4c23-4afd-a613-c6c9c4afb8e4",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1420,
        280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "505775ac-b8c2-47cb-b52e-0d672defc7e8",
      "name": "要素を収集",
      "type": "n8n-nodes-base.set",
      "position": [
        1020,
        120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "dcd60db4-d081-4bd8-adbd-9b5f1fe9daca",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1460,
        120
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "dd48f047-5afd-4328-be43-c4e273678335",
      "name": "要約をメールで送信",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        1400,
        -160
      ],
      "webhookId": "536b3246-b43f-4622-ae1e-2af5afdeb023",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b839af50-9de4-4e4b-bf2a-908162cf1673",
      "name": "「Test workflow」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -80,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0f98ba27-1a2f-49c4-8dcd-17b3f143e458",
      "name": "フィールド編集",
      "type": "n8n-nodes-base.set",
      "position": [
        1240,
        120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "93ba87ad-038d-46d2-bdb2-6541bb168438",
      "name": "Item List Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserItemList",
      "position": [
        1608,
        340
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a756e116-60e4-43c3-8009-8795f1db0f4f",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2056,
        245
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "654de85f-47a7-4cc3-b2cb-aa46172f9bcd",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2144,
        465
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c3200eee-d9c9-4b4c-a4f7-3b5d04e712c4",
      "name": "フィールド編集1",
      "type": "n8n-nodes-base.set",
      "position": [
        140,
        120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "39fef131-fc55-49dc-af2b-7adad8307b12",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1180,
        -160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e17d16e5-ef89-4e99-9336-cd39a1a7442f",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        360,
        120
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5fdd6257-bca4-42dd-b2cf-5511abe1bfaa",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        580,
        120
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "584a32f9-115b-450c-bc4e-4bca605e9e44",
      "name": "フィールド編集2",
      "type": "n8n-nodes-base.set",
      "position": [
        1836,
        120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "fc82325d-e873-41a1-a710-31b6ac3d761f",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dc18ae32-1396-4a89-84a4-53181405c2fd",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "e17d16e5-ef89-4e99-9336-cd39a1a7442f": {
      "main": [
        [
          {
            "node": "5fdd6257-bca4-42dd-b2cf-5511abe1bfaa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dcd60db4-d081-4bd8-adbd-9b5f1fe9daca": {
      "main": [
        [
          {
            "node": "584a32f9-115b-450c-bc4e-4bca605e9e44",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a756e116-60e4-43c3-8009-8795f1db0f4f": {
      "main": [
        [
          {
            "node": "5fdd6257-bca4-42dd-b2cf-5511abe1bfaa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39fef131-fc55-49dc-af2b-7adad8307b12": {
      "main": [
        [
          {
            "node": "dd48f047-5afd-4328-be43-c4e273678335",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0f98ba27-1a2f-49c4-8dcd-17b3f143e458": {
      "main": [
        [
          {
            "node": "dcd60db4-d081-4bd8-adbd-9b5f1fe9daca",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c3200eee-d9c9-4b4c-a4f7-3b5d04e712c4": {
      "main": [
        [
          {
            "node": "e17d16e5-ef89-4e99-9336-cd39a1a7442f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "584a32f9-115b-450c-bc4e-4bca605e9e44": {
      "main": [
        [
          {
            "node": "a756e116-60e4-43c3-8009-8795f1db0f4f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5fdd6257-bca4-42dd-b2cf-5511abe1bfaa": {
      "main": [
        [
          {
            "node": "39fef131-fc55-49dc-af2b-7adad8307b12",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "37ef1af1-135b-43f5-b461-eaaa0e5398d3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "28e3610c-088b-441a-a878-a622d481f8a5": {
      "main": [
        [
          {
            "node": "c3200eee-d9c9-4b4c-a4f7-3b5d04e712c4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "505775ac-b8c2-47cb-b52e-0d672defc7e8": {
      "main": [
        [
          {
            "node": "0f98ba27-1a2f-49c4-8dcd-17b3f143e458",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "93ba87ad-038d-46d2-bdb2-6541bb168438": {
      "ai_outputParser": [
        [
          {
            "node": "dcd60db4-d081-4bd8-adbd-9b5f1fe9daca",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "07495fc9-4c23-4afd-a613-c6c9c4afb8e4": {
      "ai_languageModel": [
        [
          {
            "node": "dcd60db4-d081-4bd8-adbd-9b5f1fe9daca",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "37ef1af1-135b-43f5-b461-eaaa0e5398d3": {
      "main": [
        [
          {
            "node": "505775ac-b8c2-47cb-b52e-0d672defc7e8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "654de85f-47a7-4cc3-b2cb-aa46172f9bcd": {
      "ai_languageModel": [
        [
          {
            "node": "a756e116-60e4-43c3-8009-8795f1db0f4f",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "b839af50-9de4-4e4b-bf2a-908162cf1673": {
      "main": [
        [
          {
            "node": "c3200eee-d9c9-4b4c-a4f7-3b5d04e712c4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - 財務, プロダクト, 人工知能

有料ですか?

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

ワークフロー情報
難易度
上級
ノード数18
カテゴリー3
ノードタイプ12
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34