Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Код, Git и инструменты разработчика

Код, Git и инструменты разработчика

Установка рабочего процесса обработки ошибок по умолчанию для всех workflow в n8n через API n8n

Запускается ежедневно ночью или по требованию и через API назначает рабочий процесс обработки ошибок по умолчанию каждому workflow в экземпляре n8n, сохраняя остальные настройки и ограничивая частоту обновлений.

Что делает

## TEMPLATE - Set a default error workflow on all workflows via the n8n API ### How it works This workflow runs nightly or manually to apply a default error workflow setting across workflows in an n8n instance. It loads configuration values, retrieves all workflows through the n8n API, splits and filters them, then loops through the selected workflows and updates each one while preserving its other settings. A short wait throttles API updates before the loop continues until all workflows are processed. ### Setup steps - Configure the n8n API credentials used by the HTTP Request nodes so they can read and update workflows. - In the Configuration node, set n8n_base_url to your n8n instance URL and error_workflow_id to the workflow that should become the default error workflow. - Adjust only_fill_empty if updates should only apply to workflows that do not already have an error workflow configured. - Set exclusion_tag if certain workflows should be skipped based on a tag. ### Customization You can change the schedule time, filtering rules, exclusion tag, or throttle delay to match your instance size and API rate limits.

Шаги

  1. Daily Trigger at 1AM
  2. Manual Workflow Trigger
  3. Set Workflow Configurations
  4. Fetch Paginated Workflows
  5. Split Workflow Data
  6. Filter Workflows by Conditions
  7. Batch Process Workflows
  8. Update Error Workflow Settings
  9. Wait 0.2 Seconds
  10. Complete Workflow Processing

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