function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
uHaveOptionsuHaveOptions 

Pushing Leads to Marketo

My question concerns integration between Salesforce and Marketo. In Marketo, there is an automatic sync between Marketo and Salesforce. But, it is also possible to push leads to Salesforce using a trigger that syncs the lead to Salesforce.

I was wondering if anyone knew if there was a way to, either with Apex or otherwise, to go the OPPOSITE way. That is, to have a trigger that syncs that lead to Marketo, for example, any time a lead is created or updated.
 
mbudzynmbudzyn
Normally, the Marketo sync is two-way--you don't need to do anything extra; if the record has been modified in SFDC Marketo should pick up the change and sync the record over.

The one scenario where it may not look like it's working is if an existing--and populated--field in SFDC is newly exposed to Marketo, that field will not populate into Marketo unless the last modified data on each record has also been updated. In those scenarios we use a data tool to export out any field (usually the standard SFDC name field) and the record id and then reimport them back into SFDC forcing the last modified date to change on the targeted record. On the next Marketo sync, the changed date would get picked up and the updated records--including the values in the now visible field--would populate over into Marketo. Depending on volume of records this can be a few minutes or hours before it is completed.