# Hubspot integration

 This article covers sending data *from* Hubspot to Customer.io. Looking to send data *to* Hubspot? Use our [Hubspot destination](/integrations/data-out/connections/hubspot/)!

If you need a way to sync Hubspot with Customer.io, this article is for you! While we don’t have an out-of-the-box integration for sending data from Hubspot to Customer.io, you can:

*   create a webhook campaign to retrieve this data or
*   use Zapier to connect Hubspot to Customer.io or
*   check out [our partners](https://customer.io/integrations/?selectedType=Connect-partner) to see if one of their integrations could suit your needs

Some other options include [exporting your Hubspot contacts](https://knowledge.hubspot.com/user-management/export-users) and [importing them to Customer.io](/journeys/uploading-people/). You can also create a custom integration and programmatically add/update people via our [Track API](/integrations/api/track/#operation/batch).

## Webhook campaigns[](#webhook-campaigns)

### Prerequisites[](#prereq-webhook-camps)

Webhook campaigns are included in every Customer.io plan. However, not all Hubspot plans support webhooks or Hubspot workflows, both of which you’ll need to successfully create this campaign. Check out [Use webhooks with Hubspot workflows](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows) to see if your plan supports them.

To create a webhook campaign in Customer.io, you need to be an [Account Admin, Workspace Admin, or Author with Full Access](/accounts-and-workspaces/add-remove-team-members/#journeys).

### Send data from Hubspot with webhook campaigns[](#send-data-from-hubspot-with-webhook-campaigns)

In this recipe, we’ll show you how to create and update contacts from Hubspot in Customer.io. Make sure you’ve read the [prerequisites](#prereq-webhook-camps) before proceeding.

1.  Check your Hubspot plan. Does it include webhooks and workflows? If yes, proceed ahead! If not, use one of the other [options](#) above.
    
2.  Go to your [Customer.io Account Settings](https://fly.customer.io/settings/workspaces) to check how you identify people.
    
    [![workspace-settings-identifiers.png](https://docs.customer.io/images/workspace-settings-identifiers.png)](#689c8cf07d1c861148a1f4dfbcaed1ef-lightbox)
    
    These are your options when mapping contacts in Hubspot to people in Customer.io.
    
    If you don’t have account-level access, go to your [Workspace Settings](https://fly.customer.io/workspaces/last/settings/edit) to check.
    
3.  Create a [webhook campaign](/journeys/webhook-triggered-campaigns/#create-a-webhook-triggered-campaign).
    
    1.  In step 3, add the webhook URL to a [Hubspot workflow](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows).
    2.  In step 5, drag a [**Create or Update Person**](/journeys/webhook-triggered-campaigns/#identify) action into your campaign workflow in Customer.io.
        1.  Make sure you map your people identifier in Hubspot to a Customer.io identifier supported by your workspace (see step 2 above).
4.  Review your campaign and click **Start Campaign**.
    

Keep in mind, we count people towards [billing](/accounts-and-workspaces/how-we-bill/#understanding-high-watermark-billing). Review our [best practices](/accounts-and-workspaces/how-we-bill/#how-to-reduce-overages) for keeping a clean workspace with only the people profiles you need month-to-month.

## Zapier[](#zapier)

### Prerequisites[](#prereq-zapier)

You can [install the Zapier app](https://knowledge.hubspot.com/integrations/how-to-use-zapier-and-hubspot#create-a-zap), free-of-charge, on any Hubspot plan. However, you may need a paid [Zapier plan](https://zapier.com/app/planbuilder/plans) depending on the volume of data you need to send to Customer.io. Review Zapier’s concept of [tasks](https://help.zapier.com/hc/en-us/articles/8496196837261-How-is-usage-measured-in-Zapier) to help you understand how usage is calculated in Zapier.

To integrate Zapier with Customer.io, you’ll need to be an [Account Admin or Workspace Admin](/accounts-and-workspaces/add-remove-team-members/#journeys) in Customer.io.

### Send data from Hubspot with Zapier[](#zapier)

This recipe shows how to create and update contacts from Hubspot in Customer.io. Make sure you’ve read the [prerequisites](#prereq-zapier) before proceeding.

1.  [Install Zapier in Hubspot](https://knowledge.hubspot.com/integrations/how-to-use-zapier-and-hubspot), then sign in or create a Zapier account.
2.  Create a zap.
    1.  Add a descriptive name at the top so you can distinguish it from other zaps.
    2.  Set your trigger as “Hubspot.”
        1.  Choose the event “Contact recently created or updated” or another event that meets your needs.
            
            [![zapier-trigger-hubspot.png](https://docs.customer.io/images/zapier-trigger-hubspot.png)](#07c76e28eeaa7f35066f35c66bd55539-lightbox)
            
    3.  Set your action as “Customer.io.”
        1.  Add your Track API ID and Key from [Workspace Settings](https://fly.customer.io/workspaces/last/settings/api_credentials) in Customer.io. Make sure you copy the credentials from the workspace you want to integrate with.
        2.  Choose the event “Create or update a person,” then map your fields to Customer.io.
            
            [![zapier-action-customer.png](https://docs.customer.io/images/zapier-action-customer.png)](#e154d7a23af5f735eaebefbca653b6e1-lightbox)
            
3.  Click **Publish** when you’re ready to take the zap live!
    1.  Keep in mind, Zapier has different [pricing tiers](https://zapier.com/app/planbuilder/plans) for the number of tasks in your account.

Note, we count people towards [billing](/accounts-and-workspaces/how-we-bill/#understanding-high-watermark-billing). Review our [best practices](/accounts-and-workspaces/how-we-bill/#how-to-reduce-overages) for keeping a clean workspace with only the people profiles you need month-to-month.

Moving forward, you will see “Zapier” in activity logs when the change came from your integration.

[![zapier-activity-log.png](https://docs.customer.io/images/zapier-activity-log.png)](#55ffd47fdb3086bb7781e0731549eab3-lightbox)