APIs & Integrations

savannahlb
Participant

Pulling calculator javascript into Hubspot form

I'm managing a project in which our goal is to take information from a custom, interactive calculator we built and push that data into a Hubspot form. Visitors would then be able to submit the form with their calculator results and receive an email containing the data. Is this possible? What would be the best way to accomplish it?

0 Upvotes
1 Reply 1
IsaacTakushi
HubSpot Employee
HubSpot Employee

Pulling calculator javascript into Hubspot form

Hi, @savannahlb.

 

Yes, this is certainly possible.

 

If you are considering using an embedded HubSpot form, you can write the calculated values into form fields using JavaScript and then create a workflow which enrolls contacts who have submitted the form and sends external emails containing contact personalization tokens for the calculated properties. Please note that this approach requires a Marketing Hub Professional or Enterprise subscription.

If you wish to use a custom form, you can still submit the values to a HubSpot form with this Forms API endpoint. Workflows can take care of the rest just as in the above scenario.

Isaac Takushi

Associate Certification Manager
0 Upvotes