Sync Partner Leads from Salesforce to Marketo

CRMMarketingSalesUtilities

What it does

When a lead is created or updated in Salesforce, this automation checks for an email address and searches Marketo for that lead. It creates the lead in Marketo if none exists, or updates the existing record so both systems stay in sync.

Who it's for

Marketing operations teams who manage partner leads across Salesforce and Marketo.

How teams use this

Keep partner leads in sync

When a partner lead is added or changed in Salesforce, it syncs to Marketo so marketing has current data. The flow runs automatically and both systems stay aligned.

Prevent duplicate leads in Marketo

Search Marketo before creating so the same lead is not added twice. If a record exists, update it instead so the database stays clean.

Alert admins to incomplete leads

When a lead in Salesforce has no email, send a notification to an admin and stop the sync. This ensures only leads with contact info reach Marketo.

Exclude integration user changes from sync

Set a trigger filter to ignore changes made by the separate integration user in Salesforce. Only updates from real team members sync to Marketo so infinite loops are prevented.

How it works

  1. Monitor for new or updated leads. A lead is created or updated in Salesforce by someone (not by the integration user) so the sync only picks up manual changes.
  2. Check for an email address. Verify the lead has an email in Salesforce. If not, send a notification to an admin and stop the job so Marketo is not created without contact info.
  3. Search for the lead in Marketo. Look up the lead by email in Marketo to see if a record already exists there.
  4. Create or update the lead. Create a new lead in Marketo if the search found none, or update the existing lead so both systems match.