Skip to main content
June 7, 2017
Question

Deleting leads from Marketo only

  • June 7, 2017
  • 5 replies
  • 9433 views

Hi Community,

  If I delete leads from just Marketo and not SFDC, how does the backwards sync work? Do the existing leads in SFDC sync back to Marketo? Or does it stay deleted in Marketo? How does Marketo know that those shouldn't be synced back after being deleted? Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Steven_Vanderb3
Adobe Employee
Adobe Employee
June 7, 2017

The next time the record is updated in Salesforce it will sync back down to Marketo and create a new record.  You will need to find a way to stop records you deleted in Marketo from being visible to the sync user, either through visibility rules or asking Support to set up a sync filter.

Lisa_Heay2
Level 3
June 26, 2017

Question on this as it just happened to us...

I deleted several thousand leads from Marketo, but not in SFDC, thinking that the lead would only sync back to Marketo if the record was updated in SFDC.  However, the next day, they all sync'd back to Marketo, showing a bunch of old campaign activity in the log as being new.  Wondering why the SFDC campaign history data would have triggered the lead to sync back to Marketo when it happened months ago?

Gerard_Donnell4
Level 9
June 26, 2017

I wonder if you have any nightly batch campaigns running that may have triggered the sync back.  Just a thought.

Gerard_Donnell4
Level 9
June 8, 2017

Just wondering what the reason is that you want to have a them appear in SF but not in Marketo?

June 8, 2017

Mostly driven by our cap limit on leads in the Marketo DB. I don't want to delete them out of SFDC also, because I don't know whether we will need them in the future. 

June 26, 2017

We have a sync to Marketo field in SFDC so if we uncheck the box then the lead won't get back over to Marketo. So, when I delete a lead in Marketo I will first make sure that box gets unchecked, sync to SFDC and then delete the lead out of Marketo. It's best to work with your SFDC admin to be able to create this sort of thing so that you don't have to have every lead in SFDC in Marketo.

Valerie_Whitin2
Level 4
June 26, 2017

You also have to keep in mind if there are ANY updates on the record in SFDC it will be pushed back into Marketo. Not just when a sales rep works the lead, but any update to any field will trigger the sync.

There was a great post written about how to create a custom sync filter here: Instructions for Creating a Custom Sync Rule

June 29, 2017

We did a little testing to attempt to solve this issue and came up with the following: We created a new SFDC Custom Field for "Lead is Deleted in Marketo". We then ran a batch campaign for the leads we wanted to delete that changed their data value for Lead is Deleted in Marketo from false to true. That then syncs over and checks off the custom field in SFDC and the logic then unchecks the "Sync Filter" checkbox to prevent them from coming back into our system. We then are clear to delete the records from Marketo.

Gerard_Donnell4
Level 9
June 29, 2017

Has this worked perfectly for you?  Seems like a good idea.

June 29, 2017

We just created it based off of this thread but so far so good.