๐Ÿ”ง Generate and manage short links with GPT-4.1 and data storage

โšก 725 views ยท ๐Ÿ”ง Miscellaneous

Description

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

  1. Provide a long URL to the Agent.
  2. The Agent saves your original link in the database.
  3. 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


Requirements

Column NameDescription
originalLinkStores the full original URL.
shortLinkIdStores the unique short link ID.

Customization Options

๐Ÿ”— Nodes Used

Webhook, Execute Workflow Trigger, AI Agent, OpenAI Chat Model, Simple Memory, Call n8n Workflow Tool

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup