Sync leads from Marketo to Salesforce

MarketingCRMSalesUtilities

What it does

When a lead is created or updated in Marketo, this automation checks whether it came from Salesforce. If not, it routes the lead to the correct Salesforce instance based on partner or customer status.

Who it's for

Sales operations teams who manage lead flow between Marketo and multiple Salesforce orgs.

Apps used

How teams use this

Prevent lead duplication across systems

Stop leads that were synced from Salesforce back to Marketo from being sent to Salesforce again. The Person Notes field tracks the origin so duplicates never form.

Maintain separate partner and customer orgs

Route partner leads to one Salesforce instance and customer leads to another based on their status. Each org stays clean and focused on its own segment.

Add a third Salesforce instance

Include an additional condition to check for a new segment type and route those leads to a third Salesforce org. The routing logic expands without changing the core flow.

Sync only qualified leads

Add a filter to check lead score or qualification status before upserting to either Salesforce instance. Unqualified leads stay in Marketo until they meet the threshold.

How it works

  1. Monitor for new or updated leads. Marketo detects when a lead is created or updated and passes the lead data to this automation.
  2. Check if lead came from Salesforce. Examine the Person Notes field to see if it contains Sync from Salesforce. If it does, stop the job to avoid creating a duplicate.
  3. Route partner leads to partner org. If the Is Partner field is true, upsert the lead to the partner Salesforce instance. Create it if absent, update it if it exists.
  4. Route customer leads to customer org. If the Is Customer field is true, upsert the lead to the customer Salesforce instance. Create it if absent, update it if it exists.