> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/user-guide/workflows/creating-workflows/configuring-thinklets/update-custom-fields-thinklet.md).

# Update custom fields thinklet

The **Update custom fields** thinklet writes values to existing manual custom fields—**Device** or **User** object. Refer to [Custom fields management](/platform/user-guide/administration/content-management/custom-fields-management.md) to learn how to create and configure manual custom fields.

Use this thinklet to store values in custom fields from workflow executions, as the result of a decision or a user response, for downstream use and automations:

* Update metadata such as compliance, onboarding, or asset tracking.
* Update Nexthink dashboards or investigations.
* Trigger follow-up workflows based on updated custom field values.

{% hint style="info" %}
Refer to [Creating workflows](/platform/user-guide/workflows/creating-workflows.md#updating-custom-fields-in-workflows-for-downstream-use) for use case examples of **Update custom fields** thinklets.
{% endhint %}

<figure><img src="/files/Z03vPF7Pci5zfyrIRPgr" alt=""><figcaption></figcaption></figure>

## Configuring the Update custom fields thinklet

Fill in the following configuration fields:

<div align="left"><figure><img src="/files/xp9nsERWtWYhaO9vNgRl" alt="" width="361"><figcaption></figcaption></figure></div>

* **Name**: Enter a unique name for the thinklet.
* **ID**: Auto-generated based on the name.
* **Description (optional)**: Describe the thinklet purpose to facilitate collaboration.
* **Object**: Select either **Device** or **User**. The object defines which custom fields are available.
  * To update both **Device** and **User** objects, chain multiple thinklets.
* **Select custom field**: Choose one or more manual custom fields (up to 10) to update. Choose how to assign the value:
  * **Custom value**: Enter a fixed value.
  * **Device** or **User** properties, such as **CPU** or **Entity**.
  * **Thinklet**: Use output from a previous thinklet. For example, a campaign response.

{% hint style="warning" %}
Custom field updates are asynchronous and may take up to 5 minutes. If later workflow steps need to read the updated values, add a **Wait** thinklet.

You can update up to 10 custom fields per thinklet for a specific object. Check the status of the update result from the [workflow execution timeline](/platform/user-guide/workflows/monitoring-workflows-dashboard/troubleshooting-workflows.md#update-custom-fields).
{% endhint %}


---

# 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.nexthink.com/platform/user-guide/workflows/creating-workflows/configuring-thinklets/update-custom-fields-thinklet.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.
