Build a self-hosted URL shortener with a dashboard — Workflow n8n

Élevé complexité🔗 Webhook26 nœuds🏷️ Miscellaneous👁 5,507 vuespar mohamed ali

Aperçu

This workflow creates an automatic self-hosted URL shortener. It consists of three sub-workflows:

Short URL creation for extracting the provided long URL, generating an ID, and saving the record in the database. It returns a short link as a result. Redirection for extracting the ID value, validating the existence of its correspondent record in the database, and returning a redirection page after updating the visits (click) count. Dashboard for calculating simple statistics about the saved recor

Nœuds utilisés

AirtableCrypto

Aperçu du workflow

W
Webhook
E
Extract URL
C
Check URL
Crypto
Airtable
S
Set ID,shortUrl,longUrl
Find by ID
A
Already exists ?
S
Set Output
S
Set Error output
S
Set Output1
S
Set input
W
Webhook1
S
Set Error output1
C
Check Id
Find by ID1
A
Already exists ?1
S
Set Output2
E
Extract Id
4
404 Error
Update clicks
P
Prepare clicks count
W
Webhook2
Find by ID2
E
Extract stats
S
Set dashboard
26 nodes23 edges

Comment ça fonctionne

  1. 1

    Déclencheur

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

  2. 2

    Traitement

    Les données transitent par 26 nœuds, connecting airtable, crypto, function.

  3. 3

    Sortie

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

Détails des nœuds (26)

AI

Airtable

airtable

#1
CR

Crypto

crypto

#2

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 build-a-self-hosted-url-shortener-with-a-dashboard 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": "Build a self-hosted URL shortener with a dashboard", "nodes": [...], ...}

Intégrations

airtablecryptofunctionifsetwebhook

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds26
Complexitéhigh
Déclencheurwebhook
Vues5,507
CatégorieMiscellaneous

Créé par

mohamed ali

mohamed ali

@dali

Tags

airtablecryptofunctionifsetwebhook

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