Shorten URLs and Track Performance with Yourls
detail.loadingPreview
This workflow automates the process of shortening long URLs using Yourls and instantly retrieves comprehensive statistics for the newly generated short link. It's ideal for anyone needing to create trackable, branded short links and monitor their performance effortlessly.
About This Workflow
Effortlessly manage your online links with this n8n workflow that integrates seamlessly with your self-hosted Yourls instance. This automation first takes a long URL, shortens it into a concise, shareable link, and then immediately fetches its performance statistics. Gain immediate insights into click counts, referrers, and more. Perfect for marketers, content creators, or anyone needing to streamline link sharing and track engagement without manual intervention. Enhance your link management strategy and make data-driven decisions based on real-time link performance.
Key Features
- Automated URL Shortening: Instantly convert long, unwieldy URLs into clean, custom short links using your Yourls instance.
- Real-time Link Analytics: Automatically retrieve detailed statistics (e.g., clicks, referrers) for your newly shortened URLs.
- Seamless Yourls Integration: Connects directly to your self-hosted Yourls server for full control over your short links.
- Manual Trigger for On-Demand Use: Execute the workflow whenever you need to shorten a link and get its stats.
How To Use
- Manual Trigger Node: This node starts the workflow when you click "Execute Workflow" in n8n. No configuration is needed here.
- Yourls Node (Shorten URL):
- Credentials: Select or create your Yourls API credential. This requires your Yourls base URL and API token.
- URL: Enter the long URL you wish to shorten.
- Additional Fields (Optional): You can add a
titlefor the short URL for better organization within Yourls.
- Yourls1 Node (Get Stats):
- Credentials: Use the same Yourls API credential as the previous node.
- Short URL: This field is pre-configured to
={{$node["Yourls"].json["shorturl"]}}. This expression dynamically pulls the short URL generated by the previous "Yourls" node. - Operation: Ensure this is set to
statsto retrieve the performance data.
Apps Used
Workflow JSON
{
"id": "5b33f182-840e-4dfa-b267-b7faa9febb4c",
"name": "Shorten URLs and Track Performance with Yourls",
"nodes": 16,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 5b33f182-840e...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
WhatsApp AI Assistant: LLaMA 4 & Google Search for Real-Time Insights
Instantly deploy a smart AI assistant on WhatsApp, powered by Groq's lightning-fast LLaMA 4 model. This workflow enables real-time conversations, remembers context, and provides up-to-date answers by integrating live Google Search results.
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.
Automated AI Motion Illustration Workflow with Midjourney and Kling
Unleash your creativity with this n8n workflow that automates the generation of stunning motion illustrations. It leverages the power of Midjourney for static image creation and Kling AI to transform them into dynamic videos, all managed through the PiAPI. Perfect for content creators, marketers, and social media professionals looking to produce engaging visuals at scale.