Generate and Manage Short Links with GPT-4.1 and Data Storage — Workflow n8n
Aperçu
This AI Agent helps you create short links from your original URLs.
Each generated short link is automatically stored in a database table for easy management and tracking.
How It Works
Provide a long URL to the Agent.
The Agent saves your original link in the database.
It generates a short link in the following format:
Short link: https://{webhook_url}/webhook/shortLink?q={shortLinkId}
When users open the short link, they are automatically redirected to your original link.
How to Use
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 14 nœuds, connecting agent, chattrigger, code.
- 3
Sortie
Le workflow termine son automatisation et livre le résultat à la destination configurée.
Détails des nœuds (14)
Code
code
HTML
html
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Simple Memory
n8n-nodes-langchain.memoryBufferWindow
Call n8n Workflow Tool
n8n-nodes-langchain.toolWorkflow
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
generate-and-manage-short-links-with-gpt-41-and-data-storageté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
Nghia Nguyen
@nghiaaidev
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 →