n8n デバッグ
中級
これはEngineering分野の自動化ワークフローで、9個のノードを含みます。主にIf, Slack, DebugHelper, ManualTrigger, SplitInBatchesなどのノードを使用。 Slackインタラクティブメッセージを使ってデバッグ用のブレークポイントとログを作成
前提条件
- •Slack Bot Token または Webhook URL
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "hLfk0dRqKZU6LPUA",
"meta": {
"instanceId": "87021cc08fe86f3c88c615ac7015b93e398b6bf953b85302471896e86cc798ef",
"templateCredsSetupCompleted": true
},
"name": "n8n_debug",
"tags": [],
"nodes": [
{
"id": "eee9f55d-ab30-43b8-978b-865cc119f36e",
"name": "ワークフロー実行時",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1180,
-380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ab85c1d8-19d2-4b27-8de7-98cf44b2515f",
"name": "ブレークポイント",
"type": "n8n-nodes-base.slack",
"position": [
-260,
-300
],
"webhookId": "b2cedf16-3a75-454a-9730-4cbd4a50d2cd",
"parameters": {
"select": "channel",
"message": "Execution halted.. Continue?",
"options": {
"limitWaitTime": {
"values": {
"resumeUnit": "minutes",
"resumeAmount": 3
}
}
},
"channelId": {
"__rl": true,
"mode": "list",
"value": "C08ALJ7JM1S",
"cachedResultName": "n8n_errors"
},
"operation": "sendAndWait",
"authentication": "oAuth2",
"approvalOptions": {
"values": {
"approveLabel": "Continue?"
}
}
},
"credentials": {
"slackOAuth2Api": {
"id": "NnMpMgQY1wArhZjI",
"name": "WyethSlack"
}
},
"typeVersion": 2.3
},
{
"id": "669dbd64-bb46-4c14-a32d-98addb8e855b",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
0,
-80
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a612f161-5c67-4472-beca-c28656be5253",
"name": "No Operation, do nothing1",
"type": "n8n-nodes-base.noOp",
"position": [
60,
-400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f20ab72a-1514-42e9-9433-128f199a62fe",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-700,
-380
],
"parameters": {
"options": {
"reset": false
}
},
"typeVersion": 3
},
{
"id": "ed5ad713-1e17-4ca3-a52d-da090b12fbc4",
"name": "10 Random Data Items",
"type": "n8n-nodes-base.debugHelper",
"position": [
-920,
-380
],
"parameters": {
"category": "randomData",
"randomDataType": "email"
},
"typeVersion": 1
},
{
"id": "fb5bcccd-4c88-45e4-9b8f-72418ef2f3f6",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1220,
-660
],
"parameters": {
"color": 5,
"width": 1480,
"content": "## Use Slack for Debug Breakpoints!\nIf you are frustrated with n8n's lack of effective tools for debug print and debug breakpoints, look no further than using the Slack node:\n- Log to your own personal channel in slack\n- Slack volume is free (with company slack account)\n- Slack node now supports interactive prompts, which can be used to create conditional breakpoints"
},
"typeVersion": 1
},
{
"id": "9a428e72-6132-4da0-9195-7951e8c7caa1",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
-460
],
"parameters": {
"color": 7,
"width": 340,
"height": 320,
"content": "This will message a user or channel and wait to continue. For teams, I suggest you use a var set per-user and your own personal channel.\n"
},
"typeVersion": 1
},
{
"id": "38e36175-f9d9-47a6-8e94-47cba3abfd28",
"name": "If Loop is 4",
"type": "n8n-nodes-base.if",
"position": [
-520,
-280
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "5db6bf4f-1c31-45de-bab6-63367027889c",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ $runIndex }}",
"rightValue": 4
}
]
}
},
"typeVersion": 2.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "0ce2012e-6988-4b17-903a-c9be291d2358",
"connections": {
"ab85c1d8-19d2-4b27-8de7-98cf44b2515f": {
"main": [
[
{
"node": "669dbd64-bb46-4c14-a32d-98addb8e855b",
"type": "main",
"index": 0
}
]
]
},
"38e36175-f9d9-47a6-8e94-47cba3abfd28": {
"main": [
[
{
"node": "ab85c1d8-19d2-4b27-8de7-98cf44b2515f",
"type": "main",
"index": 0
}
],
[
{
"node": "669dbd64-bb46-4c14-a32d-98addb8e855b",
"type": "main",
"index": 0
}
]
]
},
"f20ab72a-1514-42e9-9433-128f199a62fe": {
"main": [
[
{
"node": "a612f161-5c67-4472-beca-c28656be5253",
"type": "main",
"index": 0
}
],
[
{
"node": "38e36175-f9d9-47a6-8e94-47cba3abfd28",
"type": "main",
"index": 0
}
]
]
},
"ed5ad713-1e17-4ca3-a52d-da090b12fbc4": {
"main": [
[
{
"node": "f20ab72a-1514-42e9-9433-128f199a62fe",
"type": "main",
"index": 0
}
]
]
},
"669dbd64-bb46-4c14-a32d-98addb8e855b": {
"main": [
[
{
"node": "f20ab72a-1514-42e9-9433-128f199a62fe",
"type": "main",
"index": 0
}
]
]
},
"eee9f55d-ab30-43b8-978b-865cc119f36e": {
"main": [
[
{
"node": "ed5ad713-1e17-4ca3-a52d-da090b12fbc4",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Airtable完全バックアップ
Airtable データベースを S3 にバックアップ
If
Set
Aws S3
+
If
Set
Aws S3
19 ノードAutonomous Work
エンジニアリング
正規表現と AI を使って隠れたウェブサイトの API エンドポイントを発見
正規表現とAIを使って隠れたウェブサイトのAPIエンドポイントを発見する
If
Set
Html
+
If
Set
Html
58 ノードYulia
エンジニアリング
JSONアーキテクト - 任意のAIエージェントのためのJSON出力形式を動のに生成
Mistral を使って AI エージェントに動の JSON 出力フォーマットを生成
If
Set
Stop And Error
+
If
Set
Stop And Error
34 ノードHybroht
エンジニアリング
AI生成WordPress記事要約ブロック
WordPress記事のAI生成要約ブロック
If
Set
Slack
+
If
Set
Slack
32 ノードDataki
人工知能
🕵️♂️ 自動GitHubスキャナー - アンブラレットAWS IAMキーの検出
自動GitHubスキャナ - AWS IAMキーの露出検知
If
Code
Wait
+
If
Code
Wait
18 ノードNiranjan G
セキュリティ運用
AI スマートアシスタント: Supabase ストレージと Google Drive ファイルとの対話
AIワンチャットボット:SupabaseストレージとGoogle Driveのファイルと対話
If
Set
Wait
+
If
Set
Wait
62 ノードMark Shcherbakov
エンジニアリング