Auteur ultime de contenu de blog RAG IA Agent + Recherche Perplexity

Intermédiaire

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 14 nœuds.Utilise principalement des nœuds comme GoogleDocs, SlackTrigger, PerplexityTool, Agent, LmChatAnthropic. Créer du contenu de blog à base de recherche en utilisant Slack, Perplexity, Pinecone et Google Docs

Prérequis
  • Token Bot Slack ou URL Webhook
  • Clé API Anthropic
  • Clé API OpenAI
  • Clé API Pinecone
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "Uz3L0EpsCqsr7aFV",
  "meta": {},
  "name": "Ultimate Blog Content Author RAG AI Agent + Perplexity Research",
  "tags": [],
  "nodes": [
    {
      "id": "6ebbb531-ac74-477e-8db9-098ed6a809a8",
      "name": "Anthropic Modèle de Chat",
      "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": "Agent IA pour Article de Blog",
      "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": "Créer un document",
      "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": "Mettre à jour un document",
      "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 Déclencheur",
      "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": "Mémoire Simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        80,
        224
      ],
      "parameters": {
        "contextWindowLength": 15
      },
      "typeVersion": 1.3
    },
    {
      "id": "4fa88631-8e4f-4952-b0eb-1205bde7d759",
      "name": "Envoyer un message à un modèle dans 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": "Note adhésive",
      "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": "Note adhésive1",
      "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": "Note adhésive2",
      "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": "Note adhésive3",
      "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": "Note adhésive4",
      "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
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Création de contenu, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds14
Catégorie2
Types de nœuds9
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
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

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34