Prompt
How do I sync Salesforce and HubSpot data into BigQuery?
Latest observation
Oct 8, 2026
OpenAI APIWeb search: off
There are a few common ways to sync Salesforce and HubSpot data into BigQuery, depending on whether you want a no-code setup, near-real-time sync, or a more custom pipeline.
Option 1: Use a data connector / ETL tool
This is the fastest and most common approach.
Popular tools
- Fivetran
- Airbyte
- Stitch
- Matillion
- Hevo
- Rivery
How it works
- Connect Salesforce to the tool.
- Connect HubSpot to the tool.
- Connect BigQuery as the destination.
- Choose tables/objects to sync.
- Schedule or run incremental syncs.
Pros
- Easy to set up
- Handles schema changes, retries, and incremental loads
- Minimal engineering effort
Cons
- Monthly cost
- Less flexibility for custom transformations
Option 2: Use native exports + scheduled loads
If you want a cheaper, more manual approach:
Salesforce
- Export reports or use the Salesforce Bulk API
- Land data in Cloud Storage
- Load into BigQuery with a scheduled job
HubSpot
- Use the HubSpot API or built-in exports
- Land data in Cloud Storage
- Load into BigQuery on a schedule
Pros
- Lower cost
- Full control
Cons
- More engineering work
- You must handle pagination, rate limits, schema drift, and incremental updates
Option 3: Build a custom pipeline with APIs
Best if you need full control or custom logic.
Typical architecture
- Cloud Run / Cloud Functions / Dataflow to extract data from:
- Salesforce REST/Bulk API
- HubSpot CRM API
- Write raw JSON/CSV to Google Cloud Storage
- Load into BigQuery staging tables
- Transform with dbt or BigQuery SQL
Recommended pattern
- Raw layer: store source data as-is
- Staging layer: flatten/clean data
- Mart layer: analytics-ready tables
Pros
- Fully customizable
- Can support business-specific transformations
Cons
- Highest engineering effort
- You own monitoring and maintenance
Option 4: Use BigQuery Data Transfer Service or partner integrations
BigQuery has some built-in transfer capabilities and many partner integrations via the Google Cloud Marketplace.
Best for
- Teams already using GCP
- Wanting managed ingestion with less custom code
What I recommend
If you want the easiest path:
Use Fivetran or Airbyte to sync both sources into BigQuery.
If you want a low-cost custom setup:
Build a pipeline using:
- Salesforce Bulk API
- HubSpot API
- Cloud Run
- Cloud Storage
- BigQuery scheduled loads
- dbt for transformations
Important implementation considerations
No matter which method you choose, plan for:
- Incremental syncs using
updatedAt/SystemModstamp - Schema drift
- API rate limits
- Deleted records
- Historical backfill
- Data deduplication
- Timezone normalization
- PII handling and access controls
A simple recommended architecture
- Sync Salesforce and HubSpot to raw tables in BigQuery
- Use dbt to clean and join data
- Build reporting tables for sales/marketing analytics
- Schedule refreshes daily or hourly
Example use cases
Once synced, you can build:
- Lead-to-customer funnel analysis
- Attribution reporting
- Pipeline forecasting
- Campaign performance by source
- Account and contact 360 views
If you want, I can also give you:
- a step-by-step setup using Fivetran/Airbyte, or
- a custom GCP architecture with sample code for Salesforce + HubSpot to BigQuery.