🚨 n8n ワークフローのエラーを Telegram に報告

初級

これはBuilding Blocks分野の自動化ワークフローで、5個のノードを含みます。主にSet, Telegram, ErrorTriggerなどのノードを使用。 🚨 n8n ワークフローエラーを Telegram に報告

前提条件
  • Telegram Bot Token
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "nodes": [
    {
      "id": "aa84d631-c14f-45c2-a659-454605e83c30",
      "name": "On Error",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        880,
        900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "abffce17-cc93-4c6a-8955-de2d0f4cc885",
      "name": "設定 message",
      "type": "n8n-nodes-base.set",
      "position": [
        1140,
        900
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "message",
              "value": "=⚠️ Workflow `{{$json[\"workflow\"][\"name\"]}}` failed to run! [execution]({{ $json.execution.url }})"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "id": "1e5c4af6-30ae-45b8-bca7-048a656ce9bd",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        700
      ],
      "parameters": {
        "color": 5,
        "width": 424.4907862645661,
        "height": 154.7766688696994,
        "content": "### 👨‍🎤 Setup\n1. Add Telegram creds\n2. Set chat id in **Telegram** node\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": "845ddf26-2d40-4cc6-843b-ccb3b365fbfb",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1360,
        900
      ],
      "parameters": {
        "text": "={{ $json.message }}",
        "chatId": "1688282582",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "6",
          "name": "mymontsbot token"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "90db96b8-0e43-4977-b455-3e6813211640",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        1080
      ],
      "parameters": {
        "width": 241,
        "height": 80,
        "content": "### 👆🏽 Set chat id here"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "aa84d631-c14f-45c2-a659-454605e83c30": {
      "main": [
        [
          {
            "node": "Set message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set message": {
      "main": [
        [
          {
            "node": "845ddf26-2d40-4cc6-843b-ccb3b365fbfb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

初級 - ビルディングブロック

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
初級
ノード数5
カテゴリー1
ノードタイプ4
難易度説明

n8n初心者向け、1-5ノードのシンプルなワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34