Setup Hubspot (Webhook)

Here’s a quick video showing the integration between Hubspot and OnLink

https://www.loom.com/share/0ad734a53fb14aeca82e78742cf18e2e

Follow instructions in our Webhook documentation to understand how OnLink supports webhooks. Here are the config elements you will need to configure Hubspot webhook:

config:auth_scheme=request_signing_hubspot
config:signature_token=<copy client secret from Hubspot>
config:hubspot_url=https://api.hubapi.com/crm/v3/
config:hubspot_api_key=<copy access token from Hubspot>

Follow instructions here to configure webhook in Hubspot :https://developers.hubspot.com/docs/api/webhooks

Here’s the field mapping

key:id=customfield_10121
map:properties.dealname=customfield_10065
map:properties.amount=customfield_10066
map:properties.dealstage=customfield_10104
map:properties.closedate=customfield_10105
map:properties.createdate=customfield_10053

Any field supported by Hubspot can be mapped in this way. You can call this API https://api.hubapi.com/properties/v1/deals/properties (needs authentication via Hubspot access token) to list all properties supported by Deal object in Hubspot.

image-20240514-183623.png