WorkflowOtherOpen

Retry on fail except for known error Template

Triggered manually or by an app event. Connects Condition, Stop And Error, Wait. Set filter Filter by status code or error message. Replace Node Replace this by the Node which retrieves the admired data. Enable error branch in Node Settings and connect the outputs like in this example Set max tries Change if needed, default is 3 Set Wait Change duration if needed, default is 5s Continue here, if t

Front matter
name: Retry on fail except for known error Template
description: Triggered manually or by an app event. Connects Condition, Stop And Error, Wait. ## Set filter Filter by status code or error message. ## Replace Node Replace this by the Node which retrieves the admired data. Enable error branch in Node Settings and connect the outputs like in this example ## Set max tries Change if needed, default is 3 ## Set Wait Change duration if needed, default is 5s Continue here, if the request succeeded Continue here, if the request failed Stop here, if all tries have failed Define counter for tries Update counter for tries
category: Automation
kind: Workflow
software: Condition|Stop And Error|Wait

Retry on fail except for known error Template

Triggered manually or by an app event. Connects Condition, Stop And Error, Wait. ## Set filter Filter by status code or error message. ## Replace Node Replace this by the Node which retrieves the admired data. Enable error branch in Node Settings and connect the outputs like in this example ## Set max tries Change if needed, default is 3 ## Set Wait Change duration if needed, default is 5s Continue here, if the request succeeded Continue here, if the request failed Stop here, if all tries have failed Define counter for tries Update counter for tries

Steps

  • Retry limit reached (stopAndError)
  • Set tries (set)
  • Update tries (set)
  • Wait (wait)
  • Catch known error (if)
  • Replace Me (noOp)
  • Success (noOp)
  • Known Error (noOp)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Manual Trigger (manualTrigger)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • Sticky Note5 (stickyNote)
  • Sticky Note6 (stickyNote)
  • Sticky Note7 (stickyNote)
  • If tries left (if)
  • Sticky Note8 (stickyNote)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Stopanderror/1963_Stopanderror_Wait_Automation_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.