Overview
The Lola Short URL node is designed to generate a shortened version of a provided URL, with the option to append custom parameters. It is useful in scenarios where you need to share compact URLs, track links, or add metadata to URLs before shortening them. For example, marketing teams can use this node to create campaign-specific short links with embedded tracking parameters.
Properties
| Name | Meaning |
|---|---|
| URL | The original URL that you want to shorten. This is a required field. |
| Parameters | A collection of key-value pairs to be appended as query parameters to the URL before shortening. Each parameter includes: - Name: Parameter name - Value: String value - Enable encryption Base64: Whether to encode the value in Base64 before appending |
Output
The node outputs the following fields in the json object:
- lola_urlshort: The resulting shortened URL.
- lola_url: The full URL (with any added parameters and encoding) that was sent for shortening.
No binary data is output by this node.
Dependencies
- May require an API key credential named
lolaKeyApiif configured. - Relies on an internal helper function (
getUrlShort) to perform the URL shortening.
Troubleshooting
- Missing Required Fields: If the "URL" property is not provided, the node will fail to execute.
- Invalid URL Format: Providing an invalid URL may result in errors from the URL shortening service.
- Base64 Encoding Issues: If "Enable encryption Base64" is enabled for a parameter, ensure the value is a valid string; otherwise, encoding may fail.
- API Key Issues: If the shortening service requires authentication and no API key is set, the request may be rejected.
Links and References
- n8n Documentation
- What is Base64 Encoding?
- (If available) Documentation for your specific URL shortening service