Create and Manage Short URLs with Telegram Bot, MongoDB and Nginx Redirects — Workflow n8n
Aperçu
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 cod
Nœuds utilisés
Aperçu du workflow
Comment ça fonctionne
- 1
Déclencheur
Le workflow démarre avec un déclencheur déclencheur.
- 2
Traitement
Les données transitent par 22 nœuds, connecting code, if, mongodb.
- 3
Sortie
Le workflow termine son automatisation et livre le résultat à la destination configurée.
Détails des nœuds (22)
Telegram
telegram
MongoDB
mongoDb
Code
code
Comment importer ce workflow
- 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
- 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
- 3Sélectionnez le fichier
create-and-manage-short-urls-with-telegram-bot-mongodb-and-nginx-redirectstéléchargé et cliquez sur Importer. - 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
- 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.
Ou collez directement dans n8n → Importer depuis JSON :
Intégrations
Créé par
Rudi Afandi
@fanfanra
Tags
Nouveau sur n8n ?
n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.
Obtenir n8n gratuitement →