Pardot Form Handlers and Kentico Forms

Dan Lukens asked on January 2, 2019 19:41

Does anyone here have experience using Padot form handlers in conjuction with Kentico? We use both system and would like to integrate our Kentico created forms with our Pardot emails and automations, but I'm not sure of the best way to use form handlers with Kentico.

Thank you!

Recent Answers


Jan Hermann answered on January 3, 2019 15:11

The best way would be to listen on a global event when a form record is created:

https://docs.kentico.com/k12/custom-development/handling-global-events

In your case the event would be ObjectEvents.Insert.After where you check whether the object is BizFormItem and in case it is, you do your Pardot stuff.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 3, 2019 21:43

Aside from the global handlers, you might want to simply clone the biz form web part (/CMSWebParts/BizForms/bizform.aspx.cs) and have 2 form web parts. One for Kentico only forms and another for Kentico and Pardot forms which will handle your Pardot events in it.

The concept is the same as what Jan suggests with global events although it only fires when that web part is used vs. every form insertion.

The 2 events you can use in the Bizform web part are:

  • OnBeforeSave()
  • OnAfterSave()
0 votesVote for this answer Mark as a Correct answer

Troy Fulton answered on July 9, 2019 04:30

I've done it with Kentico's Integration Bus. The reason I chose the Integration Bus is because it queue's transactions, so if there is a problem, it will store the transaction attempt until I resolve the problem, then I can re-try the transaction. This ennsures that even in the event of an issue connecting to the API, I won't lose contact/lead. Of course, you'll still have it in Kentico's form data store for CMS use and redundancy.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.