Sync high-value Salesforce opportunities to MySQL

CRMMarketingDatabase

What it does

When a new or updated opportunity in Salesforce has an amount greater than 24999 and probability greater than 49 percent, this automation upserts the row in the oppty_leo table in MySQL. The record stays in sync across both systems.

Who it's for

Data and analytics teams who need high-value opportunities reflected in MySQL for reporting.

How teams use this

Track qualified opportunities in the data warehouse

Sync only high-value, high-probability opportunities to MySQL so the analytics team can report on pipeline health without manual exports. The threshold filters keep the table focused.

Extend the sync to include deal stage

Add a condition to only sync opportunities in specific deal stages, such as negotiation or closed won. This requires adding a stage filter to the existing amount and probability checks.

Route qualified deals to a separate table

Send opportunities that meet the criteria to a different MySQL table for the sales operations team to monitor. The automation logic stays the same and only the destination table changes.

How it works

  1. Monitor Salesforce opportunities. Watch for new or updated opportunities in Salesforce. When an opportunity is created or changed, check if the amount exceeds 24999 and the probability is above 49 percent.
  2. Upsert the opportunity row. Add or update the opportunity record in the oppty_leo table in MySQL so the data matches what is in Salesforce and stays current across both systems.