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

# Hubspot

### Create the external id field for Formsort

In HubSpot, visit your **Data Model**.

<div align="left"><figure><img src="/files/g6vnE5qZbRtgOHssr8hf" alt=""><figcaption></figcaption></figure></div>

Select a model to edit. Here we chose **Contacts**. Click **View Details**.

<div align="left"><figure><img src="/files/zr7ox4KXLzJyHLVXjV0c" alt=""><figcaption></figcaption></figure></div>

Next, click **View Contact settings**.

<div align="left"><figure><img src="/files/8agBK19084weN2HoHmXn" alt=""><figcaption></figcaption></figure></div>

In **Setup** click **Manage contact properties**.

<div align="left"><figure><img src="/files/Q8srxauEDdjsAXMS25kE" alt=""><figcaption></figcaption></figure></div>

Click the orange **Create Property** button.

<div align="left"><figure><img src="/files/LSeDkLY7h3WdSGHEqm23" alt=""><figcaption></figcaption></figure></div>

Here is an example property value that can be used:

<div align="left"><figure><img src="/files/cewFZew3Ugy9kS9aaNWz" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/QE9Sx9Zabfq416fix1VQ" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Field type** should be single-line text.&#x20;
{% endhint %}

<div align="left"><figure><img src="/files/HeJUH7R8BneGbKTceaPY" alt=""><figcaption></figcaption></figure></div>

Make sure **`Require unique values for this property`** is checked. The **max-character limit** needs to be at least long enough to support a UUID.

After filling out the properties, save the new field.


---

# 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.formsort.com/integrations/integration-reference/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.
