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

Hoog complexiteit🔗 Webhook26 knooppunten🏷️ Miscellaneous👁 5,507 weergavendoor mohamed ali

Overzicht

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

Gebruikte knooppunten

AirtableCrypto

Workflow-voorvertoning

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

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een webhook-trigger.

  2. 2

    Verwerking

    Gegevens stromen door 26 knooppunten, connecting airtable, crypto, function.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Knooppuntdetails (26)

AI

Airtable

airtable

#1
CR

Crypto

crypto

#2

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand build-a-self-hosted-url-shortener-with-a-dashboard en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

{ "name": "Build a self-hosted URL shortener with a dashboard", "nodes": [...], ...}

Integraties

airtablecryptofunctionifsetwebhook

Haal deze workflow op

Download en importeer met één klik

JSON downloadenBekijken op n8n.io
Knooppunten26
Complexiteithigh
Triggerwebhook
Weergaven5,507
CategorieMiscellaneous

Gemaakt door

mohamed ali

mohamed ali

@dali

Tags

airtablecryptofunctionifsetwebhook

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →

Related Miscellaneous Workflows