Generate and Manage Short Links with GPT-4.1 and Data Storage
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
Send your link to the Agent.
The Agent will respond with a generated short link.
Requirements
Add your your_webhook_url to the Config Node.
OpenAI account
Create a database table named ShortLink with the following columns:
| Column Name | Description | |----------------|------------------------------| | originalLink | Stores the full original URL. | | shortLinkId | Stores the unique short link ID. |
Customization Options
Add traffic tracking or analytics for each short link.
Customize the redirect page to display your logo, message, or branding.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments