Перейти к содержанию
НОВОЕМаркетплейс и ваша команда: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Мониторинг, эксплуатация и инциденты

Мониторинг, эксплуатация и инциденты

Мониторинг состояния воркфлоу n8n по истории выполнений с оповещениями в Telegram

Запускается каждые шесть часов, проверяет активные воркфлоу n8n и последние выполнения и отправляет оповещение в Telegram только при обнаружении сбоев или проблем.

Что делает

### How it works This workflow runs every six hours to monitor active n8n workflows. It lists published workflows, excludes the monitor workflow itself, then loops through each remaining workflow to fetch its definition and recent execution history. After all workflows are assessed, it builds a health report and sends a Telegram alert only when issues are detected. ### Setup steps - Configure the n8n credentials used by the n8n nodes so they can list workflows, retrieve workflow details, and read executions from the target instance. - Confirm the schedule trigger interval is appropriate for your monitoring needs. - Update the exclusion logic so the monitor workflow reliably filters itself out. - Set up Telegram bot credentials and the destination chat ID, then enable the Telegram alert node after testing. ### Customization Adjust the assessment and report code nodes to change what counts as unhealthy, how many executions are reviewed, and the wording or destination of alert messages.

Шаги

  1. Every 6 Hours Trigger
  2. Fetch Active Workflows
  3. Filter Active Workflows
  4. Loop Over Workflow Batches
  5. Retrieve Workflow Details
  6. Fetch Recent Executions
  7. Evaluate Workflow Health
  8. Generate Health Report
  9. Check for Alerts
  10. Send Telegram Alert
  11. Send a message

Похожие автоматизации