AutomationFlowsContent & Video › N8n Wordpress Integration Example

N8n Wordpress Integration Example

n8n WordPress Integration Example. Uses httpRequest. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesHTTP Request
Content & Video Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "n8n WordPress Integration Example",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "webhook-trigger",
        "responseMode": "responseNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://your-wordpress-site.com/wp-json/n8n/v1/insert",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "X-N8N-API-Key",
              "value": "your-secure-api-key-here"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "workflow_id",
              "value": "={{ $node[\"Webhook\"].json[\"workflow_id\"] }}"
            },
            {
              "name": "data",
              "value": "={{ $json }}"
            },
            {
              "name": "metadata",
              "value": "={{ { \"source\": \"n8n-webhook\", \"timestamp\": $now } }}"
            }
          ]
        },
        "options": {}
      },
      "name": "Insert to WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        470,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ { \"success\": true, \"wordpress_id\": $json[\"id\"] } }}"
      },
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        690,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Insert to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert to WordPress": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

n8n WordPress Integration Example. Uses httpRequest. Webhook trigger; 3 nodes.

Source: https://github.com/itsomidho/n8n-wp-integration/blob/21a698a2f9ae3f3a093cedb5052f6ffbfa7f2291/examples/n8n-workflow-example.json — original creator credit. Request a take-down →

More Content & Video workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Content & Video

This workflow accepts an article brief via webhook, routes it through a three-stage LLM pipeline to research, draft, and review HTML content, optionally generates a featured image with Google Imagen,

HTTP Request, Slack
Content & Video

Send an article brief via webhook and get back a fully-written WordPress draft — complete with SEO metadata, a generated featured image, and a Slack notification to your team — using Anthropic Claude,

HTTP Request, Slack
Content & Video

This workflow runs two parallel flows that together create a fully hands-off SEO content pipeline, from topic selection to Google indexing.

HTTP Request
Content & Video

Optimize your WordPress titles and meta descriptions with AI (OpenAI), update them directly in Yoast SEO, log results in Google Sheets, and receive a styled report by email. All from your own n8n inst

HTTP Request, OpenAI, Stop And Error +2
Content & Video

This workflow is designed for developers, content managers, and website administrators managing multilingual WordPress sites. It is highly beneficial for websites built with complex Advanced Custom Fi

HTTP Request, OpenAI, Item Lists