Sync UTMs to BI from Salesforce

CRMMarketingDatabase

What it does

When a scheduled Salesforce contact search runs using a SOQL query, this automation updates the corresponding rows in MySQL. Each contact found is synced to keep the BI table current with Salesforce data.

Who it's for

Data and analytics teams who need Salesforce contacts synced to MySQL for reporting without manual exports.

How teams use this

Keep BI data current with Salesforce

Run the scheduled search nightly to sync all matching contacts to MySQL. The BI team gets fresh data without manual intervention or exports.

Sync only contacts with UTM values

Filter the SOQL query to only include contacts where UTM fields are populated. This keeps the BI table focused on campaign-tracked records.

Expand sync to include custom fields

Add custom Salesforce contact fields to the MySQL update so the BI table includes UTM attribution data beyond standard parameters.

How it works

  1. Run scheduled contact search. A scheduled Salesforce contact search executes using a SOQL query with a WHERE clause to find matching records in the database.
  2. Update rows for each contact. For each contact returned, this automation updates the corresponding row in the MySQL users table so the BI database stays in sync with Salesforce.