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

Hoch Komplexität🔗 Webhook26 Knoten🏷️ Miscellaneous👁 5,507 Aufrufevon mohamed ali

Übersicht

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

Verwendete Knoten

AirtableCrypto

Workflow-Vorschau

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

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem webhook-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 26 Knoten, connecting airtable, crypto, function.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

Knotendetails (26)

AI

Airtable

airtable

#1
CR

Crypto

crypto

#2

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei build-a-self-hosted-url-shortener-with-a-dashboard und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.

Oder direkt in n8n → Aus JSON importieren einfügen:

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

Integrationen

airtablecryptofunctionifsetwebhook

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

JSON herunterladenAuf n8n.io ansehen
Knoten26
Komplexitäthigh
Auslöserwebhook
Aufrufe5,507
KategorieMiscellaneous

Erstellt von

mohamed ali

mohamed ali

@dali

Tags

airtablecryptofunctionifsetwebhook

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →

Related Miscellaneous Workflows