Actions2
- SMS Actions
Overview
This node integrates with the Netgsm API to send SMS messages. It is designed for scenarios where automated or bulk SMS sending is required, such as marketing campaigns, notifications, alerts, or two-factor authentication messages. Users can specify the recipient's phone number, message content, and additional options like message header and language coding.
Practical examples:
- Sending appointment reminders to customers.
- Dispatching promotional offers via SMS.
- Alerting users about system status changes or security events.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number in international format (e.g., 905XXXXXXXXX). |
| Message | The text content of the SMS message to be sent. |
| Message Header | The sender identification or header that appears on the recipient's device. |
| Additional Options | Optional settings for the SMS; currently supports: |
| - Message Context Coding (language) | The language code for message context, defaulting to "TR" (Turkish). |
Output
The node outputs JSON data representing the response from the Netgsm API after attempting to send the SMS. This typically includes information about the success or failure of the request, message IDs, and any error messages returned by the service.
No binary data output is produced by this node.
Dependencies
- Requires an active Netgsm API key credential configured within n8n.
- Network access to
https://api.netgsm.com.tris necessary. - The node uses HTTP POST requests with JSON payloads to interact with the Netgsm SMS sending endpoint.
Troubleshooting
Common Issues:
- Invalid or missing phone number format may cause message delivery failure.
- Incorrect or missing API credentials will result in authentication errors.
- Network connectivity issues can prevent communication with the Netgsm API.
- Exceeding rate limits or quota restrictions imposed by Netgsm may block message sending.
Error Messages:
- Authentication failures usually indicate invalid API keys; verify and update credentials.
- API response errors may include descriptive messages; review these to adjust input parameters.
- Timeout or network errors suggest checking internet connection or firewall settings.
Links and References
- Netgsm Official Website
- Netgsm API Documentation (for detailed API usage and parameters)