Bibliothek / Monitoring, Betrieb & Störungen
Monitoring, Betrieb & Störungen
Telegram-Benachrichtigungen senden, wenn andere n8n-Workflows fehlschlagen
Wird ausgeführt, wenn ein anderer Workflow einen Fehler auslöst, und sendet die Fehlerdetails an eine konfigurierte Telegram-Gruppe oder einen Kanal.
Was sie bewirkt
### How to Use Telegram Error Notifier ### Step 1: Prerequisites 1. Telegram Bot: - Create a bot using [BotFather]({{ $env.API_BASE_URL }} and get the bot token. - Add the bot to your Telegram group/channel and note the chatId. 2. n8n Setup: - Ensure the Telegram and Error Trigger nodes are installed. --- ### Step 2: Configure the Workflow 1. Update Telegram Chat ID: - Open the Config node. - Replace telegramChatId with your actual Telegram group/channel ID: json return [ { "telegramChatId": 123456789, // Replace with your chat ID, format 123456789 or -123456789 } ]; 2. Set Telegram Bot Credentials: - Open the Telegram node. - Add your bot token in the Credentials section. 3. Activate the Workflow: - Toggle the Active switch to enable the workflow. --- ### Step 3: Set Up Error Workflow 1. Open the workflow where you want error notifications. 2. Go to Settings > Error Workflow. 3. Select Telegram Error Notifier from the dropdown. 4. Save the changes. --- ### Step 4: Test the Workflow 1. Trigger an error in the workflow. 2. Check your Telegram for the error notification, which includes: - Workflow name - Date and time - Execution URL - Last node executed - Error details --- ### Example Notification Workflow: My Workflow 1 Data & Time: 2023-10-27T12:34:56Z URL: {{ $env.WEBHOOK_URL }} Last Node: HTTP Request Error Detail: Failed to connect to the server. --- ### Troubleshooting - No Notifications: Ensure the workflow is active, and the bot token/chat ID is correct. - Permission Issues: Ensure the bot can send messages in your Telegram group/channel. ---
Die Schritte
- Telegram
- Error Trigger
- Config
- Error Handler
Ähnliche Automatisierungen
Code, Git & Entwicklertoolsn8n-Workflows über die n8n-API zwischen Instanzen klonen33 SchritteMonitoring, Betrieb & StörungenDeaktivierte n8n-Workflows automatisch wieder aktivieren5 SchritteMonitoring, Betrieb & StörungenDeaktivierte n8n-Workflows automatisch reaktivieren6 SchritteCode, Git & Entwicklertoolsn8n-Workflows mit der n8n-API zwischen Instanzen klonen14 Schritte