Perplexity Sonar Proを使ったGmailへのAIニュースリサーチエージェント

中級

これはMarket Research, AI Summarization分野の自動化ワークフローで、11個のノードを含みます。主にGmail, Perplexity, Agent, ScheduleTrigger, LmChatOpenAiなどのノードを使用。 毎日のAIニュースサマリー - Perplexity Pro、GPTフォーマット、そしてGmailを使用して送信

前提条件
  • Googleアカウント + Gmail API認証情報
  • OpenAI API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "KCrlYuUlMRdpLfKw",
  "meta": {
    "instanceId": "f1ddac76345e25fbcb39be5dda61ac252c301456dbe2cab4155317eaddbb7562",
    "templateCredsSetupCompleted": true
  },
  "name": "AI News Research Agent with Perplexity Sonar Pro to Gmail",
  "tags": [],
  "nodes": [
    {
      "id": "708a8c6b-d521-4dd3-a093-ddc21c95c122",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -160,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "645b1d90-c9f8-4ec9-9266-48eb3f6fa70c",
      "name": "メッセージ送信",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        0
      ],
      "webhookId": "c90e86e9-2fcb-459d-8141-b9b819c3839b",
      "parameters": {
        "sendTo": "",
        "message": "={{ $json.output }}",
        "options": {},
        "subject": "AI News Update in the last 24 hours",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
      "name": "フォーマッターAIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        360,
        0
      ],
      "parameters": {
        "text": "={{ $json.choices[0].message.content }}",
        "options": {
          "systemMessage": "You are a helpful formatter assistant, you will receive a chunk of AI Headlines and news, your job is to format it such that it is in an easily readable format for email."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "f7bc9b62-e051-430b-a269-395b22da6157",
      "name": "OpenAI チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        380,
        200
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "93da545a-da0d-4c65-ab59-962aa1257771",
      "name": "シンプルメモリ",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        540,
        200
      ],
      "parameters": {
        "sessionKey": "={{ $('Research Agent').item.json.id }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "3a109ff0-4f5e-4da3-bda9-6103923d9ad8",
      "name": "リサーチエージェント",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        80,
        0
      ],
      "parameters": {
        "model": "sonar-pro",
        "options": {
          "searchRecency": "day"
        },
        "messages": {
          "message": [
            {
              "role": "system",
              "content": "You are a cutting‑edge AI news researcher. Every time you run, search for and retrieve the most recent developments in artificial intelligence published within the last 24 hours. \n\nFor each news item you return:\n- Include the full headline.\n- Provide a one‑sentence summary.\n- Unfurl the full URL (no shortened links or footnote markers).\n- List the publication date and the source name."
            },
            {
              "content": "What are the latest headlines in AI Development in the past 24 hours? Include any model launches or notable market news."
            }
          ]
        },
        "requestOptions": {}
      },
      "credentials": {
        "perplexityApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f006dbcc-794d-477e-8835-a1762e5a6719",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Scheduled Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "044d8c27-bc57-4e29-b57b-757794aaaf49",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Perplexity Research Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "43d45d64-c592-4a1e-8b4f-f4d3bfa83d37",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -200
      ],
      "parameters": {
        "width": 400,
        "height": 560,
        "content": "Formatter Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "b324e00e-9838-49a9-b758-c3c6a53011ab",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -200
      ],
      "parameters": {
        "width": 320,
        "height": 560,
        "content": "Gmail Output Node"
      },
      "typeVersion": 1
    },
    {
      "id": "505ab0d1-a982-497a-b920-8ac3fd95c1b0",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -260
      ],
      "parameters": {
        "width": 720,
        "height": 1120,
        "content": "🧠 AI News Update Every 24 Hours (with Perplexity + GPT Formatter)\nDescription:\nThis workflow automatically delivers a clean, AI-curated summary of the latest AI news headlines from the past 24 hours directly to your inbox — every morning at 9 AM.\n\nFor step-by-step video tutorial for this build, watch here:\nhttps://youtu.be/O-DLvaMVLso\n\n🧰 How It Works:\n🕘 Schedule Trigger\n Runs daily at 9 AM to start the workflow.\n\n🔎 Perplexity AI Agent\n Searches for AI-related headlines published in the last 24 hours, including:\n\nHeadline\n\n1-sentence summary\n\nSource\n\nFull URL\n\n🧠 GPT Formatter AI Agent\n Uses an OpenAI language model (GPT-4.1-mini) to reformat raw news data into a clean, readable email update.\n\n🧷 Memory Buffer (Optional)\n Gives the formatter context and continuity if you want to personalize formatting further over time.\n\n📧 Gmail Node\n Sends the formatted AI news digest to your inbox (or your team’s) daily.\n\n📦 Tools & APIs Required:\n✅ Perplexity AI API\n\n✅ OpenAI API\n\n✅ Gmail Account (OAuth2 credentials)\n\n🔄 Use Cases:\nDaily AI trend monitoring for individuals or teams\n\nAutomating internal market intelligence\n\nResearch triggers for blog or content creation\n\nEmail digests for newsletters or Slack updates\n\n🛠️ Customizable Ideas:\nSwap Gmail for Slack, Telegram, Discord, etc.\n\nModify the topic (e.g., Climate Tech, Crypto News)\n\nAdd sentiment analysis or AI-generated commentary\n\nSend summary to Google Docs or Notion instead\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ebf980fb-4544-483c-81fc-0579e5619fd2",
  "connections": {
    "93da545a-da0d-4c65-ab59-962aa1257771": {
      "ai_memory": [
        [
          {
            "node": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "3a109ff0-4f5e-4da3-bda9-6103923d9ad8": {
      "main": [
        [
          {
            "node": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "708a8c6b-d521-4dd3-a093-ddc21c95c122": {
      "main": [
        [
          {
            "node": "3a109ff0-4f5e-4da3-bda9-6103923d9ad8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f7bc9b62-e051-430b-a269-395b22da6157": {
      "ai_languageModel": [
        [
          {
            "node": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4": {
      "main": [
        [
          {
            "node": "645b1d90-c9f8-4ec9-9266-48eb3f6fa70c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 市場調査, AI要約

有料ですか?

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

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

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

作成者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34