Sync Property Viewings from MySQL to Salesforce

DeveloperCRMMarketingSales

What it does

When a new or updated row appears in the MySQL viewings table, this automation searches Salesforce for matching buyers and sellers. It enriches the viewing record with lead, contact, and account data so the sales team has complete context.

Who it's for

Sales operations teams who need property viewing records synced from MySQL to Salesforce with buyer and seller details.

How teams use this

Sync property viewings to Salesforce

When a viewing is logged in MySQL, this automation finds the buyer and seller in Salesforce and creates an opportunity record. The sales team stays current without manual data entry.

Enrich viewings with account hierarchy

Search Salesforce for accounts and contacts so each viewing is tied to the buyer's company and decision maker. Add account relationship mapping to give the team account-level visibility into property interest.

Route viewings to the right agent

Set a condition to assign the viewing opportunity to the agent who owns the buyer account in Salesforce. Viewings go directly to the responsible rep without manual routing.

How it works

  1. Monitor the viewings table. A new or updated row in the MySQL viewings table starts this automation so property viewing data flows into Salesforce.
  2. Fetch buyer and seller data. Select rows from the MySQL users and ads tables to gather buyer and seller information linked to the viewing record.
  3. Search for matching records. Search Salesforce for leads, contacts, and accounts that match the buyer and seller details retrieved from MySQL.
  4. Create the property viewing. Create an opportunity in Salesforce linked to the matching buyer and seller records so the sales team sees the full viewing context.