Registering Users from HubSpot forms
If you would like to host your registration form or landing page in HubSpot, you can automatically add users that complete the form to your streamGo event by adding a webhook automation step to the forms workflow.
Creating the webhook automation in HubSpot
In the HubSpot form automation tab, create a simple automation webhook step;
Choosing this option will enable you to send data to the streamGo API. The next step is to select the POST method and complete the API details as detailed below;
When selecting the API key option you will be prompted to create a new HubSpot secret with your streamGo API key. You can find this in your organisation integrations area here: https://events.streamgo.live/dashboard/settings/integrations
Type a name for your key such as streamGo and enter the value as: Bearer <YOUR API KEY HERE> using your unique API key from the streamGo dashboard and save.
The next step is to populate the request body with values from your form submission. Choose Customize request body and enter the contact properties you would like to pass to streamGo;
The minimum required properties are name, surname and email. You can also add any other registration field references you have configured in the streamGo dashboard if you wish, such as company or job title. Static values are also required for the project(s) you would like to register the user for and whether you would like to send the user a registration email confirmation.
To register the user for a single streamGo project use a key of project and enter the value as the project ID found in the streamGo dashboard. To register users for multiple projects in one submission, you can use a key of projects instead and enter a comma delimited list of project ID's surrounded by square brackets eg; [1234500,1234560,1234567]
Note: Due to the way HubSpot handles boolean values, please use 1 or 0 to state whether to send a registration email confirmation to the user. The email confirmation will only be sent to the user if you have a registration email configured and enabled in the streamGo dashboard.
You can run a test below this area to confirm that you have configured the webhook correctly and a user should appear on your streamGo project.
That's it! Now, whenever anyone completes your HubSpot form, they will be automatically registered for your streamGo event.
If you have any feedback regarding this integration, please do not hesitate to get in touch at: heretohelp@streamgo.co.uk