{
  "name": "Automatically store Shopify orders in Google Sheets with Telegram notifications",
  "nodes": [
    {
      "id": "d0e405d1-9ad9-4983-bb59-fc50e62f3866",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        420
      ],
      "parameters": {
        "width": 500,
        "height": 480,
        "content": "## Shopify to Google Sheets Order Tracking with Telegram Notifications\n\nThis workflow captures incoming Shopify orders via webhook, automatically stores them in a Google Sheet for tracking and analysi"
      }
    },
    {
      "id": "ff4bd186-2677-44db-abfe-a0c5356f170a",
      "name": "Receive New Shopify Order",
      "type": "n8n-nodes-base.webhook",
      "position": [
        460,
        760
      ]
    },
    {
      "id": "aee86e48-3921-46b8-85cf-fb34b4de693b",
      "name": "Transform Order Data to Standard Format",
      "type": "n8n-nodes-base.function",
      "position": [
        780,
        560
      ]
    },
    {
      "id": "f505d25f-dbd0-4d03-b2c8-9d62891decf8",
      "name": "Save Order to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1060,
        520
      ]
    },
    {
      "id": "ad495370-6fde-469b-802e-df03e44d1a36",
      "name": "Success?",
      "type": "n8n-nodes-base.if",
      "position": [
        1260,
        520
      ]
    },
    {
      "id": "be410e7d-ab51-4a74-889d-10100f90cb30",
      "name": "Send Error Notification",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1640,
        840
      ]
    },
    {
      "id": "e880a4ef-cc42-4de3-83c9-62275aabfaf2",
      "name": "Error Handling Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1160,
        220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Error Handling\n\nThis section checks if the Google Sheets operation was successful and sends appropriate notifications via Telegram.\n\nMake sure to configure a Telegram bot and set your chat ID in th"
      }
    },
    {
      "id": "99cae8a6-38e2-481c-8f36-3b434c8a8117",
      "name": "Send Success Notification1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1680,
        320
      ]
    },
    {
      "id": "a8b5532a-44c8-4f2a-a54a-a9e03d321141",
      "name": "Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        500
      ]
    }
  ],
  "connections": {
    "Success?": {
      "main": [
        [
          {
            "node": "Send Success Notification1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Error Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Variables": {
      "main": [
        []
      ]
    },
    "Receive New Shopify Order": {
      "main": [
        [
          {
            "node": "Transform Order Data to Standard Format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Order to Google Sheets": {
      "main": [
        [
          {
            "node": "Success?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform Order Data to Standard Format": {
      "main": [
        [
          {
            "node": "Save Order to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}