What This Workflow Does
This automation solves the tedious manual process of shortening URLs and maintaining tracking records. Marketing teams, content creators, and social media managers often waste hours copying links between their YOURLS dashboard and spreadsheets. The workflow automatically:
- Detects new URLs added to a designated Google Sheets column
- Shortens them through your YOURLS instance
- Logs both original and shortened URLs with timestamps
- Maintains a clean, searchable database of all shortened links
How It Works
1. New URL Detection
The workflow monitors a specific Google Sheet for new URL entries. You can designate any column as the input source, making it adaptable to existing spreadsheets.
2. YOURLS API Connection
Each new URL gets passed to your YOURLS installation via its API. The system can use custom shortcodes if specified or generate random ones automatically.
3. Data Logging
The shortened URL, original URL, creation timestamp, and any custom metadata get written back to your Google Sheet in a structured format. This creates an auditable history of all shortened links.
Pro tip: Add a "Campaign" column to your sheet to categorize links by marketing initiative. The workflow can include this metadata in your tracking records.
Who This Is For
This automation delivers the most value for:
- Marketing teams running multiple campaigns with trackable links
- Content creators who share links across platforms and need click data
- Agencies managing client links with custom domains
- Developers who want to automate their personal link shortening
What You'll Need
- A YOURLS installation (self-hosted or managed)
- Google Sheets edit access
- A Make.com account (free tier works)
- API credentials for both systems
Quick Setup Guide
- Duplicate the example Google Sheet
- Connect your Make.com scenario to Google Sheets
- Configure the YOURLS API module with your endpoint and credentials
- Map the spreadsheet columns for URL input and output
- Test with sample URLs to verify the flow
Key Benefits
Save 2-3 hours weekly by eliminating manual URL shortening and spreadsheet updates. The automation handles everything instantly.
Reduce human error with 100% accurate logging. No more broken links from typos or incorrect spreadsheet entries.
Centralize tracking across all campaigns in one searchable database. Filter by date, campaign, or platform to analyze performance.
Future-proof your links by hosting your own URL shortener. Unlike third-party services, your links won't break if a provider shuts down.