KI-Nachrichten-Forschungsagent von Perplexity Sonar Pro zu Gmail

Fortgeschritten

Dies ist ein Market Research, AI Summarization-Bereich Automatisierungsworkflow mit 11 Nodes. Hauptsächlich werden Gmail, Perplexity, Agent, ScheduleTrigger, LmChatOpenAi und andere Nodes verwendet. Tägliche KI-Nachrichtenzusammenfassung basierend auf Perplexity Pro, GPT-Format und Gmail gesendet

Voraussetzungen
  • Google-Konto + Gmail API-Anmeldedaten
  • OpenAI API Key
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in 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": "Zeitplan-Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -160,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "645b1d90-c9f8-4ec9-9266-48eb3f6fa70c",
      "name": "Nachricht senden",
      "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": "Formatierer KI-Agent",
      "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-Chat-Modell",
      "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": "Einfacher Speicher",
      "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": "Recherche-Agent",
      "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": "Notizzettel",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Scheduled Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "044d8c27-bc57-4e29-b57b-757794aaaf49",
      "name": "Notizzettel1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Perplexity Research Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "43d45d64-c592-4a1e-8b4f-f4d3bfa83d37",
      "name": "Notizzettel2",
      "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": "Notizzettel3",
      "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": "Notizzettel4",
      "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
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "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
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Marktforschung, KI-Zusammenfassung

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes11
Kategorie2
Node-Typen7
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
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

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34