Sendon icon

Sendon

Send SMS using Sendon API

Sendon

AI-generated

Overview

This node sends SMS messages using the Sendon API. It is designed to facilitate sending text messages programmatically within an n8n workflow, making it useful for automating notifications, alerts, marketing messages, or any scenario requiring SMS communication.

Typical use cases include:

  • Sending transactional SMS alerts (e.g., order confirmations, appointment reminders).
  • Dispatching promotional or advertising messages.
  • Automating customer support communications via SMS.

The node supports different message types (SMS, LMS, MMS) and can automatically select the type based on message length.

Properties

Name Meaning
Sender Number The phone number from which the SMS will be sent.
Recipient Number The phone number to which the SMS will be sent.
Title The title of the message, used mainly for LMS or MMS types; if not provided, a snippet of the message is used as title.
Message The content of the SMS message to send.
Is Ad Boolean flag indicating whether the message is an advertisement.
Type The type of message to send. Options: Auto (automatically selects SMS or LMS based on message length), SMS, LMS, MMS.

Output

The node outputs an array of JSON objects, each representing the response from the Sendon API for a sent message. Each output item contains the full JSON response returned by the API, which typically includes details about the message status and any identifiers assigned by the service.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Sendon API.
  • The node makes HTTP POST requests to https://api.sendon.io/v2/messages/sms.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Message Type Selection: If the "Type" property is set to "Auto", the node determines the message type based on the byte length of the message. Messages longer than 90 bytes are sent as LMS; shorter messages as SMS. Users should ensure their message content matches expected encoding and length.
  • Missing Title for LMS/MMS: For LMS or MMS types, if no title is provided, the node uses the first 20 characters of the message as the title. If this behavior is undesired, explicitly provide a title.
  • API Authentication Errors: If the API key is invalid or missing, the node will fail to authenticate. Verify that the API key credential is correctly configured.
  • Invalid Phone Numbers: Ensure that both sender and recipient numbers are in the correct format accepted by the Sendon API.
  • Network Issues: Connectivity problems may cause HTTP request failures. Check network access and firewall settings.

Links and References

Discussion