Re: Non-Marketo From Submission & Push Lead API -- Preventing Conflicts

DaveDelete
Level 2

Hi,

 

We are using a Salesforce Commerce experience with a non-Marketo form, which creates leads in Salesforce, which then sync over to Marketo. However, no Marketo web visit data is being collected, so I'm looking to use the Push Lead to Marketo endpoint to send the submission to Marketo and tie it to the web visit data being collected by Munchkin (already installed on the commerce site).

 

How do I do this to avoid conflicts with the same lead being created in both systems?

Can I just associate the lead that is initially created in SF with the munchkin cookie somehow?

 

Thanks!

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Attach the Munchkin cookie to the SFDC form post as a hidden field. When the person is created in Marketo or that field changes, call a webhook. The webhook-compatible service loops back to call either Associate Lead or Push Lead.

 

Main difference between the 2 endpoints is Associate is completely silent in the activity log — which may either reduce or increase confusion 😉 — while Push logs its own activity and adds the person to a program and is easier to audit. Choose based on your desired outcome.

 

Todd @ Sponge lays out one such setup here. It’s not necessarily exactly the way I do it as of late 2025, but it definitely works!