Actions29
- Mensagem Actions
- Ticket Actions
- Contato Actions
- API Oficial Actions
- API Plus Actions
Overview
This node integrates with the WhatMaster API to send WhatsApp messages and perform related operations. Specifically, for the API Oficial resource with the Enviar Template operation, it allows sending pre-defined message templates via WhatsApp.
Common scenarios where this node is beneficial include automating customer notifications, sending standardized messages such as appointment reminders, order confirmations, or support updates using WhatsApp templates. It helps businesses maintain consistent communication while leveraging WhatsApp's official messaging capabilities.
Example use case: Automatically sending a "Your order has shipped" template message to customers after an e-commerce purchase.
Properties
| Name | Meaning |
|---|---|
| Número do WhatsApp | The recipient's WhatsApp number in international format (e.g., 5511999999999). |
| Mensagem | The text content of the message to be sent. |
| External Key | An optional external identifier/key to track or correlate the message externally. |
Output
The node outputs JSON data representing the response from the WhatMaster API after attempting to send the template message. This typically includes status information about the message delivery, any error messages, or metadata returned by the API.
No binary data output is indicated for this operation.
Dependencies
Requires configuration of WhatMaster API credentials including:
- A Bearer token for authorization.
- An external code identifier 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 libraries beyond standard Node.js modules and
form-data(for other operations) are required.
Troubleshooting
Missing Credentials: Errors like "No credentials found" or "Bearer Token is required" indicate that the WhatMaster API credentials are not properly configured in n8n. Ensure the API key and external code are set up correctly.
Required Fields Missing: If the WhatsApp number or message body is empty, the node will throw errors indicating these fields are mandatory. Verify input values before execution.
Unsupported Operation: Using an operation not supported for the selected resource will cause an error. Confirm that "Enviar Template" is selected under the "API Oficial" resource.
API Errors: Any errors returned by the WhatMaster API will be included in the node output. Check the API documentation or logs for details.
Links and References
- WhatMaster Official Website (general reference)
- WhatsApp Business API documentation for templates (consult WhatsApp official docs for template formatting and approval)
Note: This summary focuses on the "API Oficial" resource and "Enviar Template" operation as requested. Other resources and operations are defined but not implemented in the provided source code.
