Actions7
- Text Message Actions
- Media Message Actions
- Group Message Actions
- Message Management Actions
Overview
This node integrates with the OneSender API to send WhatsApp messages. Specifically, the "Send Text Bulk" operation under the "Text Message" resource allows users to send multiple text messages in a single request. This is useful for scenarios such as marketing campaigns, notifications, or alerts where the same or different messages need to be sent to many recipients efficiently.
For example, a business can use this node to send personalized promotional messages to a list of customers by providing each recipient's phone number and message content in bulk.
Properties
Name | Meaning |
---|---|
Messages | A collection of messages to send in bulk. Each message includes: |
- Recipient Phone Number: The phone number of the recipient including country code (e.g., 60123456789). | |
- Message Text: The text content of the message to send. |
Output
The node outputs an array of JSON objects representing the response from the OneSender API for each message sent. Each item corresponds to one message's result, containing details such as message status or any returned metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an active OneSender API account.
- Needs an API key credential configured in n8n for authentication.
- The node makes HTTP requests to the OneSender API endpoint specified by the base URL in the credentials.
Troubleshooting
- Invalid phone numbers: Ensure all recipient phone numbers include the correct country code and are formatted properly; otherwise, the API may reject them.
- API authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Rate limits or bulk size restrictions: Sending too many messages at once might hit API rate limits; consider splitting large batches.
- Error responses from API: If the API returns errors, check the error message included in the node output for guidance.
- Network issues: Ensure the n8n instance has internet access to reach the OneSender API.
Links and References
- OneSender API Documentation (for detailed API usage and message formatting)
- WhatsApp Messaging Guidelines (for compliance and best practices)