Actions2
- Action Actions
Overview
This node integrates with a WhatsApp messaging API to send text messages. It is designed for scenarios where users want to automate sending WhatsApp texts programmatically, such as notifications, alerts, or customer engagement messages. For example, a business could use this node to automatically send order confirmations or appointment reminders to customers via WhatsApp.
The "Send Text" operation specifically sends a plain text message to a specified WhatsApp number using provided API keys for authentication.
Properties
| Name | Meaning |
|---|---|
| API Key | An API key used for authenticating requests to the WhatsApp messaging service. |
| Wasender API Key | A secondary API key required by the Wasender service for authentication. |
| To | The recipient's WhatsApp phone number, including country code and prefixed with "+". |
| Text | The content of the text message to be sent. |
Output
The node outputs an array of JSON objects representing the response from the WhatsApp messaging API for each input item processed. Each object contains the API's response data confirming the message was sent or detailing any errors.
No binary data output is produced by this operation.
Dependencies
- Requires access to the external WhatsApp messaging API at
https://api.customje.com. - Requires two API keys for authentication: one general API key and one Wasender-specific API key.
- The node uses an internal helper function to make HTTP POST requests to the API endpoints.
- No additional environment variables or n8n credential types are explicitly required beyond providing these API keys as input properties.
Troubleshooting
- Common issues:
- Invalid or missing API keys will cause authentication failures.
- Incorrectly formatted phone numbers (missing "+" or country code) may result in message delivery failure.
- Network connectivity issues can prevent successful API calls.
- Error messages:
"The operation "send-text" is not implemented yet!"— This indicates an unsupported operation was requested; ensure the operation name is correct."The resource "actions" is not known!"— This means the resource parameter is invalid; verify it is set to "actions".- API error responses returned from the external service will be included in the output JSON; check those messages for specific issues like quota limits or invalid parameters.
- To resolve errors, verify all input parameters, especially API keys and phone numbers, and ensure the external API service is reachable.
Links and References
- WhatsApp Business API Documentation
- Wasender API (if publicly documented) (Note: link is illustrative; actual documentation URL may differ)