Actions2
Send SMS
AI-generatedOverview
This node sends SMS messages via an API. It supports sending a single SMS to one recipient or bulk SMS to multiple recipients. It is useful for automating SMS notifications, alerts, or marketing messages. For example, a business can use it to send appointment reminders or promotional offers to customers.
Use Case Examples
- Send a single SMS to a customer with a personalized message.
- Send bulk SMS to a list of phone numbers for marketing campaigns.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient phone number with country code for sending a single SMS. |
| Message | The content of the SMS message to send. |
| Sender Name | The sender name displayed on the recipient's device, if supported by the SMS provider. |
| Additional Options | Optional settings including custom API endpoint, HTTP request method (POST or GET), custom headers, and request timeout in milliseconds. |
Output
JSON
success- Indicates if the SMS sending operation was successful (true or false).operation- The operation performed, e.g., sendSms or sendBulkSms.request- The request payload sent to the SMS API, including recipient(s), message, and sender name.response- The response data received from the SMS API after sending the message.error- Error message if the SMS sending failed.details- Additional error details or response data if available.
Dependencies
- An API key credential for authenticating with the SMS sending service.
Troubleshooting
- Common issues include invalid phone numbers, incorrect API credentials, or network timeouts.
- Error messages like 'SMS sending failed' indicate problems with the API request or response. Verify credentials, endpoint URL, and request parameters.
- Timeout errors can be resolved by increasing the timeout setting in Additional Options.