Actions29
- Mensagem Actions
- Ticket Actions
- Contato Actions
- API Oficial Actions
- API Plus Actions
Overview
This node integrates with the WhatMaster API to send various types of WhatsApp messages and manage related resources. Specifically, for the API Plus resource with the Enviar Carrossel operation, it enables sending carousel messages via WhatsApp. Carousel messages are interactive message formats that allow users to scroll through multiple cards, each containing images, titles, descriptions, and buttons.
Use cases include:
- Marketing campaigns showcasing multiple products or offers in a single message.
- Customer support scenarios where multiple options or services are presented interactively.
- Enhancing user engagement by providing rich media content directly within WhatsApp conversations.
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 accompany the carousel. |
| External Key | An optional external identifier to track or correlate the message externally. |
Note: Although the provided properties JSON does not explicitly list carousel-specific fields, the node supports the "Enviar Carrossel" operation under the API Plus resource, which implies additional parameters would be required to define carousel items (not shown in the snippet).
Output
The node outputs an array with one element per input item. Each element contains a json field holding the response from the WhatMaster API after attempting to send the carousel message. This response typically includes status information about the message delivery.
If the operation involves sending files or media, the node handles multipart form data uploads; otherwise, it sends JSON payloads.
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 URL path.
- Uses the WhatMaster API endpoint at
https://back.whatmaster.com.br/v1/api/external/{externalCode}. - Node depends on standard Node.js modules such as
fsandform-datafor file handling (though not specifically for the carousel operation). - Requires n8n environment to have these credentials configured properly.
Troubleshooting
- Missing Credentials: Errors like "No credentials found" or missing Bearer token/external code indicate that the WhatMaster API credentials are not set up correctly. Ensure credentials are configured in n8n before running the node.
- Required Parameters Missing: For example, if the WhatsApp number or message body is empty, the node throws errors indicating these are mandatory.
- Unsupported Operation: If an operation other than those implemented is selected, the node will throw an error stating the operation is not supported.
- Network or API Errors: Standard HTTP request failures may occur due to network issues or invalid API keys. Check connectivity and credential validity.
- Incomplete Carousel Data: Since the source code does not show detailed handling of carousel message structure, ensure all required carousel parameters are provided according to WhatMaster API documentation to avoid API errors.
Links and References
- WhatMaster API Documentation (assumed official docs URL)
- WhatsApp Interactive Messages Guide
- n8n Documentation for configuring credentials and using custom nodes
