Ultimativer Blog-Inhaltsautor RAG KI-Agent + Perplexity-Recherche

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 14 Nodes. Hauptsächlich werden GoogleDocs, SlackTrigger, PerplexityTool, Agent, LmChatAnthropic und andere Nodes verwendet. Erstellen Sie forschungsbasierte Blog-Inhalte mit Slack, Perplexity, Pinecone und Google Docs

Voraussetzungen
  • Slack Bot Token oder Webhook URL
  • Anthropic API Key
  • OpenAI API Key
  • Pinecone 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": "Uz3L0EpsCqsr7aFV",
  "meta": {},
  "name": "Ultimate Blog Content Author RAG AI Agent + Perplexity Research",
  "tags": [],
  "nodes": [
    {
      "id": "6ebbb531-ac74-477e-8db9-098ed6a809a8",
      "name": "Anthropic-Chat-Modell",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        -80,
        224
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "claude-sonnet-4-20250514",
          "cachedResultName": "Claude 4 Sonnet"
        },
        "options": {}
      },
      "typeVersion": 1.3
    },
    {
      "id": "6c677236-70db-43af-9bc2-22437a253c8e",
      "name": "Pinecone Vektorspeicher",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        384,
        224
      ],
      "parameters": {
        "mode": "retrieve-as-tool",
        "options": {},
        "pineconeIndex": {
          "__rl": true,
          "mode": "list",
          "value": "<<<PINECONE_INDEX>>>",
          "cachedResultName": "<<<PINECONE_INDEX_NAME>>>"
        },
        "toolDescription": "Refer to Pinecone Vector Database for similar style Blogs"
      },
      "typeVersion": 1.3
    },
    {
      "id": "ebc335c7-a58c-4474-8e4b-57994736fe3d",
      "name": "Einbettungen OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        496,
        400
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
      "name": "Blogpost KI-Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        48,
        0
      ],
      "parameters": {
        "text": "={{ $json['Blogpost Idea'] }}",
        "options": {
          "systemMessage": "=You are an expert blogpost writer AI Agent.\nYour only task is to generate a complete, engaging, and well-structured blogpost based on the user’s provided blogpost idea.\n\n🔒 Constraints:\n\nAlways write in clear, professional, and natural language.\n\nOutput only the final blogpost content — no explanations, commentary, or metadata.\n\nStructure the blogpost with:\n\nA catchy title\n\nAn engaging introduction\n\nWell-organized sections with subheadings\n\nA concise and impactful conclusion\n\nLength: at least 800 words (unless the user specifies otherwise).\n\nTailor tone and style to suit the topic (e.g., educational, conversational, persuasive, or technical).\n\nInclude examples, analogies, or step-by-step breakdowns when helpful.\n\nDo not repeat the user’s input verbatim; expand it into a fully developed article.\n\nDo not include system prompts, notes, or formatting instructions in your output.\n\nThe user will provide the blogpost idea. You will return the finished blogpost.\n\n##Tool\nUse the Pinecone Vector Store Tool to refer to the style of blogpost that the user want.\n\nUse the Perplexity Tool attached to research relevant news and latest information about the blog content"
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "0332a3a7-fd9e-4d78-83e6-fd8efaedf3cc",
      "name": "Dokument erstellen",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        720,
        0
      ],
      "parameters": {
        "title": "Blogpost",
        "folderId": "<<<GOOGLE_DRIVE_FOLDER_ID>>>"
      },
      "typeVersion": 2
    },
    {
      "id": "f1127452-a013-43ef-80d4-95ea3eab249f",
      "name": "Dokument aktualisieren",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        992,
        0
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "text": "={{ $('Blogpost AI Agent').item.json.output }}",
              "action": "insert"
            }
          ]
        },
        "operation": "update",
        "documentURL": "<<<GOOGLE_DOC_URL>>>"
      },
      "typeVersion": 2
    },
    {
      "id": "1b35134a-10d2-40be-96ba-3ed71cef93fa",
      "name": "Slack-Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        -352,
        0
      ],
      "parameters": {
        "options": {},
        "trigger": [
          "app_mention"
        ],
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "<<<SLACK_CHANNEL_ID>>>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "899b1b78-95f6-4424-9ea9-d51cfa44bc46",
      "name": "Simple Speicher",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        80,
        224
      ],
      "parameters": {
        "contextWindowLength": 15
      },
      "typeVersion": 1.3
    },
    {
      "id": "4fa88631-8e4f-4952-b0eb-1205bde7d759",
      "name": "Message a model in Perplexity",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        256,
        224
      ],
      "parameters": {
        "model": "sonar-pro",
        "options": {},
        "messages": {
          "message": [
            {
              "content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('message0_Text', ``, 'string') }}"
            }
          ]
        },
        "simplify": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Simplify_Output', ``, 'boolean') }}",
        "requestOptions": {}
      },
      "typeVersion": 1
    },
    {
      "id": "3a7751f2-4073-4ac9-9707-dde3ca854ece",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -208
      ],
      "parameters": {
        "width": 432,
        "height": 880,
        "content": "Slack Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "17656652-74cc-4bd5-a793-bc4131d3b60c",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -112,
        -208
      ],
      "parameters": {
        "color": 5,
        "width": 752,
        "height": 880,
        "content": "Blogpost AI Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "528cd1cc-3015-4d93-9697-6202cd13083c",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        -208
      ],
      "parameters": {
        "color": 6,
        "width": 272,
        "height": 880,
        "content": "Document Creation"
      },
      "typeVersion": 1
    },
    {
      "id": "3fe67e52-6ce7-441c-a7d6-5377ad478022",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        -208
      ],
      "parameters": {
        "color": 2,
        "width": 272,
        "height": 880,
        "content": "Write Blog Content to Google Doc"
      },
      "typeVersion": 1
    },
    {
      "id": "dd56b80b-c511-4f7b-b546-98ddf3190513",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        -208
      ],
      "parameters": {
        "color": 4,
        "width": 592,
        "height": 976,
        "content": "✍️ Ultimate AI Blog Content Creator with Slack + Pinecone + Perplexity\n\nDescription\nTurn your marketing team’s blog ideas into full, research-backed, brand-aligned articles with one Slack mention. This workflow connects Slack, Pinecone, and Perplexity to deliver high-impact blog posts that match your company’s voice and leverage the latest research — all written directly into Google Docs for immediate publishing.\n\n👉 Watch step-by-step build of this workflow on: www.youtube.com/@automatewithmarc\n\nHow It Works\n\nSlack Trigger – Marketing team members @mention the bot with a blog idea.\n\nPerplexity Tool – Gathers the most up-to-date insights and research on the topic.\n\nPinecone Vector DB – Injects your brand guidelines, tone, and style from stored vectors.\n\nAI Blogpost Agent – Powered by Anthropic/OpenAI, it blends research + style to create a polished, structured blog post.\n\nSimple Memory – Keeps context across requests for more consistent content.\n\nGoogle Docs – Creates and updates a document with the generated article, ready for review or publishing.\n\nWhy Content Teams Will Love It\n\n⚡ Faster turnaround — go from idea to publish-ready blog in minutes.\n\n📝 On-brand every time — uses your Pinecone-stored brand guidelines.\n\n🌍 Research-driven — Perplexity ensures content is current and credible.\n\n🤝 Team-friendly — triggered right inside Slack for effortless collaboration.\n\nRequirements\n\nSlack App (with app_mentions:read, chat:write)\n\nPinecone account with embedded brand guideline vectors\n\nPerplexity API key\n\nAnthropic/OpenAI API key\n\nGoogle Docs account"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Blogpost AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Blogpost AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Blogpost AI Agent": {
      "main": [
        [
          {
            "node": "0332a3a7-fd9e-4d78-83e6-fd8efaedf3cc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0332a3a7-fd9e-4d78-83e6-fd8efaedf3cc": {
      "main": [
        [
          {
            "node": "f1127452-a013-43ef-80d4-95ea3eab249f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Blogpost AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store": {
      "ai_tool": [
        [
          {
            "node": "Blogpost AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "4fa88631-8e4f-4952-b0eb-1205bde7d759": {
      "ai_tool": [
        [
          {
            "node": "Blogpost AI Agent",
            "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?

Fortgeschritten - Content-Erstellung, Multimodales KI

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 Nodes14
Kategorie2
Node-Typen9
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