Share
HubSpot (Edge) Setup Guide

HubSpot is a cloud-based Customer Relationship Management (CRM) platform that enables businesses to manage customer interactions, handle sales and marketing processes, and analyze customer data. It also allows you to create and customize properties based on your business requirements to improve customer engagement and relationships.

Hevo uses HubSpot REST APIs and webhooks to replicate data from your account into the Destination of your choice.

Hevo supports the following authentication methods to connect to your HubSpot account:

  • Open Authorization (OAuth): Allows Hevo to connect to your account through an authorization flow, where you sign in to HubSpot and grant Hevo access to your account data. During authorization, Hevo installs an app in your account that registers the webhook subscriptions required to capture delete events for the company, contact, and deal objects. This method is easier to set up, as it does not require creating an app, managing credentials, or configuring webhooks.

  • Private app access token: Allows Hevo to connect to your account using the access token and client secret of a private app that you create in HubSpot. This method requires additional setup, such as creating the app in HubSpot, granting it the required scopes, and configuring webhooks to capture delete events for the company, contact, and deal objects.


Supported Features

Feature Name Supported
Capture deletes Yes
History mode Yes
Custom data (user-configured objects & fields) Yes
Data blocking (skip objects and fields) Yes
Resync (objects and Pipelines) Yes
API configurable Yes

Configure Webhooks for Capturing Delete Events

For the company, contact, and deal objects, Hevo captures delete events through webhooks. If you authenticate using OAuth, Hevo installs an app in your account that registers these webhook subscriptions automatically, and no further action is required.

If you authenticate using a private app access token, you must configure webhooks in your HubSpot account using Hevo’s webhook URL, https://global-webhook-service.hevodata.com/global/hubspot/events. Once configured, whenever records for these objects are deleted, Hevo sets the metadata column __hevo__marked_deleted to True for the corresponding records in the Destination.

Perform the following steps to subscribe to delete events for the company, contact, and deal objects in the private app that you created for Hevo:

  1. Log in to your HubSpot account as a user with permissions to edit a legacy app, such as a Super Admin.

  2. In the top navigation bar, click the Settings ( ) icon.

    Click Settings icon

  3. In the left navigation pane, under Account Management, click Integrations, and then click Legacy Apps.

    Click Legacy Apps

  4. Click the private app that you created for Hevo.

    Click the app

  5. On the <Your Private App Name> page, click Edit app in the top right corner, and then click the Webhooks tab.

    Click Edit app

  6. In the Webhooks section, under Target URL, specify global-webhook-service.hevodata.com/global/hubspot/events, and then click Create subscription.

    Click Create subscription

    Note: HubSpot prefixes the target URL with https://, so you do not need to include it.

  7. In the Create new webhook subscriptions slide-in page, do the following:

    1. Click the Which object types? drop-down, and then select the check boxes next to the following objects:

      Select object types

      • Contact

      • Company

      • Deal

    2. Click the Listen for which events? drop-down, and then select the check box next to Deleted.

      Select Deleted event

      Note: If you select any additional events, HubSpot may send notifications for those events to the configured webhook URL. However, Hevo ignores these notifications, and they do not affect data ingestion.

    3. Click Subscribe.

      The subscribed events are displayed in the Event subscriptions section of the Webhooks tab.

  8. Click Commit changes in the top right corner to save the subscription.

The webhook subscription is now active for the company, contact, and deal objects.


Handling of Deletes

Hevo uses the following methods to capture deleted records for your Source objects:

Method How it works Applies to
Using the archived field For most standard objects, HubSpot marks deleted records by setting the archived field to true. Hevo ingests these records and marks them as deleted in the Destination by updating the value of the metadata column __hevo__marked_deleted to True. - feedback_submission
- goal
- lead
- line_item
- product
- quote
- ticket

Note: Hevo captures deleted records for these objects once every 24 hours through API calls.
Comparing Source and Destination data For objects where the complete data is ingested during each Pipeline run, Hevo identifies deleted records by comparing the latest data fetched from the Source with the data present in the Destination. If a record exists in the Destination but is no longer returned by the Source, Hevo marks the record as deleted in the Destination.

Note: For the contact_list_member and company_list_member objects, Hevo performs this comparison once every week to identify deleted records.
- association_type
- company_list
- company_list_member
- contact_list
- contact_list_member
- conversation_channel
- conversation_channel_account
- conversation_inbox
- custom_event_definition
- custom_event_definition_association
- custom_event_definition_property
- custom_event_definition_property_option
- deal_pipeline
- deal_pipeline_stage
- email_subscription
- form
- lead_pipeline
- lead_pipeline_stage
- marketing_campaign
- marketing_campaign_asset
- marketing_campaign_budget_item
- marketing_campaign_contact
- marketing_campaign_spend_item
- marketing_event
- marketing_event_custom_property
- marketing_event_list
- marketing_event_participant
- owner
- owner_team
- property
- property_option
- role
- submission_response
- team
- team_user
- ticket_pipeline
- ticket_pipeline_stage
- users
Capturing delete events through webhooks HubSpot sends delete event notifications to Hevo for subscribed objects through webhooks. These events are then processed in the next Pipeline run to mark the corresponding records as deleted in the Destination. - company
- contact
- deal

Note: If deleted records are restored in the Source, Hevo ingests only the changes made to those records from the time they are restored. Changes made before deletion are not captured.

Last updated on Aug 13, 2026

Tell us what went wrong

Skip to the section