Before you hand an n8n workflow to a client or switch it on, it is easy to check that it runs and still miss the cases that hurt later. This is a checklist I put together, with what each step is meant to catch. It is a review aid, not a guarantee that a workflow is safe.
1. Keep the original and name the target environment
Save an untouched export. Note the n8n version, node versions, destination accounts and who can approve changes, so every edit can be compared with the original and restored.
2. Review credentials and external actions
Check credential references, HTTP headers and what each node is allowed to do. Sanitise a separate copy before sharing it. Credential names, URLs, pinned data and notes may reveal information even when there is no obvious API key. Messages, bookings and record changes should have explicit approval rules.
Steps for sanitising an exported n8n workflow JSON.
3. Validate missing and unexpected input
List required fields and test missing values and malformed data. Decide what goes to a person rather than guessing a value.
4. Test repeated requests
Define what makes one request unique, run a fictional request twice, and inspect the destination, not just the execution status. The customer's email alone does not identify a request: the same person can make two different enquiries.
How to test duplicate booking requests, with a recorded local example. In that example, sending the same request ID again left one record and made no additional mock-CRM write. It was a local demonstration, not an n8n workflow or a real CRM. Persistence after restart and concurrent requests still need separate tests.
5. Exercise failed and uncertain responses
Test a failed destination, a timeout and an ambiguous acknowledgement in an isolated environment, with bounded retries and a manual fallback. For an unclear acknowledgement, check whether the destination already accepted the request before retrying.
Test CRM failure and retry handling. My local mock-CRM test returned HTTP 503: after two attempts the request went to an in-memory review queue, with no booking record created for it. This was one error-response test; it did not establish timeout handling, durable queues or production reliability.
6. Review the diff, then test behaviour
Treat analyzer findings as prompts for review. Re-check each changed field and test the whole workflow with fictional data and test accounts.
What this does not cover
The checklist does not establish security, successful execution or time savings. I wrote it alongside a small Python analyzer I built for n8n workflow JSON. In one local run on a sanitised 16-node sample, it reported 11 findings, applied five JSON edits and left six findings. The workflow was not activated or executed in n8n.
The edits included removing two credential bindings, which can break an otherwise valid workflow. The review also exposed an authentication-mode false positive and a separate diagnostic fixture where the missing-authentication check missed four HTTP nodes set to authentication: "none". These are tool limitations, not verified security repairs.
Full n8n workflow review checklist with acceptance checks and limits.
Top comments (0)