Using Marketo Form and Requiring Unique Company and Email name | Community
Skip to main content
Erik_Eaton
Level 3
Aug 8, 2017 3:20 PM UTC
Solved

Using Marketo Form and Requiring Unique Company and Email name

Good Morning,

I am trying to feed my Marketo form directly into our product. I have the web hooks set up and ready to go. I am looking at a solution that would not let marketo form redirect is the company name / email address is already in our system.

Any advice?

Cheers,

Erik

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Aug 8, 2017 4:15 PM UTC

Erik, the webhook fires after the Marketo form has been submitted (and after the Forms API onSuccess event has fired). So you can't manage the post-success redirect because you don't have control of the browser at that point.

If you need a third-party lookup that directly impacts form behavior, you need to make this call from the client and interact with the client-side Forms API. Equiv. to using an address lookup/enrichment service like ReachForce, Google Places, Etumos Verify.

8 replies

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Aug 8, 2017 4:15 PM UTC

Erik, the webhook fires after the Marketo form has been submitted (and after the Forms API onSuccess event has fired). So you can't manage the post-success redirect because you don't have control of the browser at that point.

If you need a third-party lookup that directly impacts form behavior, you need to make this call from the client and interact with the client-side Forms API. Equiv. to using an address lookup/enrichment service like ReachForce, Google Places, Etumos Verify.

Translate
Erik_Eaton
Level 3
Dec 8, 2017 10:36 PM UTC

Sanford, at tad late in my reply but thank you! We ended up using a similar method

Translate
SanfordWhiteman
Level 10
Dec 8, 2017 10:54 PM UTC

Great, thanks for the update.

Translate
Josh_Hill13
Level 10
Aug 8, 2017 3:49 PM UTC

Can you explain the data flow here?


Are you passing a Marketo Form on a Marketo Page to your product via webhook? Why would you not use API?

Translate
Erik_Eaton
Level 3
Aug 8, 2017 4:20 PM UTC

Hey Josh,

The form would be sitting on a page on our Word Press site.

Initiates by filling out the form. I have the same web hooks that we have used prior. Unfortunately it doesn't reject non unique emails/company names.

And then is processed further down.

(small amount of history- is that we used Gravity Forms but it does not feed directly into the product either, ultimately I wold like our product to be the source of truth).

Translate
SanfordWhiteman
Level 10
Aug 8, 2017 5:03 PM UTC

Your image isn't showing up, but any case, bear in mind that even if a webhook could control the Follow Up URL, the lead will still be in the system at the point (it has to be in order for the webhook to run in the lead context).

If you want to stop entries from entering your Marketo database you need to validate on the client side.

Translate