dub.co URL Shortener — Workflow n8n

Moyen complexité Déclencheur8 nœuds🏷️ Miscellaneous👁 821 vuespar Murtaja Ziad

Aperçu

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

Nœuds utilisés

HTTP Request

Aperçu du workflow

Dub.co API Limits:
Dub’s API is capped at 10 requests per second per user.
Dub.co API
Create Link. Based on their API docs
Control Stack
README
Dub.co API Workflow Configuration
| Required | Input Field | Description
|----------|-----------------------|-------------------
W
When clicking "Test Work…
A
API Auth
CREATE
I
IF Slug available
RETRIEVE
UPDATE
S
Shortened URL
D
Done
8 nodes8 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 8 nœuds, connecting httprequest, if, manualtrigger.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (8)

HT

HTTP Request

httpRequest

#1

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier dubco-url-shortener téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

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

Intégrations

httprequestifmanualtriggerset

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds8
Complexitémedium
Déclencheurtrigger
Vues821
CatégorieMiscellaneous

Créé par

Murtaja Ziad

Murtaja Ziad

@murtajaziad

Tags

httprequestifmanualtriggerset

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows