# Create short links with redirect tracking and click analytics via HTTP API to Airtable
This automation workflow generates short URLs via HTTP API, stores them in Airtable, and tracks clicks on each link. Designed for users who need full control over their link management without relying on third-party tools.
## Who it´s for
- Marketers running campaigns with trackable links
- Developers needing a lightweight redirect system
- Website owners tracking link performance
- Teams using Airtable as a backend database for internal tools
## What the automation does
- Accepts long URLs via HTTP request (e.g., `/sh?url=
https://example.com/very-long-path`)
- Generates a unique short ID using SHA256 hashing
- Checks Airtable for existing links; returns the same short link if duplicate is found
- Creates a new record with original URL and initial click counter if new
- Performs 301 redirect to original URL when short link is accessed, incrementing click count
- Provides access to a dashboard showing total links, clicks, and tracked domains
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic based on Webhook and HTTP API
- Integrations with Airtable API, HTTP Webhook, and SHA256 crypto function
- Basic text instructions for setup and adaptation
## Requirements for setup
- n8n account with workflow editor access
- Airtable account with a table for storing links (fields: URL, short ID, click count, domain)
- Configured webhook in n8n to receive incoming requests
- Server or hosting environment where n8n runs (unless using cloud version)
## Benefits and outcomes
- Full ownership of link and click data
- No dependency on external URL shortening services
- Time saved by avoiding custom development
- Easy integration with other tools via Airtable
- Transparent analytics on traffic sources and link popularity
- Reuse of existing short links prevents duplication
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat