> For the complete documentation index, see [llms.txt](https://docs-vnext.kiflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-vnext.kiflo.com/integrations/hubspot/how-to-map-deal-stages-with-hubspot.md).

# How to map deal stages with HubSpot?

When the HubSpot integration is turned on, deals in Kiflo are synced with deals in HubSpot.

Every time a deal moves to a new stage in HubSpot or in Kiflo, the corresponding deal will move to the mapped stage on the other side.

This article describes how deal stages can be mapped.

{% hint style="info" %}
**In this article**

[Choose the target deal pipeline](#choose-the-target-deal-pipeline)

[Choose the sync rule](#choose-the-sync-rule)

[Map deal stages](#map-deal-stages)
{% endhint %}

{% hint style="info" %}
**Before you begin**

* Make sure the HubSpot integration is enabled: [HubSpot](/integrations/hubspot/hubspot.md)
* And you turned on the right settings to sync deals: [Settings](/integrations/hubspot/hubspot.md#turn-on-settings)
  {% endhint %}

To configure deal stages mapping:

* Go to the **Manage** pas
* Click on **Integrations**
* Click on **HubSpot**
* Click on the tab **Mapping**
* Then select **Deal stages**

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-897105d869892d365e5a739d6d8e8d629a3bf1af%2F688b835d9e81b85a2ba73abb.png?alt=media)

## Choose the target deal pipeline <a href="#choose-the-target-deal-pipeline" id="choose-the-target-deal-pipeline"></a>

There is only one deal pipeline in Kiflo but you may have many deal pipelines in HubSpot. Kiflo sends deals to only one of your pipelines in HubSpot.

You can select the target pipeline from the list: **Create deals in HubSpot pipeline**

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-d461f4c394ad619934a5da9a18ead7cce7170f1f%2F64fb24b0a8b1261bdbc8d557.png?alt=media)

## Choose the sync rule <a href="#choose-the-sync-rule" id="choose-the-sync-rule"></a>

The sync rule allows you to choose what value Kiflo uses to update deal stages.

Please refer to the [Sync rule section in this article](/integrations/hubspot/how-to-map-fields-with-hubspot.md#sync-rules) to understand the sync rules.

{% hint style="info" %}
**Recommendations**

* If you have more stages in HubSpot than in Kiflo, then select "Prefer HubSpot" and update stages from HubSpot only.
* If partners can also update stages, please select either "Prefer Kiflo" or "Both ways".
  {% endhint %}

## Map deal stages <a href="#map-deal-stages" id="map-deal-stages"></a>

Every deal stage in Kiflo must be mapped to another deal stage in HubSpot. And vice-versa.

If you do not have the same number of stages in Kiflo and HubSpot, you can map the same stage multiple times.

### Edit mapping

On the left column are all the stages in Kiflo. On the right column are all the stages in HubSpot.

Below, the stage *Qualification* in Kiflo is mapped with the stage *Q\&A* in HubSpot:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-87ca6cee70e3eb621151fb2a76597c4a74e53d20%2F64fb28676fa0952cf5a60c89.png?alt=media)

In the example below, there are more stages in HubSpot. Two additional stages represent the steps after the closing:

* Onboarding ; and
* Upsell

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-3df0bb7cf181f624f1d34a220d08fea62df72e18%2F64fb2627065ccf64a2044125.png?alt=media)

### Common errors

On the mapping page, you may see the following warning:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-cd123a8ae32222cd4461730fb233fcd14999aa52%2F64fb28b6065ccf64a204412c.png?alt=media)

Or the following errors:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-36f6a1681a7dd7d1a8f4e55cee5e78b8454b4e19%2F64fb28ca6fa0952cf5a60c8b.png?alt=media)

They indicate something is wrong with the mapping and must be corrected. Usually, because some stages have changed in HubSpot or in Kiflo, you need to adjust the mapping accordingly.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-vnext.kiflo.com/integrations/hubspot/how-to-map-deal-stages-with-hubspot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
