Failed Execution Log for n8n
n8n の失敗した実行をすべて 1 つのデータ テーブルに記録。毎時、ワークフロー、失敗したノード、エラー、実行へのリンクを保存。読み取り専用の API キー。Docker の n8n 2.49.7。
- n8n
- n8n Schedule Trigger node
- n8n Edit Fields node
- n8n node
- n8n Filter node
スクリーンショット
- 最新リリース
- 1.0.0 · 2026/11/29
- ライセンス
- Source Code Licence
概要
n8n の失敗を毎時記録するログの完全なソースコードです。実行の一覧と読み取りしかできないキーで n8n 自身の API から実行を読み、テスト実行と記録済みの実行を飛ばし、新しい失敗をそれぞれデータ テーブルの 1 行として、実行へのリンク付きで保存します。ワークフロー、ワンクリックのテーブル作成、例、n8n 2.49.7 の Docker Compose を含みます。macOS でテスト済み。
n8n の失敗した実行は見落としがちです。各ワークフローは自分の実行しか表示せず、n8n は古い実行を自動で削除します。Failed Execution Log for n8n はすべてのワークフローのすべての失敗を 1 つのデータ テーブルに集め、何が、どこで、いつ失敗したかを確認できるようにします。以下はすべて macOS 上の n8n 2.49.7 と Docker Desktop でテスト済みです。
できること
- 失敗した実行を毎時記録。 毎時の始めに、n8n が保持している失敗した実行を n8n 自身の API から取得します。
- 失敗 1 件につき 1 行、必要な情報つき。 ワークフロー名、失敗したノード、エラー メッセージ、実行の開始時刻、開始のしかた、そして n8n でその実行を開くリンク。
- 同じ失敗は 1 回だけ。 すでにログにある実行は飛ばすので、テーブルが重複で埋まることはありません。
- テスト実行は除外。 エディターの Execute workflow で始めた実行は記録しません。ノードを 1 つ無効にすれば、それも記録します。
- 記録が残る。 n8n が古い実行を削除しても (既定では 14 日後) 行は残ります。使えなくなるのはリンクだけです。
- 何も変更できない。 n8n の API キーに必要なのは execution:list と execution:read だけで、ログは自分のテーブルにしか書き込みません。
- 動作を確認できる。 わざと失敗する小さな例のワークフローで、最初の行ができるのを確認できます。
インストール
- アーカイブを解凍し、そのフォルダーでターミナルを開きます。
- タイム ゾーンを
.envに保存し、docker compose up -dで n8n を起動します。すでに n8n 2 を動かしている場合は、それを使います。 http://localhost:5678を開き、オーナー アカウントを作成します。- execution:list と execution:read だけを持つ n8n API キーを作成します。
- 3 つのワークフローをインポートし、テーブル作成を実行して、Get failed executions でキーを接続します。
- 例を公開してそのアドレスを開き、ログを 1 回実行して行を確認します。そのあと例を削除し、ログを公開します。
スクリーンショット付きの全手順 (英語): How to Set Up and Run the Failed Execution Log for n8n (新しいタブで開きます)。
知っておくと便利なこと
- すべてあなたの n8n の中に。 ログは n8n 自身のデータ テーブルです。
- 既定は 1 時間ごと。 間隔は Every hour ノードで変更できます。
- リンクにはあなたのアドレス。 n8n を開くアドレスを Settings ノードに入れます。
- n8n は同梱していません。
compose.ymlが n8n の公式イメージをダウンロードし、n8n 自身のライセンスが適用されます。 - macOS でテスト済み (Docker Desktop)。
仕組みを学ぶ
無料の n8n Tutorial for Beginners (新しいタブで開きます) (英語) で n8n を基礎から学べます。Part 7: Executions, Debugging and Pinned Data (新しいタブで開きます) では実行と失敗した実行の直し方を、How to Retry a Failed Execution in n8n (新しいタブで開きます) では直したあとに失敗を再実行する方法を説明しています。
n8n は n8n GmbH の商標です。Docker は Docker, Inc. の商標です。その他の名称は各所有者の商標です。
無料チュートリアルシリーズ
n8n Tutorial for Beginners
作りながら学びたい方へ。ブログの無料ステップガイドで、このプロジェクトの作り方を順を追って紹介しています。
手に入るもの
アーカイブの中身が一目でわかります。
- 完全なソースのバージョン 1.0.0: n8n ワークフロー 3 つ、Docker Compose ファイル、.env の例、README
- Failed execution log ワークフロー: 毎時のスケジュール、失敗した実行を一覧して詳細を読む n8n API のステップ、テスト実行のフィルター、記録済みの実行のチェック、保存する行
- Failed executions データ テーブルをワンクリックで作るワークフロー
- わざと失敗する例のワークフロー。ログの動作を確認できます
- execution:list と execution:read だけを持つ API キーを作る手順
- n8n 2.49.7 の compose.yml。あなたのパソコンからだけアクセスでき、ポートとタイム ゾーンは .env で設定
- セットアップ手順、ログの列、設定、トラブルシューティング、後片付けを載せた README
使用している技術
開発と動作確認に使った実行環境とバージョンです。
- n8n2.49.7
- n8n Schedule Trigger node1.4
- n8n Edit Fields node3.5
- n8n node1
- n8n Filter node2.4
- n8n Data table node1.1
- n8n Webhook node2.2
- n8n Stop and Error node1
- Docker Compose5.7.1
- Docker Engine29.9.3
アーカイブの中身
展開したあとに手元に残るファイル構成です。
failed-execution-log-n8n/
- .env.example
- .gitattributes
- .gitignore
- README.md
- compose.yml
- workflows/
- example-a-run-that-fails.json
- failed-execution-log.json
- set-up-failed-executions-table.json
必要になるもの
動かすために必要なアカウントやサービスです。あとから驚くことはありません。
- 自分で動かす n8n 2 (無料の Community Edition で十分)、または同梱の n8n を動かすための Docker
- compose.yml を使うための Docker Desktop (macOS または Windows)、または Docker Engine (Linux)
- パソコンの空いているポート (既定は 5678)
リリース
これまでのすべてのバージョンを新しい順に並べています。
1.0.0最新
完全なソースの最初のリリースです。
- n8n の失敗した実行をすべて毎時データ テーブルに記録: ワークフロー、失敗したノード、エラー、開始時刻、モード、実行へのリンク。
- execution:list と execution:read だけを持つキーで、n8n 自身の API から実行を読み取ります。
- テスト実行と記録済みの実行を飛ばします。
- ワンクリックのテーブル作成と、わざと失敗する例のワークフロー。
- compose.yml による Docker 上の n8n 2.49.7。macOS でテスト済み。
Source Code Licence
利用できる範囲
What you may and may not do with the source code you buy.
ライセンスの全文を読む
- What this licence covers
This licence governs every file included in a product you buy from Dewiride Store: source code, configuration, database scripts, sample data, documentation and any other file in the download. It takes effect when your payment is confirmed and applies to every release of that product that reaches your library. Files that reach your library through an annual updates membership are governed in exactly the same way.
It forms part of the Terms of Sale and Use. Where a product page states different or additional licence terms for that product, those terms prevail for that product. The membership page may likewise state different or additional licence terms for the files a membership carries, and those terms then prevail for those files.
- The licence we grant you
We grant you a perpetual, worldwide, non-exclusive, non-transferable licence to use, reproduce, adapt, translate and modify the files, and to include the result in your own work, on the conditions set out below.
Perpetual means it does not expire. Worldwide means it is not limited to any country. Non-exclusive means we license the same product to other customers. Non-transferable means you cannot pass it on to someone else.
The licence is granted to you — either you personally, or the organisation you identified when buying. Everyone working within that organisation may use the files for that organisation’s projects. Nobody outside it may.
- What you may do
- Use and change the files in your own projects, commercial or otherwise, with no limit on the number of projects.
- Build a product or a service on them and charge your own customers for it.
- Deploy the result for a client, as part of work you are doing for that client.
- Distribute the result in compiled, deployed or otherwise non-source form.
- Keep as many back-up copies as you reasonably need.
- Study, observe and test how the code works, and obtain the information you need to make it work with your own software.
The last two are yours by law under sections 52(1)(aa) to (ac) of the Indian Copyright Act, 1957, and nothing in this licence is intended to take them away.
- What you may not do
- Resell, sublicense, redistribute or publish the files themselves, in whole or in substantial part, in source form.
- Include them in a template, starter kit, course, tutorial repository or component library that you sell or give away, where the code is the thing being supplied.
- Share your account, your download links or your invoices with anyone outside your organisation.
- Publish the files in a public repository, or in any other place where they can be obtained without buying them.
- Remove or obscure the copyright and attribution notices in the source files.
- Use the files to build something whose main purpose is to compete with Dewiride Store as a supplier of the same code.
The distinction that matters is simple: you may sell what you build with the code; you may not sell the code.
- Third-party components
Our products depend on open-source libraries, frameworks and services that we did not write. Those remain under their own licences, which we do not and cannot change. Where a product includes or requires such a component, its licence is named in the product’s documentation, and complying with it is your responsibility.
- Releases
Every release of a product you own is covered by this same licence and appears in your library at no extra cost. A release you have already downloaded remains licensed to you even if we later stop publishing the product. A release that reached your library through an annual updates membership is licensed to you on these same terms, and stays licensed after the period that carried it has ended.
- Ownership
We keep ownership of the files and of the copyright in them. You own whatever you create with them: your changes, your additions and the product you build are yours.
- If this licence ends
This licence ends if you materially breach it and do not put the breach right within thirty days of us asking you to in writing. It also ends if your payment is reversed or refunded, because the purchase it depends on no longer stands. Where a membership period is refunded or reversed, the licence ends for the releases that period carried and for nothing else: anything you bought separately, or that another period carried, is unaffected.
If it ends, you must stop using the files and delete the copies you hold. Work you had already delivered to a client before that point may continue in use, so that ending this licence never breaks something your own customer relies on.
- No warranty beyond the description
The warranties and limits in section 19 and section 20 of the Terms of Sale and Use apply to this licence as well.
- Governing law
This licence is governed by the law of India, and section 24 of the Terms of Sale and Use applies to any dispute about it. If a translation and the English version differ in meaning, the English version governs.
Failed Execution Log for n8n
- ₹99+GST(合計 ₹116.82)
- $2