{
  "name": "Auto-collect WooCommerce orders to Discord & Google Sheets",
  "nodes": [
    {
      "id": "6528e446-5ea9-497c-995c-5e3959f1ade2",
      "name": "Order webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        192,
        336
      ]
    },
    {
      "id": "60f0a5f8-348f-40af-89dd-ffea9e0e54f2",
      "name": "Parse Order Data",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        336
      ]
    },
    {
      "id": "84c99979-29e2-4408-9887-3ffbe4f6d3f0",
      "name": "Check If Processing",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        336
      ]
    },
    {
      "id": "20bcf3cc-fa0f-4f5b-ab82-b9752e60dcde",
      "name": "Notify Discord",
      "type": "n8n-nodes-base.discord",
      "position": [
        864,
        432
      ]
    },
    {
      "id": "b0759142-802d-4879-935b-dd26805bbe38",
      "name": "Webhook Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1088,
        432
      ]
    },
    {
      "id": "cca69e7d-9f48-4b99-beae-109335bc6e59",
      "name": "Append Order Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        864,
        240
      ]
    },
    {
      "id": "d2ee2854-eba6-411a-a1af-e21ec8db4275",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        592
      ],
      "parameters": {
        "width": 1088,
        "height": 208,
        "content": "## Collect WooCommerce Order\n\n- **Set up your webhook URL in WooCommerce** to send order updates to n8n.\n- **All order statuses (\"PROCESSING\", \"PENDING\", \"CANCEL\")** are sent as notifications to Disco"
      }
    },
    {
      "id": "6d007cc8-9d90-4715-a4bb-25123629a2ef",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        208
      ],
      "parameters": {
        "width": 496,
        "height": 592,
        "content": "## Getting Credentials\n\n### 1. Discord Bot Token\n- Visit the [Discord Developer Portal](https://discord.com/developers/applications).\n- Create a new application and add a bot.\n- Copy your bot token an"
      }
    }
  ],
  "connections": {
    "Order webhook": {
      "main": [
        [
          {
            "node": "Parse Order Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Discord": {
      "main": [
        [
          {
            "node": "Webhook Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Order Data": {
      "main": [
        [
          {
            "node": "Check If Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check If Processing": {
      "main": [
        [
          {
            "node": "Notify Discord",
            "type": "main",
            "index": 0
          },
          {
            "node": "Append Order Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify Discord",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}