Create Property Bid in Salesforce from MySQL

DeveloperCRMMarketingSales

What it does

When a new or updated row appears in the bids table in MySQL, this automation searches Salesforce for the buyer and seller accounts. It creates a property bid opportunity in Salesforce with the matched accounts so the deal is tracked in one place.

Who it's for

Sales operations teams who manage property deals across MySQL and Salesforce without manual data entry.

How teams use this

Sync property bids to Salesforce automatically

When a bid is created in MySQL, the automation finds or creates the buyer and seller accounts in Salesforce and links them to a new opportunity. The sales team sees all deals in Salesforce without manual entry.

Route bids to the right sales rep

Extend this automation to check the seller account owner in Salesforce and assign the new opportunity to that rep. The bid lands on the correct desk automatically.

Enrich bids with property details

Add a condition to only create the opportunity if the property meets minimum criteria from the ads table. This filters out bids that do not match the team's focus.

Alert on high-value bids

Notify a Slack channel when a bid amount exceeds a threshold so leadership knows about major deals as soon as they sync from MySQL.

How it works

  1. Monitor bids table for changes. Detect when a new row is added or an existing row is updated in the MySQL bids table.
  2. Fetch buyer and seller details. Query the MySQL users table to retrieve buyer and seller information linked to the bid record.
  3. Search for buyer and seller accounts. Search Salesforce for existing accounts matching the buyer and seller names from MySQL.
  4. Create property bid opportunity. Create an opportunity record in Salesforce with the bid details and linked buyer and seller accounts.
  5. Link property and ad details. Attach property and ad information from MySQL to the Salesforce opportunity so all deal context is available.