Build a self-hosted URL shortener with a dashboard — n8n ワークフロー
概要
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
使用ノード
AirtableCrypto
ワークフロープレビュー
⚡
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
仕組み
- 1
トリガー
このワークフローは webhook トリガーで開始します。
- 2
処理
データは 26 個のノードを流れます, connecting airtable, crypto, function。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (26)
AI#1
Airtable
airtable
CR#2
Crypto
crypto
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
build-a-self-hosted-url-shortener-with-a-dashboardファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
{ "name": "Build a self-hosted URL shortener with a dashboard", "nodes": [...], ...}
インテグレーション
airtablecryptofunctionifsetwebhook
作成者
mohamed ali
@dali
タグ
airtablecryptofunctionifsetwebhook