Create & Manage Short URLs via Telegram, MongoDB & Nginx
Automate custom short URL creation through Telegram bot, with MongoDB storage and Nginx-powered redirects for efficient link management.
This n8n workflow enables seamless creation and management of custom short URLs directly via a Telegram bot. Users send a long URL to the bot, which optionally allows a custom short code, stores the mapping in MongoDB, and handles redirects via an Nginx proxy to an n8n webhook for instant redirection to the original URL.
Key benefits include self-hosted reliability, no third-party dependencies, fast performance from Nginx, and secure data storage in MongoDB. It's ideal for personal branding, marketing campaigns, or building a custom link shortener service without SaaS costs.
Use cases: Share shortened links in social media, track usage via MongoDB logs, manage affiliate links, or integrate into larger automation pipelines. Setup requires basic VPS knowledge, taking 15-30 minutes, and supports community nodes for self-hosted n8n.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related File & Document Management workflows
- Automate Invoice Data Extraction to Airtable with OCR and AI$14.99
- Save new Gmail attachments to Google Drive$3.99
- Automate PDF Invoice Creation from Google Sheets Using PDF.co$4.99
- Create Custom PDF Documents from Templates with Gemini & Google Drive$24.99
- Automatically Save and Organize Outlook Email Attachments in OneDrive Folders$9.99
- Automate Invoice Data Extraction from Google Drive to Google Sheets with Mistral OCR$14.99
More from Bruno Lindberg
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.