Actions37
- Message Actions
- Media Actions
- Contact Actions
- Group Actions
- Instance Actions
- Webhook Actions
Overview
This node integrates with a premium WhatsApp API service to send WhatsApp template messages. Specifically, the Send Template operation under the Message resource allows users to send predefined WhatsApp template messages to specified phone numbers. This is useful for automating standardized communications such as appointment reminders, order confirmations, or customer support messages where templates are required by WhatsApp policies.
Practical examples include:
- Sending a shipping update template message to customers.
- Delivering a payment confirmation template after a transaction.
- Dispatching a customer support follow-up template.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's WhatsApp number including country code (e.g., 5511999999999). |
| Additional Fields | Optional extra parameters: • Reply to Message ID: ID of a message to reply to. • Delay (seconds): Wait time before sending. • Disable Link Preview: Whether to disable link previews. • Mention Users: Comma-separated phone numbers to mention in the message. |
Output
The node outputs a JSON object containing the response from the WhatsApp API after attempting to send the template message. This typically includes status information about the sent message, such as message IDs or error details if the request failed.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the premium WhatsApp API service.
- Needs an API authentication token and instance identifier configured via credentials.
- The node sends requests through a proxy endpoint provided by the integration service.
- Proper WhatsApp templates must be pre-approved and available on the WhatsApp Business account linked to the instance.
Troubleshooting
Common issues:
- Invalid or missing phone number format can cause message sending failures.
- Using a template name that is not approved or does not exist will result in errors.
- Insufficient permissions or expired API tokens may block requests.
- Network or proxy connectivity problems can prevent successful API calls.
Error messages:
- Errors returned from the API will be included in the node output JSON under an
errorfield if "Continue On Fail" is enabled. - Typical errors include invalid template names, unauthorized access, or malformed requests.
- Errors returned from the API will be included in the node output JSON under an
Resolutions:
- Verify phone numbers include correct country codes without spaces or special characters.
- Confirm template names exactly match those approved in the WhatsApp Business Manager.
- Ensure API credentials are valid and have not expired.
- Check network settings and proxy configurations if requests fail to reach the API.