To link LeanData's routing and scheduling process to the leads or contacts created through your HubSpot form, you'll need to add a hidden field to your form using the steps below. This hidden field stores the BookIt Log ID that will later be passed to the Salesforce record via your marketing automation platform.
If you already have a custom method to accomplish this, feel free to skip this guide and use the approach that best fits your workflow.
Step 1: Create a Contact Field in Eloqua
Start by navigating to your Settings in Eloqua and creating a new Contact Field.
We recommend naming this field “LD BookIt Log ID” for consistency with the rest of this guide, though you may use any name that suits your internal naming conventions.
Set the following options:
-
Data Type: Text
-
Field Type: Textbox
⚠️ Note: If you are using a custom object to sync to leads or contacts in Salesforce instead of the standard Eloqua contact object, you will need to add this field to that custom object instead.
Step 2: Add the Hidden Field to Your Eloqua Form
Add a hidden field to your form with an HTML Name of "ldBookItLogID"
.
This can technically be named anything, but be sure to make note of the name you choose—it will be used in a later code configuration step.
⚠️ Important: Set the maximum length of this field to 100 characters.
Step 3: Map the Hidden Field in Your Processing Steps
In the Processing step of your form, locate the action that creates a contact (or a custom object, if you're using one instead).
Map the hidden field you added earlier to the corresponding field you created in Step 1.
⚠️ Be sure to set the Update Type to Always Update
to ensure the value is written on every form submission.