n8n APIを使用してデプロイ後に自動のにタグ付けワークフローを開始
初級
これはEngineering分野の自動化ワークフローで、5個のノードを含みます。主にIf, N8n, ManualTriggerなどのノードを使用。 n8n APIを使用してデプロイ後にタグ付けワークフローを自動起動
前提条件
- •特別な前提条件なし、インポートしてすぐに使用可能
使用ノード (5)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"nodes": [
{
"id": "142277c6-73a5-4b99-9e94-72655bbe0ea8",
"name": "n8n",
"type": "n8n-nodes-base.n8n",
"position": [
-420,
-120
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "4v19HuBPwx43oswi",
"name": "n8n account"
}
},
"typeVersion": 1
},
{
"id": "6adf03cb-4194-4616-99d0-6495a660c283",
"name": "TAG? 自動起動",
"type": "n8n-nodes-base.if",
"position": [
-180,
-120
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "03241d00-9ec1-4215-8036-2d219a7874cb",
"operator": {
"type": "array",
"operation": "contains",
"rightType": "any"
},
"leftValue": "={{ $json.tags.map((obj) => obj.name) }}",
"rightValue": "Auto start"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "8bd4868a-6dec-48b9-8593-36badf42d7ff",
"name": "n8n1",
"type": "n8n-nodes-base.n8n",
"position": [
100,
-120
],
"parameters": {
"operation": "activate",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "4v19HuBPwx43oswi",
"name": "n8n account"
}
},
"typeVersion": 1
},
{
"id": "c2b7a716-ab5f-4e49-b340-eab6721c52e4",
"name": "'Test workflow'クリック時",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-640,
-120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0090a343-73fd-4c53-b80b-27dd2789a849",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-680,
-580
],
"parameters": {
"color": 5,
"width": 620,
"height": 420,
"content": "# Auto Starter\n\nOn importing workflows these will not be auto started, even if the old version was running. To fix this we created this workflow that can be run after n8n starts. It fits in our auto deploy pipeline and modified n8n container that will import workflows, start n8n and start the tagged workflows.\n\n- Start this workflow after n8n starts.\n- It will get all workflows in the running n8n instance.\n- If the files have a tag **'Auto start'** the workflow will be started.\n\n\n**Configuration**\n- You need a a **n8n api key** configured."
},
"typeVersion": 1
}
],
"connections": {
"142277c6-73a5-4b99-9e94-72655bbe0ea8": {
"main": [
[
{
"node": "6adf03cb-4194-4616-99d0-6495a660c283",
"type": "main",
"index": 0
}
]
]
},
"6adf03cb-4194-4616-99d0-6495a660c283": {
"main": [
[
{
"node": "8bd4868a-6dec-48b9-8593-36badf42d7ff",
"type": "main",
"index": 0
}
]
]
},
"c2b7a716-ab5f-4e49-b340-eab6721c52e4": {
"main": [
[
{
"node": "142277c6-73a5-4b99-9e94-72655bbe0ea8",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
初級 - エンジニアリング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Bright Data MCPを基にしたAI Telegramデータ抽出ロボット
Bright Data MCP の統合を备えた AI Telegram データ抽出ボット
If
N8n
Wait
+
If
N8n
Wait
21 ノードCyril Nicko Gaspar
エンジニアリング
LLM トレーサー
完全なLLM使用追跡・コスト監視ツール、ノード単位での分析付き
If
N8n
Set
+
If
N8n
Set
18 ノードAmir Safavi-Naini
エンジニアリング
AI スマートアシスタント: Supabase ストレージと Google Drive ファイルとの対話
AIワンチャットボット:SupabaseストレージとGoogle Driveのファイルと対話
If
Set
Wait
+
If
Set
Wait
62 ノードMark Shcherbakov
エンジニアリング
Supabase ストレージ内のファイルと対話する AI エージェント
Supabaseストレージ内のファイルと対話するAIエージェント
If
Merge
Switch
+
If
Merge
Switch
33 ノードMark Shcherbakov
エンジニアリング
APIアーキテクチャ抽出ツール
APIアーキテクチャ抽出器
If
Set
Code
+
If
Set
Code
88 ノードPolina Medvedieva
エンジニアリング
Bright Dataによる構造化された大量データ抽出のウェブスパイダー
Bright DataとWebhookを使った非同期バッチWebスクレイピング
If
Set
Wait
+
If
Set
Wait
16 ノードRanjan Dailata
エンジニアリング
ワークフロー情報
難易度
初級
ノード数5
カテゴリー1
ノードタイプ4
作成者
Klaasjan te Voortwis
@voortwisHosting to Backend to Frontend engineer, creating software that works for People, listening to the workforce and management.
外部リンク
n8n.ioで表示 →
このワークフローを共有