{
  "name": "Nodbot - WordPress draft upsert with media and approval",
  "nodes": [
    {
      "parameters": {},
      "id": "node-1",
      "name": "Content trigger",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        200,
        300
      ],
      "notes": "получает brief, markdown или запись из Notion"
    },
    {
      "parameters": {},
      "id": "node-2",
      "name": "Normalize post",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        420,
        300
      ],
      "notes": "собирает slug, статус и meta"
    },
    {
      "parameters": {},
      "id": "node-3",
      "name": "Find existing post",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        640,
        300
      ],
      "notes": "ищет по external_id или slug"
    },
    {
      "parameters": {},
      "id": "node-4",
      "name": "Upload media",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        860,
        300
      ],
      "notes": "загружает featured image отдельно"
    },
    {
      "parameters": {},
      "id": "node-5",
      "name": "Create or update draft",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        1080,
        300
      ],
      "notes": "создаёт или обновляет пост через REST API"
    },
    {
      "parameters": {},
      "id": "node-6",
      "name": "Editor audit",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        1300,
        300
      ],
      "notes": "возвращает ссылку на черновик"
    }
  ],
  "connections": {
    "Content trigger": {
      "main": [
        [
          {
            "node": "Normalize post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize post": {
      "main": [
        [
          {
            "node": "Find existing post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find existing post": {
      "main": [
        [
          {
            "node": "Upload media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media": {
      "main": [
        [
          {
            "node": "Create or update draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create or update draft": {
      "main": [
        [
          {
            "node": "Editor audit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false,
    "description": "Problem/Solution-гайд по WordPress и n8n: как безопасно создавать черновики и обновлять статьи через REST API без дублей, с slug, featured media, статусами и audit-log."
  },
  "tags": [
    "nodbot",
    "integration",
    "production"
  ]
}