Actions21
- Contato Actions
- LiveChat Actions
- Tag Actions
- WhatsApp Template Actions
- Campo Personalizado Actions
- Disparo Actions
- Fluxo Actions
Overview
This node integrates with the uChat API to manage custom fields for contacts. Specifically, the 'Definir Multiplos Campos' operation allows users to set values for multiple custom fields (up to 20) for a specified contact identified by a unique user identifier (user_ns). This is useful for updating multiple attributes of a contact in one API call, such as setting preferences, tags, or other custom data fields.
Use Case Examples
- Updating multiple custom fields for a contact in a CRM system to reflect new user preferences.
- Batch setting of user profile attributes in a marketing automation workflow.
Properties
| Name | Meaning |
|---|---|
| User NS | Unique identifier of the contact (user_ns) for whom the custom fields will be set. |
| Campos | A list of custom fields (up to 20) to set, each with a field name or ID and the corresponding value to assign. |
Output
JSON
user_ns- The unique identifier of the contact for whom the fields were set.data- Array of objects representing the custom fields updated, each containing the field identifier and the new value.success- Boolean indicating whether the operation was successful.
Dependencies
- Requires an API key credential for authenticating requests to the uChat API.
Troubleshooting
- Ensure the 'user_ns' provided is valid and corresponds to an existing contact in the uChat system.
- Verify that the field names or IDs specified in the 'Campos' list exist and are accessible via the API.
- Check API authentication credentials if requests fail due to authorization errors.
- The API limits the number of fields to 20; exceeding this may cause errors.
Links
- n8n Expressions Documentation - Documentation on how to use expressions in n8n to dynamically specify field names or IDs.
- uChat API Documentation - Official API documentation for uChat, detailing endpoints and usage.