dub.co URL Shortener — n8n Workflow

Medium complexity Trigger8 nodes🏷️ Miscellaneous👁 821 viewsby Murtaja Ziad

Overview

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 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. There some extras that you're able to configure too. You will be able to do that by clicking

Nodes used

HTTP Request

Workflow Preview

Loading workflow preview...

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 8 nodes, connecting httprequest, if, manualtrigger.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (8)

HT

HTTP Request

httpRequest

#1

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded dubco-url-shortener file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "dub.co URL Shortener", "nodes": [...], ...}

Integrations

httprequestifmanualtriggerset

Get This Workflow

Download and import in one click

View on n8n.io
Nodes8
Complexitymedium
Triggertrigger
Views821

Created by

Murtaja Ziad

Murtaja Ziad

@murtajaziad

Tags

httprequestifmanualtriggerset

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Miscellaneous Workflows