# HubSpot

### Step 1: Connect your HubSpot account with Windsor <a href="#step-1" id="step-1"></a>

Connect your HubSpot account with Windsor by going to the "Integrations" tab in the Windsor sidebar.

<figure><img src="https://637946555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHwTvdR0UFDXjRFF5A5E%2Fuploads%2FXoaA34dIWu6ek5D1d5bG%2F1-connecting_hubspot.gif?alt=media&#x26;token=a72cac58-dc0a-4deb-9e45-ee9a3f1d5a7d" alt=""><figcaption><p>Connecting HubSpot with Windsor</p></figcaption></figure>

### Step 2: Enable HubSpot destination integration to create custom contact property

Follow the steps below in the GIF to enable the HubSpot destination integration and create a custom contact property for each contact. This HubSpot property will contain the personalized Windsor video URL after the videos are generated. By default, the property name looks like `<campaign_name>_video_url` but you can customize it before clicking "Save & Enable".

<figure><img src="https://637946555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHwTvdR0UFDXjRFF5A5E%2Fuploads%2FxtFVK8LmKFAlAriM3eHC%2F2_hubspot_destination_setup.gif?alt=media&#x26;token=5f12b181-8060-4984-8e33-66fb6fc8b172" alt=""><figcaption><p>Enabling HubSpot as destination integration</p></figcaption></figure>

### Step 3: Export your contact list in HubSpot in CSV format

[Export your desired HubSpot contact list as a CSV.](https://knowledge.hubspot.com/lists/export-your-lists) Windsor only needs the Name and Email contact properties to create videos; exporting other properties is optional.

### Step 4: Import the CSV to Windsor

Upload the downloaded CSV from HubSpot to Windsor by going to the "Recipients" tab and clicking on "Add Recipients" from the campaign detail page.

<figure><img src="https://637946555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHwTvdR0UFDXjRFF5A5E%2Fuploads%2FSEVA1Xp34keSI2qnDKIy%2Fcsv_upload.gif?alt=media&#x26;token=d5491b6c-c32e-4f01-99d1-f3541baf790d" alt=""><figcaption><p>Uploading the CSV to Windsor</p></figcaption></figure>

### Step 5: Wait till the videos are ready

You will receive an email when all the videos are ready. At this point, all the contacts in HubSpot already have the videos added to their custom property. (You may ignore the email attachment you received).

To use the video URLs in your marketing emails or sales sequences, simply insert the custom contact property as a personalization tag. The property will show up in the editor just like any other personalization tag.

<figure><img src="https://637946555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHwTvdR0UFDXjRFF5A5E%2Fuploads%2Fbkcvzd0FfOXV4Wq0RmYq%2Fimage.png?alt=media&#x26;token=c650a80f-286f-4f94-a2d8-ff1e38dad875" alt=""><figcaption><p>Using the contact's custom property in an email template</p></figcaption></figure>

{% hint style="info" %}
If you want to add a thumbnail to your email (like above), [Windsor automatically creates them for you](https://docs.windsor.io/windsor-dashboard/generate-personal-thumbnails).
{% endhint %}

{% hint style="warning" %}
Sometimes the generated video for a contact may not meet our quality standards. In this case, the video gets skipped, and the custom contact property is not updated for that contact. You can use HubSpot filter on the custom contact property to ignore such contacts, as shown in the GIF below.
{% endhint %}

<figure><img src="https://637946555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHwTvdR0UFDXjRFF5A5E%2Fuploads%2F3UJ7njtz0LJNziva1Nhc%2FScreen%20Cast%202023-04-13%20at%2012.04.30%20PM.gif?alt=media&#x26;token=f756c4d1-1b2e-4c54-836c-2ef51aafaba9" alt=""><figcaption><p>Filtering out contacts not having the Windsor Video URL</p></figcaption></figure>

### (Optional) Automating the CSV Export-Import&#x20;

If you have access to a **Marketing Professional**, **Sales Hub** or **Service Hub** Enterprise seat on HubSpot then you don't need to export and import CSVs. You can automate this part by using a HubSpot workflow. Click the next button below to learn more.<br>
