Actions18
- Administração Actions
- Instancia Actions
- Perfil Actions
- Webhooks e SSE Actions
- Enviar Mensagem Actions
Overview
This node integrates with the unofficial uazapiGO API to manage WhatsApp instances and send messages. Specifically, for the "Administração" resource and the "Atualizar campos administrativos" operation, it updates custom administrative metadata fields (adminField01 and adminField02) of a specified WhatsApp instance.
Common scenarios include:
- Updating metadata or custom tags associated with a WhatsApp instance for organizational or tracking purposes.
- Managing administrative data without recreating or deleting the instance.
- Automating updates to instance information as part of larger workflows.
Example: You have multiple WhatsApp instances representing different departments. You can update their administrative fields to reflect current department status or notes dynamically.
Properties
| Name | Meaning |
|---|---|
| Url | Base URL of the uazapiGO API (default: https://api.uazapigo.com). |
| ID da Instancia | The unique identifier of the WhatsApp instance whose admin fields you want to update. |
| Campo Administrador 1 | Custom administrative field 1 for storing metadata related to the instance. |
| Campo Administrador 2 | Custom administrative field 2 for storing additional metadata related to the instance. |
Output
The node outputs an array of JSON objects corresponding to the API response for each input item processed. The JSON structure depends on the API's response to the update request but generally includes confirmation of the update or details about the updated instance.
No binary data is output by this operation.
Dependencies
- Requires access to the uazapiGO API endpoint.
- Requires an API key credential for admin operations (referred generically as an admin token).
- The node expects the admin token to be configured in n8n credentials for authentication.
- Proper network connectivity to the specified API URL.
Troubleshooting
- Missing Admin Credentials: If the admin token credential is not set or found, the node will throw an error indicating missing admin credentials. Ensure the admin API key is properly configured in n8n.
- Invalid Instance ID: Providing an incorrect or non-existent instance ID may cause the API to return an error or fail to update. Verify the instance ID before running the node.
- Empty Fields: If
adminField01oradminField02are empty strings or null, they will be omitted from the request body. To clear a field, check if the API supports explicit clearing; otherwise, provide a valid value. - API URL Formatting: The URL property automatically strips protocol prefixes and re-adds
https://. Ensure the base URL is correct and reachable. - HTTP Errors: Network issues or invalid parameters may result in HTTP errors. Review the error message returned by the API for guidance.
Links and References
- uazapiGO Official API Documentation (assumed public API docs)
- n8n Documentation on Creating Custom Nodes
- General REST API usage best practices