# Contact custom fields

HighLevel custom fields allow you to map non-standard data from your source app to HighLevel. Follow the instructions in the linked article to learn how to setup custom fields in your HighLevel instance: <https://help.gohighlevel.com/support/solutions/articles/48001161579-how-to-use-custom-fields>

### Custom field mapping in Middle

Within the action to update or create a contact in HighLevel, you can construct an array of key-value pair objects to map integrated data to your custom fields.

{% hint style="warning" %}
You will need to use the unique key for the custom field (leave out the curly braces) for the field key in your Middle workflow
{% endhint %}

<figure><img src="/files/qks39JSLUVdwu2g4tChE" alt=""><figcaption><p>Example of a key-value pair object array mapping data to HighLevel custom fields</p></figcaption></figure>

To create this array, follow the below steps:

1. Create a new action node in your workflow and then select the action to create or update a contact in HighLevel
2. Click to create a new parameter under **Custom Fields**
3. Click to [construct an array](/middle-docs/building-workflows/workflow-parameters.md#advanced-parameters)
4. Add a new parameter within this array
5. Click to [construct an object](/middle-docs/building-workflows/workflow-parameters.md#advanced-parameters)
6. This will give you an object where you can add a [text box](/middle-docs/building-workflows/workflow-parameters.md#constant-and-calculated-values) to the custom field key and then map your data in the value

{% hint style="success" %}
This input parameter can accept all data types. If you receive a data type error in the workflow editor, you can feel free to ignore it.
{% endhint %}


---

# 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.middle.app/middle-docs/guides/app-reference/highlevel/contact-custom-fields.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.
