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