Hi Marketing Nation Community!
I am still relatively new to Marketo and I was asked by my one of my sales teams to create a unique landing page.. Here is the scenario:
We have a B product that multiple customers of ours frequently request additional licenses for and the current process for placing an order for additional licence is very painful and resource heavy.
The ideal/proposed process flow is:
Now here is the major problem we are seeing: How do we validate a person's identity?
We intent to use the Salesforce opportunity ID as a form field for the customer to put their "order ID" in, in addition to normal form details (name, company, email, etc). But what if someone "fat fingers" their order ID and puts the wrong numbers in? Is there a way for Marketo to reject the form submission and tell the person to try again?
I'm obviously worried about "Jeff King" accidentally getting "Michelle Queen"s personal information and proposal details.
Any ideas? Thanks!!
Solved! Go to Solution.
There's no way for a Marketo form to validate that an SFDC Opportunity ID belongs to the current lead. It has no access to this back end data.
A Velocity token, βon the other hand, could determine whether the user-supplied Oppty ID (stored as a String field on the lead) actually corresponds to a valid Opportunity on that same lead.
You could then change the output of the confirmation email to say, "Sorry, the Order ID you entered was not valid. Please return to the form and try again."
There's no way for a Marketo form to validate that an SFDC Opportunity ID belongs to the current lead. It has no access to this back end data.
A Velocity token, βon the other hand, could determine whether the user-supplied Oppty ID (stored as a String field on the lead) actually corresponds to a valid Opportunity on that same lead.
You could then change the output of the confirmation email to say, "Sorry, the Order ID you entered was not valid. Please return to the form and try again."
Thanks for the help Sanford! I've been doing some reading in Marketo Docs and Marketo Developer documentation regarding velocity tokens. Any suggestions on where to start looking for a developer to help me with developing a velocity token and script?
You don't need to hire someone for this specific small thing.
What you will need to do is copy the Opportunity ID to another string field on the Oppty (see Re: ${TriggerObject.OpportunityId} anyone know what value actually works?β because Marketo doesn't surface the ID proper (not a big deal, we live with it).
Let's say that new field is called ID Copy and your order ID field supplied by the user is User Supplied Order ID, and their respective names when you drag them onto the Velocity canvas are IDCopy and UserSuppliedOrderID.
Then your token is:
#set( $opportunityIDField = "IDCopy" )
#set( $delim = "," )
#set( $opportunityIDs = $display.list($OpportunityList,$delim,$delim,$opportunityIDField).split($delim) )
#if( $opportunityIDs.contains( $lead.UserSuppliedOrderID ) )
Your Order ID was found.
#else
Your Order ID was not found.
#end
If you're trying to learn Marketo-flavored Velocity (note Velocity as a language is used profusely outside of Marketo) start at https://blog.teknkl.com/tag/velocity.
Awesome, thanks for all the help!
I'll probably dig into that blog so expand my knowledge of Velocity.