SMSNiaga icon

SMSNiaga

Consume SMSNiaga API for SMS messaging

Actions9

Group → Update

AI-generated

Overview

This node integrates with the SMSNiaga API to manage subscriber groups among other SMS-related resources. Specifically, the Group - Update operation allows users to update the details of an existing subscriber group by specifying its unique identifier and a new group name. This is useful for maintaining accurate and up-to-date group information in SMS marketing or communication campaigns.

Practical examples include:

  • Renaming a subscriber group to reflect a new campaign or segment.
  • Correcting typos or updating naming conventions for better organization.
  • Synchronizing group names with external CRM or marketing tools.

Properties

Name Meaning
Select Group Name or ID Choose the subscriber group to update from a list loaded dynamically or specify its UUID via expression. This identifies which group will be updated.
Group Name The new name to assign to the selected subscriber group. This is a required string input.

Output

The node outputs JSON data representing the updated subscriber group as returned by the SMSNiaga API. The structure typically includes fields such as the group's unique identifier, updated name, creation date, and possibly other metadata provided by the API.

No binary data output is produced by this operation.

Example output JSON (simplified):

{
  "uuid": "group-unique-id",
  "name": "Updated Group Name",
  "created_at": "2024-01-01T12:00:00Z"
}

Dependencies

  • Requires an active SMSNiaga API key credential configured in n8n.
  • The node makes HTTP requests to https://manage.smsniaga.com/api/groups endpoints.
  • Proper network connectivity to SMSNiaga API servers is necessary.

Troubleshooting

  • Authentication failed: If the API token is invalid or expired, the node will throw an authentication error. Ensure your API credentials are correct and have not expired.
  • Validation errors: Occur if the group UUID is invalid or the new group name does not meet API requirements. Double-check inputs.
  • Not found: If the specified group UUID does not exist, the API returns a 404 error. Verify the group selection.
  • Rate limit exceeded: Too many requests in a short time may cause throttling. Implement delays or reduce request frequency.
  • Server errors: Temporary issues on SMSNiaga's side may result in 5xx errors. Retry after some time.

If the node is set to continue on fail, errors will be included in the output JSON with details.

Links and References

Discussion