8
n8n Françaisamn8n.com

đŸ’„đŸ› ïž Automatisation de la crĂ©ation de contenu de blog avec GPT-4, Perplexity et WordPress

Avancé

Ceci est unAIworkflow d'automatisation du domainecontenant 17 nƓuds.Utilise principalement des nƓuds comme Set, GmailTool, FormTrigger, HttpRequest, McpClientTool, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Utiliser GPT-4, Perplexity et WordPress pour automatiser la crĂ©ation de contenu de blog

Prérequis
  • ‱Compte Google et informations d'identification Gmail API
  • ‱Peut nĂ©cessiter les informations d'identification d'authentification de l'API cible
  • ‱ClĂ© API OpenAI
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": "L1UcBZ9UJvN9gnSb",
  "meta": {
    "instanceId": "a2b23892dd6989fda7c1209b381f5850373a7d2b85609624d7c2b7a092671d44",
    "templateCredsSetupCompleted": true
  },
  "name": "đŸ’„đŸ› ïžAutomate Blog Content Creation with GPT-4, Perplexity & WordPress",
  "tags": [],
  "nodes": [
    {
      "id": "b86a4b08-6fb6-4ebc-8ddb-f1cd0e4b1492",
      "name": "Note adhésive 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 4,
        "width": 460,
        "height": 300,
        "content": "## Perplexity Section\n🌐 Calls Perplexity API to get fresh research based on a form input.\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "16509f9d-ce54-4dab-b3ff-24760b0bde09",
      "name": "Recherche Perplexity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        80,
        100
      ],
      "parameters": {
        "url": "https://api.perplexity.ai/chat/completions",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model\": \"sonar-pro\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"Act as a professional news researcher who is capable of finding detailed summaries about a news topic from highly reputable sources.\"\n    },\n    {\n      \"role\": \"user\",\n      \"content\": \" Research the following topic and return everything you can find about: '{{ $json['Topic or Question'] }}'.\"\n    }\n  ]\n}\n",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "DB99xYLrmwZl7Sqf",
          "name": "Header Auth account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "500b2464-88b1-44f5-bcc4-12c0acdc5773",
      "name": "À la rĂ©ception d'un message de chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        560,
        0
      ],
      "webhookId": "b132ff74-2807-4cbf-b5b7-a62a207161d3",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "aec9523b-245a-48ff-a860-3239b869f676",
      "name": "Slack-Liste",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1500,
        400
      ],
      "parameters": {},
      "credentials": {
        "mcpClientApi": {
          "id": "mC6b1h1p0lFikSzU",
          "name": "slack"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
      "name": "Agent IA de rédaction",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1020,
        100
      ],
      "parameters": {
        "text": "=You are an expert in SEO content writing.\n\nYour mission is to create, publish, and notify about a search engine optimized article for a blog focused on artificial intelligence. Follow the steps below: {{ $('Format Research Output').item.json.research }}\n\n1. **Write an SEO-optimized article with a maximum of 20 lines** based on the provided information:\n   - Structure the article with a catchy **H1 title**, one or two **H2 subtitles**, and a professional yet accessible tone.\n   - Extract and include relevant keywords from the data.\n   - Optimize for readability: short sentences, clear paragraphs, and a CTA if relevant.\n   - Do not exceed 20 lines of content.\n\n2. **Publish the article on WordPress**, including:\n   - The **title** as the article's headline\n   - The **SEO content** as the body\n\n3. **Send an email** to my address : {{ $json.emailAddress }} containing:\n   - The article's title\n   - The **URL** of the published article on WordPress\n\n4. **Retrieve the list of available Slack tools first** using “Slack Tools”.\n   - Then, send a notification on Slack that the article has been published, including:\n     - The article title\n     - The article link\n     - Slack channel ID: {{ $json.slackChannelId }}\n\n5. **Retrieve the list of available Notion tools first** using “Notion Tools”.\n   Then, **add a new entry to my Notion database** (ID: {{ $json.notionDatabaseId }}) with the following fields:\n   - The 'Name' column is of type 'title'  → {{ $('Start with Research Query Submission').item.json['Topic or Question'] }}\n   The 'Subject' column is of type 'rich_text' → [the article's headline]\n   - The 'Content'column is of type 'rich_text' → [The SEO content]\n   - The 'URL' column is of type 'URL': → [The article link]\n   - The 'Status' column is of type 'select' → Select: `publish`\n\nImportant: Ensure that each step is successfully completed **before proceeding to the next**.\n",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "aaab95dd-7fd2-411e-ba05-fa84568c0d56",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -180
      ],
      "parameters": {
        "width": 1300,
        "height": 820,
        "content": "## My Copywriting AI Agent\n✍ Transforms live research into SEO-optimized blog articles using GPT-4, then automatically publishes to WordPress, sends notifications via Gmail & Slack, and logs everything to Notion. This is your full-stack content assistant — from prompt to post, hands-free.\n**mcp-notion-server** : [Guide](https://github.com/suekou/mcp-notion-server)\n**mcp-slack-server** : [Guide](https://github.com/modelcontextprotocol/servers/tree/main/src/slack)"
      },
      "typeVersion": 1
    },
    {
      "id": "d3cbf58c-7c14-4695-8331-1750daf21d0d",
      "name": "Formater la sortie de recherche",
      "type": "n8n-nodes-base.set",
      "position": [
        280,
        100
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "23b8e8c4-9191-415a-9661-1b60d413528a",
              "name": "research",
              "type": "string",
              "value": "={{ $json.choices[0].message.content.replaceAll(\"[1]\", \" - source: \" +$json.citations[0]).replaceAll(\"[2]\",\" - source:\" +$json.citations[1]).replaceAll(\"[3]\",\" - source: \" +$json.citations[2]).replaceAll(\"[4]\",\" - source: \"+$json.citations[3]).replaceAll(\"[5]\",\" - source: \"+$json.citations[4]).replaceAll(\"[6]\",\" - source: \"+$json.citations[5]).replaceAll(\"[7]\",\" - source: \"+$json.citations[6]).replaceAll(\"[8]\",\" - source: \"+$json.citations[7]).replaceAll(\"[9]\",\" - source: \"+$json.citations[8]).replaceAll(\"[10]\",\" - source: \"+$json.citations[9]) }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "cd073bb3-3b6a-4910-9de4-bef66fc00a1f",
      "name": "Publier l'article sur WordPress",
      "type": "n8n-nodes-base.wordpressTool",
      "position": [
        840,
        400
      ],
      "parameters": {
        "title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
        "additionalFields": {
          "status": "publish",
          "content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Content', ``, 'string') }}"
        }
      },
      "credentials": {
        "wordpressApi": {
          "id": "KIuXvzjOEnOsHKQE",
          "name": "Wordpress account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6940575a-d504-4276-8964-c41f26418f3c",
      "name": "Envoyer une notification par e-mail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1360,
        400
      ],
      "webhookId": "b68c6af8-46e6-4ed9-ae72-445e9cb7ab88",
      "parameters": {
        "sendTo": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}",
        "message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
        "options": {},
        "subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "rKxQHWZ2F5XLJmwF",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "da3c994c-60d5-41ef-9cf9-52daa77dc980",
      "name": "Notifier le canal Slack",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1640,
        400
      ],
      "parameters": {
        "toolName": "={{ $fromAI(\"tool\", \"the tool selected\")  }}",
        "operation": "executeTool",
        "toolParameters": "={{ $fromAI('Tool_Parameters', ``, 'json') }}"
      },
      "credentials": {
        "mcpClientApi": {
          "id": "mC6b1h1p0lFikSzU",
          "name": "slack"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9d36b649-f5e6-442c-bcab-53f0ca0dc2c2",
      "name": "Générer du contenu de blog SEO (GPT-4o)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        600,
        400
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "6h3DfVhNPw9I25nO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7a034005-68a3-40fa-bb94-cfdfab717cfc",
      "name": "DĂ©marrer par la soumission d'une requĂȘte de recherche",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -180,
        100
      ],
      "webhookId": "a29cbcd3-9d11-4f7c-9aad-14681c356c53",
      "parameters": {
        "options": {},
        "formTitle": "AutoBlog Creator",
        "formFields": {
          "values": [
            {
              "fieldType": "textarea",
              "fieldLabel": "Topic or Question",
              "placeholder": "=How is GPT-4 transforming content creation in 2025?",
              "requiredField": true
            }
          ]
        },
        "formDescription": "From research to article — no writing required"
      },
      "typeVersion": 2.2
    },
    {
      "id": "8cbad4aa-1802-4275-bbc4-c4d17673cd23",
      "name": "Note adhésive 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -180
      ],
      "parameters": {
        "color": 3,
        "width": 460,
        "height": 140,
        "content": "## Intro Sticky \n🔁 **This workflow automates the full cycle of SEO blog content creation** — from live topic research using Perplexity to blog publishing on WordPress, Slack/Gmail notifications, and Notion logging."
      },
      "typeVersion": 1
    },
    {
      "id": "93e258e4-baa2-4af2-ba12-0f1727150e19",
      "name": "Modifier les variables du workflow",
      "type": "n8n-nodes-base.set",
      "position": [
        120,
        460
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c06b2d24-1fd7-40f0-aee5-b5d6553e289e",
              "name": "emailAddress",
              "type": "string",
              "value": ""
            },
            {
              "id": "451aad67-5190-4eab-a982-56092734bb07",
              "name": "slackChannelId",
              "type": "string",
              "value": ""
            },
            {
              "id": "8a294900-f367-47a2-b260-344b133dc2ff",
              "name": "notionDatabaseId",
              "type": "string",
              "value": ""
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "88cb2c49-be54-4df9-81ff-d709bde839e1",
      "name": "Note adhésive 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        340
      ],
      "parameters": {
        "color": 6,
        "width": 460,
        "height": 300,
        "content": "## Workflow Configuration Panel\nđŸ› ïž **Set your variables here** (email, Slack, Notion, OpenAI model)"
      },
      "typeVersion": 1
    },
    {
      "id": "5075e00d-f1e9-4db2-85c1-d4d851f57abf",
      "name": "Notion-Liste",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1000,
        400
      ],
      "parameters": {},
      "credentials": {
        "mcpClientApi": {
          "id": "QQbMEB7i2XAAWTSc",
          "name": "Notion"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "edf2d95b-b04d-40f9-9b8d-b53dd5912bab",
      "name": "Insérer l'article dans Notion",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1180,
        400
      ],
      "parameters": {
        "toolName": "={{ $fromAI(\"tool\", \"the tool selected\")  }}",
        "operation": "executeTool",
        "toolParameters": "={{ $fromAI('tool_parameters', ``, 'json') }}"
      },
      "credentials": {
        "mcpClientApi": {
          "id": "QQbMEB7i2XAAWTSc",
          "name": "Notion"
        }
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "553f26d7-2dcf-4900-871e-b3aa25a68ffa",
  "connections": {
    "aec9523b-245a-48ff-a860-3239b869f676": {
      "ai_tool": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "5075e00d-f1e9-4db2-85c1-d4d851f57abf": {
      "ai_tool": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "16509f9d-ce54-4dab-b3ff-24760b0bde09": {
      "main": [
        [
          {
            "node": "d3cbf58c-7c14-4695-8331-1750daf21d0d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "da3c994c-60d5-41ef-9cf9-52daa77dc980": {
      "ai_tool": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "d3cbf58c-7c14-4695-8331-1750daf21d0d": {
      "main": [
        [
          {
            "node": "93e258e4-baa2-4af2-ba12-0f1727150e19",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "93e258e4-baa2-4af2-ba12-0f1727150e19": {
      "main": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6940575a-d504-4276-8964-c41f26418f3c": {
      "ai_tool": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "edf2d95b-b04d-40f9-9b8d-b53dd5912bab": {
      "ai_tool": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "500b2464-88b1-44f5-bcc4-12c0acdc5773": {
      "main": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cd073bb3-3b6a-4910-9de4-bef66fc00a1f": {
      "ai_tool": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9d36b649-f5e6-442c-bcab-53f0ca0dc2c2": {
      "ai_languageModel": [
        [
          {
            "node": "1ecdcfed-c5d4-4ddc-aeb1-e760d295e5bc",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "7a034005-68a3-40fa-bb94-cfdfab717cfc": {
      "main": [
        [
          {
            "node": "16509f9d-ce54-4dab-b3ff-24760b0bde09",
            "type": "main",
            "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é ?

Avancé - Intelligence Artificielle

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.

Workflows recommandés

DeepSeek v3.1
Utiliser Notion MCP, DeepSeek AI et WordPress pour automatiser la création de contenu de blog
Set
Gmail Tool
Mcp Client Tool
+
Set
Gmail Tool
Mcp Client Tool
10 NƓudsDr. Firas
Intelligence Artificielle
GĂ©nĂ©rateur de vidĂ©os sociales par IA (avec GPT-4, Kling et Blotato) — Publication automatique sur Instagram, Facebook, TikTok, Twitter et Pinterest
Génération et publication automatiques de vidéos sociales sur plusieurs plateformes en utilisant GPT-4 et Kling AI
Set
Code
Wait
+
Set
Code
Wait
38 NƓudsDr. Firas
Intelligence Artificielle
Automatisation de la création de vidéos avec Veo3 et publication automatique sur Instagram et TikTok via Blotato
Génération et publication automatiques de vidéos AI sur les médias sociaux en utilisant Veo3 et Blotato
Set
Wait
Http Request
+
Set
Wait
Http Request
29 NƓudsDr. Firas
Intelligence Artificielle
đŸ’„ GĂ©nĂ©rer des vidĂ©os IA avec Seedance & Blotato et les tĂ©lĂ©charger sur TikTok, YouTube et Instagram - VidĂ©o
Générez des vidéos virales IA avec Seedance et téléchargez-les sur TikTok, YouTube et Instagram
Set
Code
Wait
+
Set
Code
Wait
40 NƓudsDr. Firas
Intelligence Artificielle
Robot de support WhatsApp par IA basé sur Google Sheets (création de tickets)
Robot de support WhatsApp basé sur l'IA (création de tickets Google Sheets)
Set
Xml
Code
+
Set
Xml
Code
35 NƓudsZain Khan
Chatbot de support
Collecte de données produit et support client automatisés via WhatsApp + GPT-4 + Google Sheets
Automatiser la formation produits et le support client via WhatsApp, GPT-4 et Google Sheets
Code
Switch
Whats App
+
Code
Switch
Whats App
20 NƓudsDr. Firas
Support
Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nƓuds17
Catégorie1
Types de nƓuds10
Description de la difficulté

AdaptĂ© aux utilisateurs avancĂ©s, avec des workflows complexes contenant 16+ nƓuds

Auteur
Dr. Firas

Dr. Firas

@drfiras

Automation expert and certified trainer. I create hands-on courses to master automation with n8n. Contact me to access my exclusive training and start building powerful workflows today. 🚀

Liens externes
Voir sur n8n.io →

Partager ce workflow

Catégories

Catégories: 34