Enabling Continue on Fail globally hides broken runs behind green execution badges. Here is how to audit exported workflows and enforce Dead-Letter Queue triage.
When a node uses continueOnFail=true, n8n passes error objects down the main branch and marks the execution green. Always use continueErrorOutput and wire port 2 to an explicit DLQ or alert.
// Audit exported JSON workflows in one command (MIT CLI)
git clone https://github.com/tolga571/n8n-workflow-auditor.git
node ./n8n-workflow-auditor/bin/n8n-audit.mjs ./workflows --strict
LLM nodes frequently return ```json fences or empty {} objects that pass basic node execution but insert blank rows into Postgres, HubSpot, or Airtable. Strip fences and check required keys before any sink write.
const cleaned = rawText.replace(/^```(?:json)?\s*/i, '').replace(/```\s*$/i, '').trim();
const parsed = JSON.parse(cleaned);
if (!parsed || Array.isArray(parsed) || Object.keys(parsed).length === 0) {
throw new Error('EMPTY_OBJECT_SILENT_FAIL');
}
Retrying a 400 Bad Request wastes API quota and delays failure alerts. Classify 408/425/429/500/502/503/504 into exponential backoff while routing 400/401/403 directly to your DLQ.
const TRANSIENT = new Set([408, 425, 429, 500, 502, 503, 504]);
const shouldRetry = TRANSIENT.has(status) && attempt < maxAttempts;