**A n8n workflow designed to shorten URLs using Dub.co API.**
**How it works:**
It shortens a URL using Dub.co API, with the ability to use custom domains and projects. It updates the current shortened URL if the slug has already been used.
**Estimated time:** Around 15 minutes.
**Requirements:** A Dub.co account.
**Configuration:**
Configure the API Auth node to add your Dub.co API key, project slug, and the long URL. Here are some extras that you're able to configure too. You will be able to do that by clicking the API Auth node and filling in the fields.
**Detailed Instructions:** Sticky notes within the workflow provide extensive setup information and guidance.
Keywords: n8n workflow, dub.co, dub.sh, URL shortener, short URLs, short links
Platform
n8n
Category
Marketing
Price
Free
Creator
Murtaja Ziad
if
set
stickyNote
httpRequest
manualTrigger
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.