How to Keep Salesforce Records From Syncing to Marketo


There are many reasons why you would want to keep Salesforce leads or contacts out of Marketo. Maybe you are reaching your Marketo database limit and you want to remove anyone who you can no longer email (hard bounces). Or perhaps you have a bunch of leads or contacts in Salesforce without an email address, that are taking up space in your Marketo database. The bad news is that if you delete these people from your Marketo database, once the Salesforce sync runs, they will be added to your Marketo database again. The good news is there’s an easy way to keep Salesforce records from syncing to Marketo, using a custom sync rule.

Step 1: Create a custom Salesforce field

First you need to create a custom checkbox field on the lead and contact in Salesforce. I ususally call the field ‘sync to marketo’ and make the default value ‘checked’.

Map the lead and contact fields in Salesforce.

Wait for the Marketo integration to sync the new field over to Marketo.

Step 2: Update the leads/contacts you don’t want to sync to Marketo

Now that you have a checkbox on both the lead and contact to flag if you want them to sync over to Marketo, you need to update the field to false for the records you don’t want to sync. This can be done through Salesforce data loader, manually in Salesforce, through a Marketo smart campaign, or through a Marketo list action.

Step 3: Contact Marketo Support to add the custom sync filter

You will need to open a case with Marketo support to get them to create the custom sync rule for you. Here’s what I use for my case details.

  • Priority: P3: Concern, Minor Issue
  • Case Issue:
  • Case Sub Issue: Sync
  • Case Type: Help me setup/create
  • Subject: Custom Sync Rule Creation
  • Description:
    I need a custom sync rule created for both leads and contacts. If Sync_to_Marketo__c is FALSE the record should not sync.

Step 4: Delete the records out of Marketo

Once the sync rule is in place, it will not automatically delete any records in Marketo. You will need to delete the records via a smart campaign or a list action.


Send them to me via email, send me a tweet @jennamolby, or leave a comment

Related Posts

  • 16/04/2018
    How to Use jQuery Libraries Within Salesforce Lightning Components

    When building Lightning Components, using the HTML script markup is not supported. However, there’s an alternative that is easy to implement. Follow these step-by-step instructions to learn how to use external JavaScript or jQuery libraries within Salesforce Lightning Components.

  • 15/03/2018
    Salesforce Certified Platform App Builder Practice Exam

    Ace your Salesforce Certified Platform App Builder exam by using this practice exam to test your knowledge. This practice exam contains 45 multiple choice questions and covers most of the topics on the Salesforce Certified Platform App Builder exam, including data modeling, security, process automation and business logic.

  • 28/02/2018
    How To Create Your First Survey Using Salesforce Surveys

    Salesforce Surveys is now available with the Spring ’18 release! This new feature allows you to create easy-to-use forms for collecting feedback and data by using a simple editor. All the survey data you collect is stored within your org. You can then use Salesforce to view survey data, create reports and dashboards, and share insights with your company. I’m going to walk through how to enable, customize and activate your first Salesforce Survey.

Leave A Comment

Your email address will not be published. Required fields are marked *

About Me

Welcome to my blog, where I share, tips, tricks, thoughts and solutions that I learn in my daily life as a sales and marketing professional.


Most Commented
Popular Posts