🚨 n8n ワークフローのエラーを直接メールで報告
初級
これはBuilding Blocks分野の自動化ワークフローで、4個のノードを含みます。主にGmail, ErrorTriggerなどのノードを使用。 🚨 n8n ワークフローエラーを直接メールに報告
前提条件
- •Googleアカウント + Gmail API認証情報
使用ノード (4)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"nodes": [
{
"id": "dee0969b-e780-400c-a8d2-383a392b9432",
"name": "On Error",
"type": "n8n-nodes-base.errorTrigger",
"position": [
880,
900
],
"parameters": {},
"typeVersion": 1
},
{
"id": "018f4497-2a68-4de7-a59a-b6714d9211af",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
700
],
"parameters": {
"color": 5,
"width": 424.4907862645661,
"height": 154.7766688696994,
"content": "### 👨🎤 Setup\n1. Add your Gmail creds\n2. Add your target email\n2. Add this error workflow to other workflows\nhttps://docs.n8n.io/flow-logic/error-handling/#create-and-set-an-error-workflow"
},
"typeVersion": 1
},
{
"id": "b5d560c0-1de1-4e6c-be4d-0fef1dd42e9e",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
1140,
1080
],
"parameters": {
"width": 241,
"height": 80,
"content": "### 👆🏽 Set target email here"
},
"typeVersion": 1
},
{
"id": "f1a73854-5b24-407e-9584-0448ae66f7a0",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
1120,
900
],
"parameters": {
"sendTo": "SET YOUR EMAIL HERE",
"message": "=⚠️ Workflow `{{$json[\"workflow\"][\"name\"]}}` failed to run!\nYou can find the execution here: {{ $json.execution.url }}\n\nerror message from node {{ $json.execution.lastNodeExecuted }}: {{ $json.execution.error.message }}\n\n {{ $json.execution.error.stack }}",
"options": {},
"subject": "=🚨 Error in workflow: {{ $json.workflow.name }}",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "8",
"name": "Work Gmail account"
}
},
"typeVersion": 2.1
}
],
"pinData": {},
"connections": {
"dee0969b-e780-400c-a8d2-383a392b9432": {
"main": [
[
{
"node": "f1a73854-5b24-407e-9584-0448ae66f7a0",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
初級 - ビルディングブロック
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
🤖 高度な Slackbot(n8n)
🤖 高度な Slackbot(n8n)
If
Set
Code
+
If
Set
Code
34 ノードMutasem
エンジニアリング
Gmail の受信箱メールを自動アーカイブ
Gmailの受信トレイを自動アーカイブ
Gmail
Filter
Item Lists
+
Gmail
Filter
Item Lists
10 ノードMutasem
その他
高度なAIディスプレイ(AI開発者第14回集での発表)
高度なAIデモ(AI開発者第14回聚会で展示)
If
Code
Gmail
+
If
Code
Gmail
39 ノードMax Tkacz
ビルディングブロック
Todoist 内で毎日の To Do リストを自動作成
Todoist で毎日の ToDo リストを自動作成
If
Code
Filter
+
If
Code
Filter
13 ノードMutasem
その他
n8n ワークフリを直接 Notion データベース内に自動記録
n8n ワークフローを Notion データベースに直接自動記録
If
N8n
Set
+
If
N8n
Set
10 ノードMutasem
その他
トレーニング修了証を自動発行し、Gmail 経由で送信
トレーニング修了証を自動発行し Gmail で送信
Set
Gmail
Crypto
+
Set
Gmail
Crypto
18 ノードNathan Lee
ビルディングブロック