# HubSpot

You can integrate Sprouts with HubSpot for running effective marketing campaigns with rich prospect enrichment information directly in your CRM.  \
\
Sprouts supports following use cases:

* Accounts/Prospects created in your CRM - need to be enriched&#x20;
* Accounts/Prospects are imported in Sprouts - should sync to CRM.&#x20;

Refer [use cases](/crm-integrations/introduction.md) for more details.

{% hint style="info" %}
HubSpot is enabled on a request basis, please get in touch with your CS and we will enable it for you.
{% endhint %}

***

## Prerequisites - before setting up Integration

* Check if all Users are present in Sprouts (for mapping the lead/prospect owner)
* Compare mandatory fields in both apps
* Check for dropdown fields and values compared to values with Sprouts&#x20;
* Check for owner of attributes (for eg: Owner - should not be updated by Sprouts)
* Check if Custom fields present in CRM/Sprouts need to be created

{% hint style="warning" %}

1. In order to map dropdown fields between both apps, please share your request with the CS team and we will update the values in the backend. For instance, *Seniority* (C-Level, VP, Director etc..) or *Industry* (Food and beverage, B2B, Fintech etc).
2. Custom fields created in CRM should text fields only. Dropdown values are not supported as part of the integration.
   {% endhint %}

***

## Steps to Configure

#### **Step 1: Navigate to Integrations and select CRM**

<figure><img src="/files/AgJDFPDSf3yrycIcjwSf" alt=""><figcaption><p>Select CRM</p></figcaption></figure>

<figure><img src="/files/dF24v3OTk9AHDkIu2hyq" alt=""><figcaption><p>Begin Connection</p></figcaption></figure>

#### **Step 2: Authenticate Sprouts to access your CRM**

Once you click Connect, you can authenticate your HubSpot account via OAuth.

<figure><img src="https://lh7-us.googleusercontent.com/LkKv32UWOk5ySZTviaadm-0l9ke_iBZiWDOnlyMsJUrJ3StAbv1wSJUrmMBin_Jj1TUmCuqUgYrqOkInsO5sJI5p24TUAOhJ9MWd4zGSToeBv9JD3jX5qgg9CQzAxkHfls-WnID8xcnNTf3vW8XS7vw" alt=""><figcaption></figcaption></figure>

#### **Step 3: Map Users between both systems**

The users need to be mapped to ensure the Contacts and Accounts have the right owner in Sprouts and HubSpot.

<figure><img src="https://lh7-us.googleusercontent.com/xTKC3JYA-intdftk8e8siVE430QLwtSkgDp0VQQGYdh2sIjfIkF8Wt6cj47ljMikEBgn9LDbJsIpD7W-b8J-rU2mjl_dFz1wfNopbWMnZ_Uu4D1Y_Rqc5_vRcA12WD21gzheQYMFHEEqAx3DBgk3xpc" alt=""><figcaption><p>User Mapping</p></figcaption></figure>

#### **Step 4: Map Attributes**

Next, you can map the fields and make sure the information is imported into HubSpot seamlessly.

**Condition 1**: Inbound (CRM -> Sprouts)\
You can select attributes which should flow from CRM.\
For instance, if the Stages or Prospect Owner is updated in CRM, you can make sure that it is synced from CRM and shall not flow back from Sprouts \
\
**Condition 2**: Outbound \
You can select whether the data should be&#x20;

* Updated into CRM always
* Updated into CRM only if value is blank
* Should not be updated (Don't Sync)

> Note: If new attributes are added in CRM, during the set up process, you can use the <mark style="background-color:yellow;">Fetch Latest Fields</mark> option to sync new attributes list to Sprouts.

{% hint style="warning" %}
In order to map dropdown fields between both apps, please share your request with the CS team and we will update the values in the backend.&#x20;

For instance, *Seniority* (C-Level, VP, Director etc..) or *Industry* (Food and beverage, B2B, Fintech etc).
{% endhint %}

<figure><img src="/files/0HhuJx12fKKJ6oR92ps3" alt=""><figcaption><p>Attribute Mapping with Conditions</p></figcaption></figure>

#### **Step 5: Test Run**

Sprouts will perform a test run and let you know if the connection is fine.

{% hint style="info" %}
As part of the test run, 3-5 recent records will be fetched and shown for your review. You can approve and complete the integration process or go back and change the mapping if any.
{% endhint %}

<figure><img src="https://lh7-us.googleusercontent.com/_Q0hLtZAQmPISfx9BeAQGMC8WgYjX7lLiXUvRd9CjiT3_9T09sm1yoNZWEIBMdEPsp3TQULHPSCAWOEG_tsw1P7o2JytiYArvDKSAyeOcxx0FR8HldlG0geq730qMpfeKleyUBD9fMzwUszlIz4sfvg" alt=""><figcaption><p>Test Run</p></figcaption></figure>

#### **First Sync - Fetch historic data**

Once the sync is set up, Contacts and Accounts from the past 24 hrs will be imported from CRM to Sprouts.&#x20;

<figure><img src="/files/CBwwl8sOaBuZCPhYTCCb" alt="" width="375"><figcaption><p>Fetch data - first time</p></figcaption></figure>

***

## Manage Integration

### View Sync Status/ Errors

Sprouts will show details about every sync attempt, whether the sync was successful or not and what errors are seen in case there are issues observed as part of the sync.

<figure><img src="/files/ZAo5fHuZdG3OT6War4sC" alt=""><figcaption><p>Sync Log</p></figcaption></figure>

### Edit Mapping

* **User Mapping**: If additional SDR/BDRs are added to Sprouts/CRM, you can add/update the user mapping.&#x20;
* **Field Mapping**: You can also edit the attribute-mapping in case there are changes.

<figure><img src="/files/PVgfmw6XuCbpo0VnxoEI" alt=""><figcaption><p>Manage Settings</p></figcaption></figure>

<figure><img src="/files/4hwuL6OYNu0kbB597Oqq" alt=""><figcaption><p>Edit Field Mapping</p></figcaption></figure>

### Disconnect Integration

If you want to unlink the connection between Sprouts and HubSpot, you can disconnect.&#x20;

Once done, the auth credentials and mapping will be reset.&#x20;

If you reconnect, you can connect to the same/different CRM account and proceed.<br>

<figure><img src="/files/sqGVbde1SU3LKNxozf3r" alt="" width="375"><figcaption><p>Disconnect</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprouts.ai/crm-integrations/introduction/hubspot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
