Debugging workflow errors

Introduction to Workflow Automation with n8n

Frank Nillard

Founder, Tellyt.ai

When workflows fail

  • Even well-tested workflows can fail:
    • An API goes down
    • A field is missing
    • Data is in the wrong format
  • n8n provides ways to handles errors to keep automations reliable and resilient.

Failure_of_attempt.png

Introduction to Workflow Automation with n8n

Why error handling matters

 

Workflow_with_error.png

Introduction to Workflow Automation with n8n

Why error handling matters

 

workflow_with_error_and_log.png

Introduction to Workflow Automation with n8n

Creating a global error workflow

DEMO VIDEO

Introduction to Workflow Automation with n8n

Understanding the error trigger

DEMO VIDEO

Introduction to Workflow Automation with n8n

Raising errors intentionally

DEMO VIDEO

Introduction to Workflow Automation with n8n

Local checks vs. global monitoring

  • Use Stop and Error nodes for local data checks.

Stop_Error_Node.png

Introduction to Workflow Automation with n8n

Local checks vs. global monitoring

  • Use Stop and Error nodes for local data checks.
  • Use Error Workflows and Triggers for global monitoring.

Error_Trigger.png

Introduction to Workflow Automation with n8n

Local checks vs. global monitoring

  • Use Stop and Error nodes for local data checks.
  • Use Error Workflows and Triggers for global monitoring.
  • Log or notify errors to enable quick response.

White_background_log_and_notify.png

Introduction to Workflow Automation with n8n

Let's practice!

Introduction to Workflow Automation with n8n

Preparing Video For Download...