A proposed acceptance test for n8n workflows checks destination records, write counts, ownership, duplicate requests and uncertain outcomes instead of treating a successful run as proof of the intended change.
A successful n8n execution shows that the workflow completed, but it does not prove that the intended record received the intended change. The proposed test design uses synthetic data and isolated credentials for a workflow that receives a support request, finds an order and writes a delivery note to a sandbox destination.
The example defines the expected change before execution: request R-104 for customer C-21 and order O-902 should produce one note, “Leave at reception.” It also requires recording the destination ID and state before the run, then checking the destination readback and write count afterward.
The test matrix covers shared customer names, missing orders, orders belonging to another customer and duplicate delivery of the same request. It calls for stable-ID resolution or rejection when identifiers are ambiguous, no write for invalid ownership or missing-order cases, and one intended business effect for repeated requests.
The guidance separates transformation, integration and outcome evidence. It also warns that a timeout after a write attempt leaves the result uncertain: operators should reconcile using a request identifier or supported idempotency mechanism before retrying. Manual n8n runs may use pinned data, while production executions use fresh input, so both scenarios require separate tests.