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

Wysoka złożoność🔗 Webhook26 węzłów🏷️ Miscellaneous👁 5,507 wyświetleńautor: mohamed ali

Przegląd

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

Użyte węzły

AirtableCrypto

Podgląd 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

Jak to działa

  1. 1

    Wyzwalacz

    Workflow uruchamia się wyzwalaczem webhook.

  2. 2

    Przetwarzanie

    Dane przepływają przez 26 węzłów, connecting airtable, crypto, function.

  3. 3

    Wyjście

    Workflow kończy automatyzację i dostarcza wynik do skonfigurowanego miejsca docelowego.

Szczegóły węzłów (26)

AI

Airtable

airtable

#1
CR

Crypto

crypto

#2

Jak zaimportować ten workflow

  1. 1Kliknij przycisk Pobierz JSON po prawej stronie, aby zapisać plik workflow.
  2. 2Otwórz swoją instancję n8n. Przejdź do Workflow → Nowy → Importuj z pliku.
  3. 3Wybierz pobrany plik build-a-self-hosted-url-shortener-with-a-dashboard i kliknij Importuj.
  4. 4Skonfiguruj dane uwierzytelniające dla każdego węzła usługi (klucze API, OAuth itp.).
  5. 5Kliknij Testuj workflow, aby sprawdzić, czy wszystko działa, a następnie aktywuj go.

Lub wklej bezpośrednio w n8n → Importuj z JSON:

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

Integracje

airtablecryptofunctionifsetwebhook

Pobierz ten workflow

Pobierz i zaimportuj jednym kliknięciem

Pobierz JSONZobacz na n8n.io
Węzły26
Złożonośćhigh
Wyzwalaczwebhook
Wyświetlenia5,507
KategoriaMiscellaneous

Autor

mohamed ali

mohamed ali

@dali

Tagi

airtablecryptofunctionifsetwebhook

Nowy w n8n?

n8n to darmowe narzędzie open-source do automatyzacji workflow. Hostuj samodzielnie lub użyj wersji chmurowej.

Pobierz n8n za darmo →

Related Miscellaneous Workflows