Create and manage short URLs with Telegram bot, MongoDB and Nginx redirects
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow allows you to create and manage custom short URLs directly via Telegram, with all data stored in Mongo...
Template notes
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
This workflow allows you to create and manage custom short URLs directly via Telegram, with all data stored in MongoDB, and redirects handled efficiently via Nginx.
How it works This flow provides a seamless URL shortening experience:
- Create via Telegram: Send a long URL to your bot. It will ask if you want a custom short code.
- Store in MongoDB: All long URLs and their corresponding short codes are securely stored in your MongoDB instance.
- Fast Redirects: When a user accesses a short URL, Nginx forwards the request to a dedicated n8n webhook, which then quickly redirects them to the original long URL.
Set up steps This setup is straightforward, especially if you already have a running n8n instance and a VPS.
- Difficulty: Medium (Basic n8n/VPS knowledge required)