Get Started
Templates / Create A Short Url And Get The Statistics Of The Url
FREE7 nodes Quick WinVerified · Daniel Grey

Create A Short Url And Get The Statistics Of The Url

FREECreate A Short Url And GetThe Statistics Of The Url7 nodesFree foreverQuick Win

Who is this for?

You ship a newsletter with 12 links per issue from manual run, and this Yourls shortening workflow creates and tracks each short URL. Each link needs shortening, pasting into the draft, and click checks the next morning.

What problem does this solve?

You open Yourls, shorten the link, then paste it into the draft. When you run it manually, the flow creates the short URL, logs it to Sheets, and pulls stats on demand. You just dispatch the draft with short links in place instead of creating each one in Yourls.

What this workflow does

1. Yourls (Yourls)
2. Yourls1 (Yourls)
3. Google Sheets - Audit Log (Google Sheets)
4. Slack - Error Alerts (Slack)
- Includes Daniel Grey pack: Slack - Error Alerts, Google Sheets - Audit Log, Wait - Rate Limit, Set - Audit Trail (all wired).

How it works

You run it manually from the n8n editor → Yourls, Yourls1, Set - Audit Trail, ending in Wait - Rate Limit.

Setup

1. Open danielgrey.shop/app/templates/dg-0036 → Copy JSON → n8n → Import from Clipboard (or Push to n8n)
2. Connect credentials: Google Sheets, Slack, Yourls
3. Run once manually to verify each branch — it imports clean and goes green first try — then a 10-minute review and activate.

Requirements

- n8n 2.37 or later
- Credentials for Google Sheets, Slack, Yourls
- Free — import and run.

Customising

- Point the Yourls steps at your own domain and the short links follow.
- Adjust Yourls1 stats pull and Set - Audit Trail logging for your newsletter issues.

v2.0 (Sep 2026, n8n 2.x): Legacy $node[] expressions modernized to $() syntax (n8n 2.x). Tested on n8n 2.37 (2.x).

Workflow nodes (7)

On clicking 'execute'YourlsYourls1Set - Audit TrailGoogle Sheets - Audit LogSlack - Error AlertsWait - Rate Limit

Tags

freehubflowenhanced

Changelog

1.0 · Initial release 2026-08-31
Tested, sanitized, 4-node enhancement pack (Slack/Sheets/Wait/Set) by Daniel Grey

2.0 · Expression modernization (n8n 2.x) 2026-09-09
Modernized legacy $node[]/$item() expressions to $() syntax.

Version history

Free - every version free, no account walls.

v2 2026-09-09
Expression modernization (n8n 2.x) - Legacy expressions modernized to $() syntax.
current
v1 2026-08-31
Initial release - Original expressions (legacy $node[] syntax).
Download v1