Custom HS Hosted Save ActionsSOLVE
Mar 31, 2020 9:15 AM
I have a hubspot hosted form successfully embeded to my external .Net site.
We want to migrate to HS forms from current form because of the flexibilty HS provide and leverage the potetial.
I am doing a POC where I am not sure how to achive below custom save action i am able to do with existing forms.
- Need to send HS form data to WebEx api. Currently we are using server side code to create a XML doc with form data and credential to post data to webex service.
- Right now we have multiple success message configuration, I want my leads to be able to download the whitepaper/datasheet(PDF) on asuccessful form submission
- Currentlly we are displaying a form when user click on a pdf-->they fill form-->successful submission message has the clicked PDF resource, actually we are creating a form post action which contains pdf unique guid to get pdf download link in success message. How do we do that here.
- I can programatically render the embed form but I am not sure how to check if submit action was successful.
I heard of Webhook, but I am not sure if this can help me achive the above functionalities or HOW?
Solved! Go to Solution.
Apr 21, 2020 1:29 PM
Sincere apologies for the delayed response.
Submitting a hidden form on repeat downloads
I don't know of a way to submit a completely hidden embedded HubSpot form, but you can certainly make AJAX requests to this v3 Forms API endpoint for repeat submissions to the form. The API submissions are capable of updating contact records the same way as the HTML form. Said differently, you might have to use the embedded (HTML) form the first time and then make AJAX requests to the Forms API when visitors click to download the asset again.
Customized email sends
Are you working out of the HubSpot account ending in "0122?" If so, you have access to these personalized workflow actions. When you say you are not able to use the "Send email" workflow action, could you describe where you are getting stuck?
Isaac TakushiAlumnus, HubSpot Developer Support