A webhook that returns `200` is not a webhook that worked. n8n's Webhook node responds the moment the execution reaches a Respond to Webhook node — or, if there isn't one, when the execution finishes. If your CRM returns a 502 three nodes later and your retry budget is already spent, the lead is gone. Nothing in the n8n UI turns red. The execution list shows a green checkmark because the workflow *ran*. Stripe or GoHighLevel retries the delivery, your workflow runs again, and now you either have a duplicate CRM row or a second silent drop. That gap — between "the workflow executed" and "the lead landed" — is what I built a scanner for. It reads exported n8n workflow JSON and flags the structural problems that cause it. ## The five failure modes the static scanner catches  ### 1. Webhook triggers with no authentication  The `n8n-nodes-base.webhook` node defaults to `authentication: "none"`. Your path is `/webhook/lead-intake` — guessable, and often indexed in logs, browser history, and error trackers. Anyone who finds it can POST arbitrary payloads into your CRM, your billing system, or your Slack. The scanner flags any webhook node where `authentication` is absent or set to `none`, and separately flags webhooks that accept a body but have no HMAC/signature verification step downstream. ### 2. No DLQ and no idempotency key  Stripe retries failed deliveries for up to three days. GHL retries too. If your workflow does a bare `INSERT INTO leads`, a retry creates a duplicate. If the primary path 502s and you have no fallback, the retry hits the same broken path and you lose the lead entirely. You need two things: a stable idempotency key derived from the provider's event ID, enforced by a unique constraint, and a dead-letter sink that accepts the raw payload when the primary path fails. The scanner looks for a unique-constraint write or an explicit dedupe step, and for any error branch that terminates without persisting the payload. ### 3. HTTP nodes without `retryOnFail` or `timeout`  n8n's HTTP Request node ships with retries off and a default timeout measured in minutes, not seconds. A hung upstream holds the execution open until it times out, and by then the provider has already given up and marked the delivery failed. The scanner flags every `n8n-nodes-base.httpRequest` node missing `retryOnFail: true` or an explicit `options.timeout`. ### 4. Missing Error Trigger workflow and silent `continueOnFail`  `continueOnFail: true` (or the newer `onError: "continueRegularOutput"`) turns a node failure into data and lets the workflow continue. The execution goes green. The lead does not exist. It's the single most common cause of "the automation works but the CRM is empty." Separately, an Error Trigger workflow only fires if the workflow's `settings.errorWorkflow` points at one. Most exported workflows have no `settings` block at all. ### 5. Hardcoded secrets and accidental graph cycles  n8n credentials are encrypted at rest and referenced by ID. Node *parameters* are not. An API key pasted into an HTTP node's header field gets exported in plaintext into the JSON you commit to git. The scanner pattern-matches common token shapes (`sk_live_`, `ghp_`, bearer strings, long base64 blobs) in parameter values. Cycles are the other one: a node wired back into an earlier node without a Wait or Merge boundary produces an execution that loops until it hits your instance's execution limit. Easy to create by dragging a connection in the canvas, invisible in a diff. ## The browser auditor: zero upload, verifiable  **https://pabloian92.github.io/n8n-production-blueprints/** Drag an exported workflow JSON (or a folder of them) onto the page. Everything runs client-side. The page is served with `connect-src 'none'` in its Content Security Policy, which means the browser will refuse any outbound `fetch`, `XHR`, or WebSocket — you can confirm it yourself in the DevTools Network tab: after the initial page load, zero requests. Output is a per-workflow score, a findings list keyed to node names so you can jump straight to the offending node, and a monthly silent lead-loss calculator. The calculator takes your monthly webhook volume, an observed failure rate, and average lead value, and multiplies them out. It's arithmetic, not a case study — plug in your own numbers. ## The GitHub Action  Same rules engine, wired into CI so a bad workflow can't merge: 


yaml

  • name: Audit n8n production workflows uses: PabloIan92/n8n-production-blueprints@v1 with: path: workflows min-score: '80'
 Point `path` at the directory where you keep exported workflow JSON. The action fails the job if any workflow scores below `min-score`. Repo: **https://github.com/PabloIan92/n8n-production-blueprints** ## What a hardened intake looks like This is the pattern the scanner wants to see — authenticated webhook, idempotency claim, retried HTTP with a timeout, and an error branch that lands in a DLQ instead of vanishing: 


json
{
"name": "Lead Intake (hardened)",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "lead-intake",
"authentication": "headerAuth"
},
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [0, 0],
"webhookId": "lead-intake",
"credentials": { "httpHeaderAuth": { "id": "1", "name": "Intake HMAC" } }
},
{