Automate URL Shortening and Redirection with Telegram, MongoDB, and Nginx
This workflow automates the creation and management of short URLs using Telegram, with data stored in MongoDB and redirection handled by Nginx. Ideal for streamlining URL management.
This workflow provides a comprehensive solution for URL shortening and redirection. Users can send a long URL to a Telegram bot, which prompts for a custom short code. The workflow checks for existing codes in MongoDB, inserts new entries, and sends back the short URL. When a short URL is accessed, Nginx forwards the request to an n8n webhook, which redirects to the original URL. This setup requires a self-hosted n8n instance, a Telegram bot, and a MongoDB database, with Nginx configured for pro
- Platform
- n8n
- Category
- Marketing
- Price
- $14.99
- Creator
- Sophia Chow
- if
- set
- code
- mongoDb
- webhook
- telegram
- stickyNote
- telegramTrigger
- respondToWebhook
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 Marketing workflows
- Automate UGC Video Creation and Instagram Posting with Google Gemini and Veo 3$9.99
- Automate Lead Generation and Cold Email Outreach$14.99
- Automate Professional Video Ad Creation from Product Images$19.99
- Track SEO Keyword Rankings with Bright Data MCP and GPT-4o AI Analysis$14.99
- Automate Google Maps Data Scraping and Email Discovery for Local Business Outreach$14.99
- Automate AI-Driven Social Media Content for Auto Services$19.99
More from Sophia Chow
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.