top of page
Writer's pictureBill Fetter

Can you create two records in Pardot from one form handler?

What if you had a scenario where you wanted to create 2 Pardot records from a single form submit? For example, you wanted to offer a way to register someone "on behalf of" someone else for for an event. Ideally you would end up with 2 records here: one for the person submitting and one for the person submitted "on behalf of".

Before we even start down this track, I must point out that we need to ask ourselves if the person filling out the form has the right to disclose the second person's information, and also if we are willing to forgo tracking information on the second person to get the record created in this way? If the answer to both those questions is yes, then read on!


The key here is to use the Pardot Form handler, which allows us to more flexibly collect the form information with an external form builder. The key here is to be able to get the first person tracked and avoid associating the second person's information with the first person's tracking cookie.


So here's how you'd do it with 2 form handlers. Let's say you're using a form builder such as Gravity Forms to create your form. In your form setup you will be sending all the fields in the same submit URL string. But you need to set up different field name values on your form for each field that's the same in Pardot-- so firstname and firstname1 for example (this is the pattern I will use for this explanation) Set up your first Pardot form handler to accept the form information related to the first person, so setting up the external field names in Pardot you are taking email, firstname, lastname, etc. Set up this first form hander to only take the "first person's" information. Click the "Enable Data Forwarding to Success Location" option. And your success location is--- the second form handler's address.


Set up the second form handler's external field names to be email1, firstname1, lastname1, etc. Have this form handler be set to kiosk mode, since we don't want this second record to be associated with the person submitting. The success location for this second handler would be your final success landing page, ideally a Pardot tracked page so the that submission from the first handler gets cookied.


Why does this work? A form handler will only accept field data that matches it's external field names and ignores the rest. So the field data for the submitting person goes to the first one and the field data for the "on behalf of" other person goes into the second one, each respective handler ignores the extra data.


Now, a best practice here would be for the second handler to send a message to the person whose data was entered on their behalf, at a minimum notifying them that was done. (Someone has entered your data on your behalf) If you wanted to say who it was, you could use a custom field on the second handler and re-use the firstname lastname values from the first handler to record "who did it" on the second person's record. In that same email you can also try and get your on behalf of person to click a link to go to a tracked confirmation page, which would get a cookie set and then your second person would also be tracked. That action might be "confirm that you accept your information being entered on your behalf".


This example has limited use cases for sure, but with the power of Pardot form handlers, you can get the job done!



367 views

5 Comments


NKJD IITY
NKJD IITY
5 days ago

google seo 外链发布+飞机TG+cheng716051;

EPTU Machine ETPU Moulding Machine;

EPP Machine EPP Shape Moulding…

EPP Machine EPP Shape Moulding…

EPP Machine EPP Shape Moulding…

EPP Machine EPP Shape Moulding…

EPTU Machine ETPU Moulding Machine

EPTU Machine ETPU Moulding Machine

EPTU Machine ETPU Moulding Machine

EPTU Machine ETPU Moulding Machine

EPTU Machine ETPU Moulding Machine

EPTU Machine ETPU Moulding Machine

Like

Katie Higginbotham
Katie Higginbotham
Jul 20, 2023

Thank you so much!! I think the "add another" option might work for what I want to do.

Like

Katie Higginbotham
Katie Higginbotham
Jul 20, 2023

Hi Bill. This information was super helpful! I'm trying to use this method for an event registration where you can register up to 4 attendees. I got the form handlers to work together beautifully when someone registers 4 attendees, but if someone registers 1-3 people, the webpage gets stuck in a referral loop and doesn't take them to the end URL (confirmation page). Any suggestions for how to make this work or am I out of luck? TIA!

Like
Bill Fetter
Bill Fetter
Jul 20, 2023
Replying to

Note that in the prior comment I am suggesting those secondary forms are actually Pardot forms (you can use a Pardot form as if it's a landing page), which would require that you add JS on the form to send to the handler (some ideas on how to do that here: https://thespotforpardot.com/2021/05/05/one-form-two-pardot-orgs-part-1/ ) You could also add conditionality into that mini form so that you could "count" the number of submissions in a counter field via completion actions so that when your limit is reached, it sends to a different form handler, where the completion action is just a thank you page, more or less this idea: <script type="text/javascript">

switch('{{Recipient.SubmissionCount}}') {

case '3':

window.top.location.href='Form-Handler-URL-2-Last-Allowed-Submission';

break;

case '4':

window.top.location.href='Thank-you-page-saying-your-limit-has-been-reached';

break;

default:

Like
*As of April 2022, Pardot has been renamed Marketing Cloud Account Engagement, as part of Salesforce's effort to organize all the marketing products under the same platform umbrella. "MCAE" is simply the same Pardot we know and love under a new name. The product is temporarily being referred to as "Marketing Cloud Account Engagement powered by Pardot."   

Did you find this article useful?  Buy me a coffee. 🙂

Want more tips? Subscribe and be the first to know of new coffee-worthy content.

Thanks for Subscribing!

Need some help?

Consultations offered on a pay-as-you-go basis by the hour.  Buy hours below and I will schedule a session at your convenience.

bottom of page