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