Actions29
- Mensagem Actions
- Ticket Actions
- Contato Actions
- API Oficial Actions
- API Plus Actions
Overview
The node integrates with the WhatMaster API to update contact information on WhatsApp. Specifically, for the "Contato" resource and the "Atualizar Contato" operation, it allows updating a contact's details such as their WhatsApp number, name, and email.
This node is useful in scenarios where you need to keep your WhatsApp contact list synchronized with external systems or CRM platforms. For example, when a customer's information changes in your database, you can use this node to update the corresponding WhatsApp contact automatically.
Properties
| Name | Meaning |
|---|---|
| Número do WhatsApp | The WhatsApp number of the contact in the format 5511999999999. Required for identification. |
| External Key | An optional external key to associate with the contact update request. |
| ID do Contato | The unique identifier of the contact to be updated. |
| Nome do Contato | The new name of the contact. |
| Email do Contato | The new email address of the contact. |
Output
The node outputs JSON data representing the response from the WhatMaster API after attempting to update the contact. This typically includes confirmation of the update or details about the updated contact.
If an error occurs during execution, and if the node is configured to continue on failure, the output JSON will contain an error field with the error message.
No binary data output is produced by this operation.
Dependencies
Requires configuration of WhatMaster API credentials, including:
- A Bearer Token for authentication.
- An External Code used in the API endpoint URL.
The node makes HTTP requests to the WhatMaster API endpoint:
https://back.whatmaster.com.br/v1/api/external/{externalCode}No additional external services or environment variables are required beyond the API credentials.
Troubleshooting
Missing Credentials:
Error messages like "No credentials found" or "Bearer Token is required" indicate that the WhatMaster API credentials are not properly set up. Ensure the API token and external code are configured in the node credentials.Required Fields Missing:
If the WhatsApp number or other required fields are empty, the node will throw errors indicating which field is mandatory. Verify all required input properties are provided.Operation Not Implemented:
The bundled source shows that contact operations handling (handleContactOperation) is not implemented yet and throws an error. This means the actual update logic for contacts is missing in the current version of the node. Users will encounter an error stating "Contact operations not implemented yet" when trying to update contacts.To resolve this, the node implementation must be completed to support the "Atualizar Contato" operation.
Links and References
- WhatMaster API Documentation (Assumed base URL; please refer to official docs for detailed API usage)
- n8n Documentation on Creating Custom Nodes
