AvantGuard - PXL icon

AvantGuard - PXL

AvantGuard - PXL

Overview

This node allows users to create short links via an API service. It is useful for scenarios where you want to generate shortened URLs that redirect to longer destination URLs, often for easier sharing, tracking, or branding purposes. For example, marketing teams can use it to create branded short links for campaigns, or developers can automate link shortening in workflows.

Properties

Name Meaning
Additional Body Fields Optional fields to customize the short link creation request. These include:
- Route The route path of the short link (e.g., "promo2024").
- Destination The full URL where the short link will redirect.
- Title Title text shown in link previews.
- Description Description text shown in link previews.
- Image URL of an image shown in link previews.
- Favicon URL of the favicon shown in browsers during redirects.
- Consent Boolean flag to request informed consent from visitors before storing cookies.
- Clicks Integer representing the click count on the short link.
- Created At Date/time string indicating when the link was created (UTC+0).
- Updated At Date/time string indicating when the link was last updated (UTC+0), including clicks updates.

Output

The node outputs JSON data representing the created short link object as returned by the API. This typically includes details such as the short link URL, its metadata (title, description, images), and statistics like click counts. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the short link service.
  • The node uses a base URL https://api.pxl.to/api for making requests.
  • Proper configuration of this API key credential within n8n is necessary.

Troubleshooting

  • Common issues:

    • Missing or invalid API key credential will cause authentication errors.
    • Providing invalid URLs or malformed input fields may result in API validation errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication failures usually indicate missing or incorrect API credentials.
    • Validation errors from the API will specify which input field is invalid or missing.
    • Timeout or network errors suggest checking internet connection or API availability.

Links and References

Discussion