{
  "name": "Auto-Post Your Google Sheets Content Queue to X (Twitter) on Schedule",
  "nodes": [
    {
      "name": "Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 24
            }
          ]
        }
      },
      "notes": "Runs at each posting slot.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Google Sheets — Due Posts",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4,
      "parameters": {
        "operation": "getAll",
        "filter": "status=queued&date=today"
      },
      "notes": "Return today's queued items.",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "X (Twitter) — Publish",
      "type": "n8n-nodes-base.twitter",
      "typeVersion": 2,
      "parameters": {
        "operation": "create"
      },
      "notes": "Post the queued content.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        980,
        300
      ]
    }
  ],
  "connections": {
    "Schedule": {
      "main": [
        [
          {
            "node": "Google Sheets — Due Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets — Due Posts": {
      "main": [
        [
          {
            "node": "X (Twitter) — Publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "X (Twitter) — Publish": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
