SMSAdvert icon

SMSAdvert

SMS Advert API

Overview

This node integrates with the SMS Advert API to send SMS messages and retrieve related information. Specifically, for the Send a Message operation under the SMS resource, it allows users to send text messages directly to specified phone numbers using either the SMS Advert network or their own number as the sender.

Common scenarios where this node is beneficial include:

  • Sending automated notifications or alerts via SMS.
  • Marketing campaigns that require bulk or individual SMS dispatch.
  • Confirming transactions or user actions through SMS verification codes.
  • Integrating SMS messaging into workflows for customer engagement.

For example, a business could use this node to automatically send appointment reminders to customers or notify them of order status updates.

Properties

Name Meaning
Mobile Number The recipient's phone number in international format (e.g., +1234567890).
Message The content of the SMS message to be sent.
Sender Type Choose the sender identity:
- SmsAdvert Network (uses SMS Advert's sending service)
- OwnNumber (uses your own registered number)
Confirm Status Webhook Optional URL to receive delivery confirmation callbacks from the SMS Advert service.

Output

The node outputs an array of JSON objects representing the response from the SMS Advert API after attempting to send the SMS message. This typically includes details such as message ID, status, and any error messages if applicable.

No binary data output is produced by this operation.

Example output structure (simplified):

[
  {
    "messageId": "12345",
    "status": "queued",
    "details": "Message accepted for delivery"
  }
]

Dependencies

  • Requires an active SMS Advert API key credential configured in n8n for authentication.
  • Internet access to https://www.smsadvert.ro/api endpoints.
  • Optional webhook endpoint URL if delivery status confirmations are desired.

Troubleshooting

  • Invalid Phone Number Format: Ensure the mobile number is in international format starting with '+' followed by country code and number.
  • Authentication Errors: Verify that the API key credential is correctly set up and has necessary permissions.
  • Webhook Failures: If using the confirm status webhook, ensure the URL is publicly accessible and can handle incoming POST requests.
  • API Rate Limits: Be aware of any rate limits imposed by SMS Advert; excessive requests may result in throttling or errors.
  • Error Responses: The node returns API error messages in the output JSON; review these for specific issues like insufficient balance or invalid parameters.

Links and References

Discussion