Templates / dub.co URL shortener

dub.co URL shortener

Ready for 3.0

by Murtaja Ziad · 994 views · created 2024-01-27 · Miscellaneous

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

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”.

  1. API Auth (Edit Fields (Set)): sets or maps fields
  2. CREATE (HTTP Request): calls api.dub.co (POST)
  3. If: checks a condition and branches into true / false
  4. Shortened URL (Edit Fields (Set)): sets or maps fields
  5. RETRIEVE (HTTP Request): calls an HTTP API
  6. Done (Edit Fields (Set)): sets or maps fields
  7. 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)

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…

Excerpt from Murtaja Ziad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.