{
  "name": "ZATCA E-Invoice Status Checker",
  "nodes": [
    {
      "parameters": {},
      "id": "9be24739-04ab-4af6-b1e9-b4e4891ead94",
      "name": "When clicking 'Test workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        200
      ]
    },
    {
      "parameters": {},
      "id": "83cb3dbb-85fa-49fe-9b74-adf183db4778",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "position": [
        250,
        200
      ]
    },
    {
      "parameters": {},
      "id": "66bbb600-1deb-4fd1-8a50-3a69ab73ec3f",
      "name": "HTTP Request (ZATCA API)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        500,
        200
      ]
    },
    {
      "parameters": {},
      "id": "ea19c3f3-de2a-4f87-9fd4-5d153c6c0bdc",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "typeVersion": 1,
      "position": [
        750,
        200
      ]
    },
    {
      "parameters": {},
      "id": "b6f6a73f-71f3-451b-b0a0-bc8bb4a4d84a",
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        1000,
        200
      ]
    },
    {
      "parameters": {},
      "id": "8e91982f-2d43-40b2-8e47-0b979fc3c6de",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 1,
      "position": [
        1250,
        200
      ]
    },
    {
      "parameters": {},
      "id": "7b96c406-36a0-4cae-8edc-8d9bf20cdd44",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        1500,
        200
      ]
    },
    {
      "parameters": {},
      "id": "14e67ebf-2162-442e-aa1d-b34d413464ce",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 1,
      "position": [
        1750,
        200
      ]
    },
    {
      "parameters": {},
      "id": "5680944e-9af3-4b5d-a3ca-44a62680f43e",
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        2000,
        200
      ]
    },
    {
      "parameters": {
        "content": "## ZATCA E-Invoice Status Checker\n\nDownloaded from ZeeGrowth.com — free under MIT license.\n\nhttps://zeegrowth.com/templates/zatca-einvoice-status-checker/\n\n⚠️ Replace all placeholder credentials with your own before activating.",
        "width": 350,
        "height": 180
      },
      "id": "20f5c434-185c-4735-ab72-2c667247cbdf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -50
      ]
    }
  ],
  "connections": {
    "When clicking 'Test workflow'": {
      "main": [
        [
          {
            "node": "Schedule Trigger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "HTTP Request (ZATCA API)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request (ZATCA API)": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "IF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail": {
      "main": [
        [
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "pinData": {},
  "versionId": "1.0",
  "tags": [
    {
      "name": "ZeeGrowth",
      "id": "zeegrowth"
    }
  ]
}
