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 related content. Specifically, for the Mensagem resource and Enviar Sticker operation, it allows sending a sticker message to a specified WhatsApp number by providing a URL of the sticker image.
Common scenarios where this node is beneficial include automating customer engagement via WhatsApp by sending stickers as part of marketing campaigns, customer support interactions, or interactive messaging flows.
Practical example: A business wants to send a thank-you sticker automatically after a customer completes a purchase, enhancing user experience with visual content.
Properties
| Name | Meaning |
|---|---|
| Número do WhatsApp | The recipient's WhatsApp number in international format (e.g., 5511999999999). |
| Mensagem | Text message body accompanying the sticker (required for all message sends). |
| External Key | Optional external identifier to track or correlate the message externally. |
| URL do Sticker | URL pointing to the sticker image to be sent. |
Output
The node outputs JSON data representing the response from the WhatMaster API after attempting to send the sticker message. This typically includes confirmation details such as message ID, status, timestamps, or error information if the request failed.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"messageId": "string",
"status": "sent",
"timestamp": "2024-06-01T12:00:00Z"
}
Dependencies
- Requires an active WhatMaster API account with configured credentials including:
- A Bearer token for authorization.
- An external code identifier used in the API endpoint URL.
- The node uses the
requesthelper method from n8n to perform HTTP POST requests. - For sending stickers, the node expects a valid public URL to the sticker image.
Troubleshooting
- Missing Credentials: Errors like "No credentials found" or "Bearer Token is required" indicate that the WhatMaster API credentials are not properly set up in n8n. Ensure credentials are configured with a valid token and external code.
- Required Parameters Missing: If the WhatsApp number, message body, or sticker URL is missing or empty, the node will throw errors indicating these fields are mandatory. Double-check input values.
- Invalid Sticker URL: Providing an invalid or inaccessible URL for the sticker will cause the API call to fail. Verify the URL is publicly accessible and points to a valid sticker image.
- API Endpoint Issues: Network issues or incorrect external code can lead to failed requests. Confirm the external code matches your WhatMaster account and that the API endpoint is reachable.
Links and References
- WhatMaster API Documentation (assumed base URL from code)
- WhatsApp Stickers Guidelines (for sticker format requirements)
This summary focuses on the Mensagem resource and Enviar Sticker operation as requested.
