Skip to main content

Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts

Workflow preview

Workflow preview
100%
Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts preview
Open on n8n.io

1. Workflow Overview

This workflow bridges the gap between anonymous website traffic and on chain wallet activity. It captures wallet connections via a webhook, enriches the data with real time USD balances from the Ze...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.googlebigquery, n8n-nodes-base.stickynote, n8n-nodes-base.switch, n8n-nodes-base.discord

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Adil Khan.

Original n8n.io source

1.1 Workflow description

Title
Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts
Workflow name
Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts

This workflow bridges the gap between anonymous website traffic and on-chain wallet activity. It captures wallet connections via a webhook, enriches the data with real-time USD balances from the Zerion API, and syncs the results to Google Analytics 4, BigQuery, and Discord for immediate action.

This directly helps Web3 marketing and growth teams identify high-value "whales" the moment they connect to your dApp, allowing for real-time monitoring and advanced attribution analysis.

How it works

Video tutorial: https://youtu.be/2_wuTRzRpkg

How it works Webhook Trigger: Receives the wallet address, GA Client ID, and Session ID from your website via GTM.

Zerion API Integration: Queries the real-time USD balance and individual chain distributions for the connected wallet.

Whale Filtering (Switch): A logic that filters wallets based on a USD threshold (e.g., >$50) to trigger high-priority alerts.

Dynamic Discord Alerts: Sends a formatted message to Discord with a 2-decimal rounded total balance and a dynamic breakdown of assets across all active chains (Base, Ethereum, etc.).

GA4 Push: Sends the wallet_usd_balance as a custom metric to GA4 via the Measurement Protocol to maintain session continuity.

BigQuery Archive: Records the wallet address, hashed ID, and USD balance into a secure table for SQL joining with raw GA4 data

Prerequisites Zerion API Key: Required for fetching real-time balance and chain data.

Discord Bot Token: Required to send automated whale alerts to your team server.

Google Cloud Project: A project with BigQuery enabled and a JSON Service Account key for secure data insertion.

GA4 Measurement Protocol API Secret: Required to push custom metrics back into active GA4 sessions.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook - Receive data from GTM

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - HTTP Request - Query wallet balance in Zerion

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 3 - HTTP Request - Send Measurement Protocol Hit Wallet Balance

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - BigQuery - Send wallet address to a table

Type / Role
n8n-nodes-base.googleBigQuery - googleBigQuery
Config choices
Version 2.1

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Switch - Check if balance>50 to know whale

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 8 - Send a message to admin channel - whale wallet balance details

Type / Role
n8n-nodes-base.discord - discord
Config choices
Version 2

3. Summary Table

Workflow Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts
Complexity intermediate
Nodes 8
Categories Market Research, AI Summarization
Author Adil Khan
Published 03 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13202/13202.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Web3 Wallet Tracker: Sync Balances to GA4, BigQuery, and Discord Whale Alerts do?

This workflow bridges the gap between anonymous website traffic and on chain wallet activity. It captures wallet connections via a webhook, enriches the data with real time USD balances from the Ze...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.