究極のブログコンテンツライターRAG AI Agent + Perplexityリサーチ

中級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、14個のノードを含みます。主にGoogleDocs, SlackTrigger, PerplexityTool, Agent, LmChatAnthropicなどのノードを使用。 Slack、Perplexity、Pinecone、Google Docsを使って研究支援のブログ コンテンツを作成

前提条件
  • Slack Bot Token または Webhook URL
  • Anthropic API Key
  • OpenAI API Key
  • Pinecone API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定を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 Model",
      "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 Vector Store",
      "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": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        496,
        400
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
      "name": "Blogpost AI 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": "ドキュメントを作成",
      "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": "ドキュメントを更新",
      "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 Memory",
      "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": "付箋",
      "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": "付箋1",
      "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": "付箋2",
      "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": "付箋3",
      "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": "付箋4",
      "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": {
    "899b1b78-95f6-4424-9ea9-d51cfa44bc46": {
      "ai_memory": [
        [
          {
            "node": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "1b35134a-10d2-40be-96ba-3ed71cef93fa": {
      "main": [
        [
          {
            "node": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0febdaf1-3548-45b1-9cb5-654f2da17abd": {
      "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
          }
        ]
      ]
    },
    "ebc335c7-a58c-4474-8e4b-57994736fe3d": {
      "ai_embedding": [
        [
          {
            "node": "6c677236-70db-43af-9bc2-22437a253c8e",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "6ebbb531-ac74-477e-8db9-098ed6a809a8": {
      "ai_languageModel": [
        [
          {
            "node": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "6c677236-70db-43af-9bc2-22437a253c8e": {
      "ai_tool": [
        [
          {
            "node": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "4fa88631-8e4f-4952-b0eb-1205bde7d759": {
      "ai_tool": [
        [
          {
            "node": "0febdaf1-3548-45b1-9cb5-654f2da17abd",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - コンテンツ作成, マルチモーダルAI

有料ですか?

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

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

経験者向け、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