dub.co URL shortener
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 8 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.dub.co over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- API Auth (Edit Fields (Set)): sets or maps fields
- CREATE (HTTP Request): calls api.dub.co (POST)
- If: checks a condition and branches into true / false
- Shortened URL (Edit Fields (Set)): sets or maps fields
- RETRIEVE (HTTP Request): calls an HTTP API
- Done (Edit Fields (Set)): sets or maps fields
- UPDATE (HTTP Request): calls an HTTP API (PUT)
HTTP calls to: api.dub.co
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if
From the author
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 been already used. Estimated Time: Around 15…