Overview
The Kutt node for n8n allows users to interact with the Kutt URL shortening service. Specifically, when using the Link resource and the Get One operation, this node retrieves detailed statistics about a single shortened link by its ID. This is useful for tracking usage, analytics, or managing individual short links.
Practical Example:
A marketing team could use this node in an n8n workflow to automatically fetch and log statistics for a specific campaign's short link after sending out a newsletter.
Properties
| Name | Type | Meaning |
|---|---|---|
| ID | String | Link ID. The unique identifier of the short link whose statistics you want to retrieve. Required for the "Get One" operation on the "Link" resource. |
Output
The output is a JSON object containing the statistics and details of the requested short link. While the exact structure depends on the Kutt API, typical fields may include:
{
"id": "string", // Unique identifier of the link
"target": "string", // Original target URL
"shortUrl": "string", // Shortened URL
"visit_count": number, // Number of times the link was visited
"created_at": "string", // Creation timestamp
"updated_at": "string", // Last update timestamp
// ...other stats and metadata as provided by Kutt
}
No binary data is returned; all output is in JSON format.
Dependencies
- External Service: Requires access to the Kutt API.
- API Key: You must provide valid Kutt API credentials via the
kuttCredentialsApicredential in n8n. - n8n Configuration: Ensure the Kutt node is installed and configured in your n8n instance.
Troubleshooting
- Missing or Invalid ID:
- Error Message: "Request failed with status code 404"
Resolution: Ensure the "ID" property matches an existing short link in your Kutt account.
- Error Message: "Request failed with status code 404"
- Authentication Errors:
- Error Message: "401 Unauthorized"
Resolution: Check that your Kutt API key is correct and has sufficient permissions.
- Error Message: "401 Unauthorized"
- Network Issues:
- Error Message: "ENOTFOUND" or "ECONNREFUSED"
Resolution: Verify network connectivity and that the Kutt API endpoint is reachable from your n8n server.
- Error Message: "ENOTFOUND" or "ECONNREFUSED"