Библиотека / Мониторинг, эксплуатация и инциденты
Мониторинг, эксплуатация и инциденты
Запись ошибок workflow n8n в Google Sheets и оповещения в Telegram
Выступает обработчиком ошибок для других workflow n8n: добавляет данные о каждом сбое в Google Sheets для аудита и отправляет оповещение в Telegram, когда запуск завершается с ошибкой.
Что делает
## Log n8n workflow failures to Google Sheets and alert on Telegram (lead qualification companion) ### How it works This workflow acts as an error handler for another n8n workflow, capturing failures as soon as they occur. It builds a structured error record, appends it to Google Sheets for audit/history, then sends Telegram notifications. A secondary alert path is positioned below the main notification path to report issues related to logging or sheet availability. ### Setup steps - Configure this workflow as the error workflow for the relevant n8n workflow, such as the lead qualification companion workflow. - Connect Google Sheets credentials and select the spreadsheet and sheet where error rows should be appended. - Configure Telegram bot credentials and the target chat ID for both Telegram alert nodes. - Review the fields created in the error record so they match the columns in the Google Sheet, including template, correlation_id, status, and stage. ### Customization Adjust the Set node fields and the two Code nodes to include additional context such as workflow name, execution URL, lead ID, or severity. You can also customize the Telegram message format or route the sheet-down alert to a different chat.
Шаги
- When Workflow Error Occurs
- Prepare Error Record
- Append Error to Sheets
- Create Failure Alert Message
- Send Failure Alert to Telegram
- Create Sheet Down Alert Message
- Send Sheet Down Alert to Telegram
Похожие автоматизации
Код, Git и инструменты разработчикаУдалённое управление рабочими процессами n8n из TelegramШагов: 65Код, Git и инструменты разработчикаКлонирование рабочих процессов n8n между экземплярами через API n8nШагов: 33Мониторинг, эксплуатация и инцидентыОтправка аудитов n8n и неудачных рабочих процессов в InfluxDBШагов: 24Мониторинг, эксплуатация и инцидентыАвтоматическая повторная активация отключённых рабочих процессов n8nШагов: 6