{
  "name": "Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts",
  "nodes": [
    {
      "id": "1d0a4bb5-0e3a-47dc-adb9-f33e6a1bb1b6",
      "name": "Webhook - Receive data from GTM",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1136,
        240
      ]
    },
    {
      "id": "f089dcc1-b3c2-48d6-a2b4-adb891792086",
      "name": "HTTP Request - Query wallet balance in Zerion",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -912,
        240
      ]
    },
    {
      "id": "ba6d173a-6c35-421d-89d7-28bca5f9a9e9",
      "name": "HTTP Request - Send Measurement Protocol Hit Wallet Balance",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -464,
        48
      ]
    },
    {
      "id": "1b70d51e-0922-4842-8309-45e3b34618ac",
      "name": "Edit Fields ",
      "type": "n8n-nodes-base.set",
      "position": [
        -688,
        240
      ]
    },
    {
      "id": "e5512096-4a45-458f-86f7-0daeee3c3715",
      "name": "BigQuery - Send wallet address to a table",
      "type": "n8n-nodes-base.googleBigQuery",
      "position": [
        -464,
        240
      ]
    },
    {
      "id": "fd749ec1-5489-46b6-9506-485d4967fc11",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1680,
        -336
      ],
      "parameters": {
        "width": 1792,
        "height": 976,
        "content": "## Query web3 wallet USD balance + send data to BigQuery & GA4 through Measurement Protocol \n\n## How it works\n\nThis workflow seamlessly receives wallet details from Google Tag Manager, queries the wal"
      }
    },
    {
      "id": "6e8d44e0-c087-49cf-a7b6-a0a13fec0b9c",
      "name": "Switch - Check if balance>50 to know whale",
      "type": "n8n-nodes-base.switch",
      "position": [
        -464,
        432
      ]
    },
    {
      "id": "87eb6e4a-d09b-43b8-9f9b-7e1e47dfb685",
      "name": "Send a message to admin channel - whale wallet balance details",
      "type": "n8n-nodes-base.discord",
      "position": [
        -240,
        432
      ]
    }
  ],
  "connections": {
    "Edit Fields ": {
      "main": [
        [
          {
            "node": "HTTP Request - Send Measurement Protocol Hit Wallet Balance",
            "type": "main",
            "index": 0
          },
          {
            "node": "BigQuery - Send wallet address to a table",
            "type": "main",
            "index": 0
          },
          {
            "node": "Switch - Check if balance>50 to know whale",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook - Receive data from GTM": {
      "main": [
        [
          {
            "node": "HTTP Request - Query wallet balance in Zerion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch - Check if balance>50 to know whale": {
      "main": [
        [
          {
            "node": "Send a message to admin channel - whale wallet balance details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request - Query wallet balance in Zerion": {
      "main": [
        [
          {
            "node": "Edit Fields ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}