Automatisierte Nachrichtenrecherche und Telegram-Broadcast mit OpenAI, SerpAPI und LangChain

Experte

Dies ist ein Social Media, AI RAG-Bereich Automatisierungsworkflow mit 23 Nodes. Hauptsächlich werden If, Set, Wait, Gmail, Telegram und andere Nodes verwendet. Automatisierte Nachrichtenrecherche und Telegramm-Broadcasting mit OpenAI, SerpAPI und LangChain

Voraussetzungen
  • Google-Konto + Gmail API-Anmeldedaten
  • Telegram Bot Token
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • Google Gemini 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
{
  "meta": {
    "instanceId": "cb9a1e5321767b6316634728341237e564b2587ab15b74ca0a89eb02a53484d6",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "92486939-007d-4b63-afa4-28d41ea13d0a",
      "name": "Notizzettel5",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -1616,
        48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5cbd0652-b8cc-443e-be65-e4894c754901",
      "name": "Notizzettel6",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -544,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "27ae28d4-0e81-4b75-91cf-a61acda04f3c",
      "name": "Notizzettel7",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -16,
        16
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0d30a571-f837-4a11-b982-a79bfa02190c",
      "name": "Notizzettel9",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        672,
        -96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d4c9cb50-340f-4af8-81e7-14f120fe30fb",
      "name": "AI Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        256,
        560
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a554dc14-985a-4950-bc8e-0846cd4b59be",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        32,
        576
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "0e868d12-6376-4f71-b02b-02f77316ecc1",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        160,
        576
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3615df01-5fdf-43d9-b928-c628f0d1897e",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        144,
        352
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "05045f1a-d47a-4d22-8eb6-4b134867373d",
      "name": "Felder bearbeiten",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        272
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c5572771-95ed-4e9f-a05e-264c223bf03f",
      "name": "Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -384,
        272
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f77a68f0-08c6-4bb7-a049-77ff07187cef",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        32,
        720
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b2c21b16-3823-4c9a-91d6-d624bf9033b5",
      "name": "Dokument in Google Docs abrufen",
      "type": "n8n-nodes-base.googleDocsTool",
      "position": [
        192,
        704
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "426ff7a3-6cdf-4fa4-93cb-a2bb34c24a74",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        304,
        720
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1061b014-e9af-4620-a4b0-a2507ff16326",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        400,
        720
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a8af3086-c65c-41e7-bf0b-7f8d25f81ae7",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        544,
        352
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2b22739b-a10c-426b-a66a-84439dcc2767",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        784,
        224
      ],
      "webhookId": "829ccbe5-ea02-4128-bc8c-43897bca1855",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "713ef0fa-1baf-4ed7-a219-153bd78edf8e",
      "name": "Do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        784,
        448
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "952f0f8e-b728-4a72-a85d-738fcdebaba4",
      "name": "Im Kanal posten",
      "type": "n8n-nodes-base.telegram",
      "position": [
        976,
        304
      ],
      "webhookId": "d60206f7-b55c-41d9-bb2f-04a43dd9dc93",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b15d087a-6f18-44da-9870-bbb42ecc91a7",
      "name": "Bei Formularübermittlung",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -384,
        448
      ],
      "webhookId": "5c9d850c-c56c-44f6-a5b1-e25762ffae6d",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "8ebb13e7-2986-41c3-bce8-88b346eba209",
      "name": "Felder bearbeiten1",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        448
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a4330e71-af2d-41c1-8373-5a74976e6aac",
      "name": "Rapiwa",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        1184,
        384
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5f729de2-dc9c-482b-8ea4-435ba312d835",
      "name": "Nachricht senden",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1184,
        224
      ],
      "webhookId": "4f107f5a-dbe9-4c51-a387-3ad32bcb40b2",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a6b4a5df-9438-4701-88b9-22ccc69c4b2a",
      "name": "Textnachricht senden",
      "type": "n8n-nodes-base.telegram",
      "position": [
        976,
        144
      ],
      "webhookId": "4f94ade8-7625-4680-bacd-4264d539a4cf",
      "parameters": {},
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "a8af3086-c65c-41e7-bf0b-7f8d25f81ae7": {
      "main": [
        [
          {
            "node": "2b22739b-a10c-426b-a66a-84439dcc2767",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "713ef0fa-1baf-4ed7-a219-153bd78edf8e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2b22739b-a10c-426b-a66a-84439dcc2767": {
      "main": [
        [
          {
            "node": "952f0f8e-b728-4a72-a85d-738fcdebaba4",
            "type": "main",
            "index": 0
          },
          {
            "node": "a6b4a5df-9438-4701-88b9-22ccc69c4b2a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0e868d12-6376-4f71-b02b-02f77316ecc1": {
      "ai_tool": [
        [
          {
            "node": "3615df01-5fdf-43d9-b928-c628f0d1897e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "426ff7a3-6cdf-4fa4-93cb-a2bb34c24a74": {
      "ai_tool": [
        [
          {
            "node": "d4c9cb50-340f-4af8-81e7-14f120fe30fb",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "3615df01-5fdf-43d9-b928-c628f0d1897e": {
      "main": [
        [
          {
            "node": "a8af3086-c65c-41e7-bf0b-7f8d25f81ae7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c5572771-95ed-4e9f-a05e-264c223bf03f": {
      "main": [
        [
          {
            "node": "05045f1a-d47a-4d22-8eb6-4b134867373d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "713ef0fa-1baf-4ed7-a219-153bd78edf8e": {
      "main": [
        []
      ]
    },
    "05045f1a-d47a-4d22-8eb6-4b134867373d": {
      "main": [
        [
          {
            "node": "3615df01-5fdf-43d9-b928-c628f0d1897e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8ebb13e7-2986-41c3-bce8-88b346eba209": {
      "main": [
        [
          {
            "node": "3615df01-5fdf-43d9-b928-c628f0d1897e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1061b014-e9af-4620-a4b0-a2507ff16326": {
      "ai_tool": [
        [
          {
            "node": "d4c9cb50-340f-4af8-81e7-14f120fe30fb",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "d4c9cb50-340f-4af8-81e7-14f120fe30fb": {
      "ai_tool": [
        [
          {
            "node": "3615df01-5fdf-43d9-b928-c628f0d1897e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "a554dc14-985a-4950-bc8e-0846cd4b59be": {
      "ai_memory": [
        [
          {
            "node": "3615df01-5fdf-43d9-b928-c628f0d1897e",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "952f0f8e-b728-4a72-a85d-738fcdebaba4": {
      "main": [
        [
          {
            "node": "a4330e71-af2d-41c1-8373-5a74976e6aac",
            "type": "main",
            "index": 0
          },
          {
            "node": "5f729de2-dc9c-482b-8ea4-435ba312d835",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b15d087a-6f18-44da-9870-bbb42ecc91a7": {
      "main": [
        [
          {
            "node": "8ebb13e7-2986-41c3-bce8-88b346eba209",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f77a68f0-08c6-4bb7-a049-77ff07187cef": {
      "ai_languageModel": [
        [
          {
            "node": "d4c9cb50-340f-4af8-81e7-14f120fe30fb",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "3615df01-5fdf-43d9-b928-c628f0d1897e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "b2c21b16-3823-4c9a-91d6-d624bf9033b5": {
      "ai_tool": [
        [
          {
            "node": "d4c9cb50-340f-4af8-81e7-14f120fe30fb",
            "type": "ai_tool",
            "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?

Experte - Soziale Medien, KI RAG

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
Experte
Anzahl der Nodes23
Kategorie2
Node-Typen18
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
DevCode Journey

DevCode Journey

@devcodejourney

I build intelligent systems that automate tasks, streamline workflows, and enhance user experiences using tools like n8n, AI chatbots, and modern automation platforms. With a passion for solving real-world problems through smart technology, I create custom solutions that help individuals and businesses save time, scale faster, and work smarter. Whether it's integrating APIs, building no-code/low-code automations, or developing conversational AI, I'm always exploring the edge of what's possible.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34