Hubspot
This guide covers how to integrate Hubspot for a video campaign and trigger Gan.AI to programmatically create and send videos with any other source.
Last updated
This guide covers how to integrate Hubspot for a video campaign and trigger Gan.AI to programmatically create and send videos with any other source.
Last updated
Log into your Gan.AI account
Click on the "User Settings" tab on the left navigation bar. Then go to User Settings --> Integrations
Select Hubspot from the list below and follow the steps to link your Hubspot account to Gan.AI
Log in to the Gan.AI account
Select the project for which Hubspot needs to be set up
Click on 'Project settings'
Go to 'Integrations'
Click on 'Hubspot'
Go to Hubspot.com and login to your account
Click on âWorkflowsâ in the navigation menu (ask your account admin to enable workflows feature in your account in case you donât see this)
Click on âCreate workflowâ in the right and select âFrom scratchâ
If you have no specific needs, continue with âBlank workflowâ and click âNextâ
Set up your contact enrolment trigger (how users are added to this workflow)
Click on the â+â icon In the left panel, click on âData Opsâ and select âSend a webhookâ
Set the method to âPOSTâ
Copy the webhook URL from Gan.AI platform & paste it in âWebhook URLâ on HubSpot
Select âAuthentication typeâ as âAPI keyâ
Click on âChoose a secretâ and select âAdd secretâ
Go to the Gan.AI platform and copy the value corresponding to âNameâ under API key
Paste the copied value in âSecret nameâ input in Hubspot
Go to the Gan.AI platform and copy the value corresponding to âValueâ under API key
Paste the copied value in âSecret valueâ input in Hubspot and click on âSaveâ
Under âRequest bodyâ, select âCustomise request bodyâ
Enter properties:
Go to the Gan.AI platform and copy âKey 1â in âRequest bodyâ
Paste the copied value in âKeyâ input in Hubspot
Click on âSelect a propertyâ and search for âRecord IDâ in Hubspot
Select âRecord IDâ under âNumber propertiesâ
Click on âAdd a propertyâ
Now, copy each Gan.AI project variable starting from âKey 2â in the list below and add it in HubSpot as the âKeyâ
Please note this is case sensitive, so copy the exact Gan.AI variable from below
Select the relevant HubSpot property to map the copied variable by searching for it in the âAvailable dataâ sidebarâ¨(For example, for a Gan.AI variable called âfirst nameâ, select the âFirst Nameâ property in HubSpot)
Click on âAdd propertyâ and keep adding individual Gan.AI variables and selecting a HubSpot property for each variable
Make sure to map all Gan.AI variables from the list to a relevant HubSpot property
Test Action:
Click on âTest Actionâ, and add test/ dummy values against each variable that you added above
Then, click on âTestâ to see if successful If the test is successful, click on 'Save'
Click on 'Review and publish'
Skip the steps and click on âTurn on workflowâ
Edit the name of the workflow if required
Go the the Gan.AI platform and click on âSave & closeâ to save your changes
Note: We recommend not changing the name or deleting the four properties in the export settings and leaving them as is
The export properties will be automatically created in HubSpot once you save these changes
To find these properties in HubSpot, use the internal names mentioned below in HubSpot
To add new properties, click on âNew propertyâ and select the relevant Gan.AI property from the dropdown
The HubSpot name will be automatically created
Click âSave & Closeâ to save your changes