{
  "name": "Automatically archive old WordPress posts to draft status",
  "nodes": [
    {
      "id": "48e4e6d7-f1c4-4539-a1c7-9d5fd4aed1eb",
      "name": "Quarterly Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -304,
        96
      ]
    },
    {
      "id": "acc3caae-a2f2-47ee-90fe-d9d6cc908cde",
      "name": "Find Old Posts",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        -48,
        96
      ]
    },
    {
      "id": "4d37e32a-8a0c-4881-9898-871252d5ac45",
      "name": "Check if Posts Found",
      "type": "n8n-nodes-base.if",
      "position": [
        208,
        96
      ]
    },
    {
      "id": "9d23ec40-bb26-4aa4-b960-fde58c5247f6",
      "name": "Archive Post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        464,
        32
      ]
    },
    {
      "id": "4d4a6928-521e-4cda-b7ee-66641e34838f",
      "name": "Send Notification",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        720,
        32
      ]
    },
    {
      "id": "6b526fe7-645a-4cb5-bb5b-4e0c31d84142",
      "name": "Log No Posts",
      "type": "n8n-nodes-base.noOp",
      "position": [
        448,
        208
      ]
    },
    {
      "id": "e9a2e951-43e5-4e98-83d4-3145dc6dbf47",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -80
      ],
      "parameters": {
        "width": 380,
        "height": 780,
        "content": "## Workflow Overview\n\n**Author: David Olusola**\nThis workflow automatically archives old WordPress posts every quarter.\n\n**Schedule:** Runs on the 1st day of every 3rd month (quarterly)\n\n**Steps:**\n1."
      }
    }
  ],
  "connections": {
    "Archive Post": {
      "main": [
        [
          {
            "node": "Send Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Old Posts": {
      "main": [
        [
          {
            "node": "Check if Posts Found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Quarterly Trigger": {
      "main": [
        [
          {
            "node": "Find Old Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if Posts Found": {
      "main": [
        [
          {
            "node": "Archive Post",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log No Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}