Actions21
- Campo Personalizado Actions
- Contato Actions
- Disparo Actions
- Fluxo Actions
- LiveChat Actions
- Tag Actions
- WhatsApp Template Actions
Campo Personalizado → Definir Valor
AI-generatedSummary
Set a value for a specific custom field of a contact identified by their unique user NS (user_ns).
Inputs
- User NS (required) — The unique identifier of the contact (user_ns) whose custom field value will be set.
- Nome Ou ID Do Campo Name or ID (required) — The name or ID of the custom field to set. You can select from a list of custom fields or specify the field ID using an expression.
- Valor Do Campo (required) — The value to assign to the specified custom field.
Output shape
a single JSON object representing the API response confirming the update operation
The output contains the response from the NicoChat API for the set custom field request. No pagination or list is involved, as this operation updates a single field for one contact.
Examples
Example 1: Set the custom field 'Favorite Color' to 'Blue' for a contact with user NS 'abc123'
User NS: 'abc123'; Nome Ou ID Do Campo Name or ID: 'Favorite Color'; Valor Do Campo: 'Blue'