AutomationFlowsContent & Video › Create and Update WordPress Posts

Create and Update WordPress Posts

Original n8n title: Create a Post and Update the Post in Wordpress

Create a post and update the post in WordPress. Uses manualTrigger, wordpress. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesWordPress
Content & Video Trigger: Event 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
{
  "id": "60",
  "name": "Create a post and update the post in WordPress",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        570,
        260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        770,
        260
      ],
      "parameters": {
        "title": "created from n8n",
        "additionalFields": {}
      },
      "credentials": {
        "wordpressApi": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "Wordpress1",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        970,
        260
      ],
      "parameters": {
        "postId": "={{$node[\"Wordpress\"].json[\"id\"]}}",
        "operation": "update",
        "updateFields": {
          "content": "This post was created using the n8n workflow."
        }
      },
      "credentials": {
        "wordpressApi": "<your credential>"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "Wordpress": {
      "main": [
        [
          {
            "node": "Wordpress1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

Create a post and update the post in WordPress. Uses manualTrigger, wordpress. Event-driven trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — 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

Export Wordpress Posts To Spreadsheet. Uses manualTrigger, wordpress, spreadsheetFile, writeBinaryFile. Event-driven trigger; 4 nodes.

WordPress, Spreadsheet File, Write Binary File
Content & Video

Wordpress-to-csv. Uses manualTrigger, wordpress, spreadsheetFile, writeBinaryFile. Event-driven trigger; 4 nodes.

WordPress, Spreadsheet File, Write Binary File
Content & Video

Create Or Update A Post In Wordpress. Uses manualTrigger, wordpress. Event-driven trigger; 3 nodes.

WordPress
Content & Video

Get All Posts From Wordpress. Uses manualTrigger, wordpress. Event-driven trigger; 2 nodes.

WordPress
Content & Video

This workflow uses KlickTipp community nodes, available for self-hosted n8n instances only.

N8N Nodes Klicktipp, HTTP Request, WordPress