Short.io icon

Short.io

Short.io Node for shortening and managing links

Overview

This node integrates with the Short.io service to manage short links. Specifically, the "Delete Link" operation allows users to delete an existing short link from their Short.io account by specifying the link identifier. This is useful for cleaning up outdated or incorrect short links, managing link lifecycle, or revoking access to certain URLs.

Practical examples:

  • Removing a promotional short link that is no longer valid.
  • Deleting test short links created during development.
  • Managing and maintaining a clean set of active short links in marketing campaigns.

Properties

Name Meaning
Existing Short Link Identifier The identifier of the short link to delete. Can be specified either as:
- Path: The part after the URL in the short link (e.g., 6fzQYy).
- ID: The unique ID string of the short link (e.g., lnk_2d8H_1mhLCB64zynbor35uZBcd).

Output

The output JSON contains the response from the Short.io API after attempting to delete the specified short link. It typically includes confirmation of deletion or relevant status information returned by the API.

Example structure:

{
  "shortIoResponse": {
    // API response fields indicating success or failure of deletion
  }
}

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Short.io API.
  • The node makes HTTP requests to the Short.io API endpoint at https://api.short.io/api.
  • Proper configuration of the API key credential within n8n is necessary.

Troubleshooting

  • Invalid Identifier: If the provided short link identifier does not exist or is malformed, the API may return an error. Ensure the identifier is correct and corresponds to an existing short link.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is correctly configured and has sufficient permissions.
  • Network Issues: Connectivity problems can prevent successful API calls. Check network settings and ensure the Short.io API is reachable.
  • Permission Denied: If the API key lacks permission to delete links, the operation will fail. Confirm the API key's scope includes link management.

Common error messages usually come directly from the Short.io API and should be interpreted accordingly. Handling errors gracefully by enabling "Continue On Fail" in the node settings can help maintain workflow execution despite individual item failures.

Links and References

Discussion