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 Mensagem resource and Enviar Texto operation, it sends a plain text WhatsApp message to a specified phone number.
Common scenarios where this node is useful include:
- Automating customer notifications via WhatsApp.
- Sending alerts or updates directly to users' WhatsApp numbers.
- Integrating WhatsApp messaging into workflows for marketing, support, or transactional communication.
For example, you can use this node to send appointment reminders or order confirmations by specifying the recipient's WhatsApp number and the message content.
Properties
| Name | Meaning |
|---|---|
| Número do WhatsApp | The recipient's WhatsApp number in international format (e.g., 5511999999999). Required. |
| Mensagem | The text content of the WhatsApp message to be sent. Required. |
| External Key | An optional external key to associate with the message for tracking or reference. |
Output
The node outputs an array of JSON objects, each representing the response from the WhatMaster API for the sent message. The exact structure depends on the API response but generally includes confirmation details about the message delivery.
No binary data output is produced by 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.
- Uses the WhatMaster API endpoint:
https://back.whatmaster.com.br/v1/api/external/{externalCode}. - For sending files (not applicable here), it uses multipart form-data and Node.js file system streams.
Troubleshooting
- Missing Credentials: Errors like "No credentials found" or missing Bearer token/external code indicate that the API credentials are not properly configured. Ensure the API key and external code are set up in n8n credentials.
- Required Fields Missing: If the WhatsApp number or message body is empty, the node throws errors indicating these fields are mandatory. Verify input values before execution.
- Unsupported Operation: Using an unsupported operation for the message resource will cause an error. Confirm that only supported operations like "Enviar Texto" are selected.
- API Request Failures: Network issues or invalid tokens may cause request failures. Check connectivity and credential validity.
Links and References
- WhatMaster API Documentation (assumed base URL; consult official docs for detailed API usage)
- WhatsApp Messaging Best Practices (for general WhatsApp integration guidelines)
