Back to Solutions
BigQueryExpansion Signals

How to build Expansion Signals in BigQuery using RudderStack data

Learn how to build a scalable Expansion Signals system in BigQuery using RudderStack event data. Stop relying on reactive dashboards and start driving growth.


The Architecture: Headless Product Intelligence

To implement Expansion Signals effectively, you need to bridge the gap between product usage and commercial potential. By leveraging CDP best practices and BigQuery's analytical power, you can create a high-velocity expansion engine.


The "Logic Gap": Why Manual Implementation is Hard

  1. Siloed Billing vs. Behavioral Data: True expansion signals require joining event data from RudderStack with account limits stored in your billing system. This multi-source join in BigQuery is a maintenance nightmare.
  2. The Timing Trap: The moment a user hits 80% of their seat limit is the perfect time for an upsell. Relying on nightly batch SQL means your sales team receives this "lead" 24 hours too late.
  3. Complexity of Usage Spikes: Identifying a genuine surge in usage vs. a one-off anomaly in BigQuery requires sophisticated window functions and statistical baselining that most GTM teams lack.

Implementation: The BigQuery-Native Code

If you were to build this manually, your dbt model or SQL query in BigQuery might look like this:

/*
   Generic example for Expansion Signals
   Tailored for BigQuery architecture
*/

WITH raw_events AS (
    SELECT
        account_id,
        event_name,
        timestamp
    FROM `bigquery.raw_data.events`
    WHERE event_name IN ('seat_added', 'storage_limit_reached', 'api_usage_spike')
),

calculated_metrics AS (
    -- BigQuery-specific logic for Expansion Signals
    -- e.g., using specific window functions or time-travel
    SELECT
        account_id,
        COUNT(*) as signal_volume,
        DATE_TRUNC('day', timestamp) as metric_date
    FROM raw_events
    GROUP BY 1, 3
)

SELECT * FROM calculated_metrics;

The GrowthCues Advantage: Automate the Signal

While the code above provides a starting point, GrowthCues eliminates the need for manual SQL maintenance entirely. By using our open-source semantic layer, you can define expansion criteria that automatically adapt to your growing product surface area.

GrowthCues acts as the Headless Intelligence Layer for your BigQuery. It connects directly to your RudderStack tables and automatically:

  • Calculates Expansion Signals at the account level.
  • Detects anomalies and behavioral shifts in real-time.
  • Pushes actionable signals back into your warehouse, where you can trigger n8n automations or sync to your CRM.

Deep Dive: Spotting Expansion

Don't leave money on the table. Check out Identify Expansion Opportunities to learn the 4 key signals to watch.

Ready to turn your raw BigQuery data into revenue?

Join the Technical Preview

Turn Your Data Warehouse into a Growth Engine

Don't just store data. Activate it. Model journeys, predict churn, and trigger automated plays—all without leaving your warehouse.

Join the Technical Preview

No credit card required • Setup in minutes • 7-day free trial