This automation template solves a common marketer’s challenge: quickly creating accurate UTM-tagged links without manual input. Instead of copying URLs and formatting parameters, users simply mention the bot in Slack with a request. An AI agent powered by GPT-4o-mini extracts context, standardizes UTM parameters, generates a Bitly short link, and logs all data to Google Sheets.
## Who it´s for
- Marketers creating UTM links for ad campaigns
- Content managers publishing content on social media
- Teams using Slack for internal communication
- Analysts tracking traffic sources via UTM tags
- SMM specialists managing multiple platforms (Instagram, Facebook, etc.)
## What the automation does
- Triggered by mentioning the bot in Slack (`@bitlybot`)
- AI agent (GPT-4o-mini) extracts target URL and context (source, campaign, etc.)
- Normalizes UTM parameters: converts to lowercase, standard values (e.g., "LI" → `linkedin`)
- Generates a short link via Bitly API
- Logs result (link, UTM tags, user, timestamp) to Google Sheets
- Sends response back to the same Slack thread or channel
- On failure, stops execution and sends a clear error message
## What´s included
- Ready-to-use n8n workflow with LangChain and OpenAI
- Trigger logic for `slack_app_mention`
- Integrations with Slack, Bitly, Google Sheets, and OpenAI
- Basic text instructions for setup and adaptation
## Requirements for setup
- n8n account (cloud or self-hosted)
- Bitly API key
- Google Sheets access (Google Cloud project with enabled Sheets API)
- OpenAI API key (for GPT-4o-mini)
- Configured Slack bot with permissions to read messages and post replies
## Benefits and outcomes
- Saves time on manual UTM link creation
- Eliminates typos and inconsistent parameter formatting
- Centralized storage of all links in Google Sheets
- Enables quick analysis of traffic sources
- Uses Slack — the existing team communication hub
- Supports informal inputs (e.g., "IG" → `instagram`)
## 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 Telegram: @gleb923.
Bitly link generation
UTM parameters via Slack
AI-generated short links
automate UTM tagging
Slack bot for marketers
shorten links with UTM
GPT-4o-mini link processing
log to Google Sheets
marketing automation in Slack
standardize UTM parameters
n8n workflow links
auto-create UTM tags
Bitly Slack integration
AI URL parsing
campaign tracking with UTM
No feedback yet