İçeriğe geç
YENİAlaaddin ile tanış: sesi olan yapay zekâ cinin. trig8n 1 Ocak 2027'de yayında. Yeniliklere bak

Kütüphane / Kod, Git ve Geliştirici Araçları

Kod, Git ve Geliştirici Araçları

n8n API ile tüm n8n iş akışlarına varsayılan hata iş akışı ayarlama

Her gece veya isteğe bağlı çalışır; diğer ayarları koruyarak ve güncellemeleri sınırlandırarak bir n8n örneğindeki her iş akışına API üzerinden varsayılan bir hata iş akışı atar.

Ne yapar

## 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.

Adımlar

  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

Benzer otomasyonlar