n8n-check Field guide

Successful run.
Wrong result.

An invoice disappears. Customer text changes. A lead ID arrives shortened. Amounts land in the wrong order. Preserve the result before the next handover: choose volume, identity, exact values or row order, then check the relevant output in real n8n.

Missing items: check volume.

Choose Item count for output volume. Choose Full JSON items when every invoice ID and notification text must survive. The two-invoice walkthrough uses two input fixtures and stops after Prepare notification, before Slack.

The fixed Code keeps both invoices. Adding slice(0, 1) leaves one. The same full-output case passes 4/4 checks, exit 0 for fixed and fails 3/4 checks, exit 1 for broken.

Reference replay: n8n-check 0.1.8, n8n 2.41.7, installed CLI with host networking and zero HTTP requests. Both engines succeed. The downloadable pack runs the same case in Docker.

Get the complete invoice case or read the before/after JSON and JUnit results.

Changed text: check exact values.

Choose Full JSON items. The complete UTF-8 case includes Auto/explicit-JSON exports, six response fixtures and before/after JSON + JUnit evidence.

On n8n 2.41.7 and 2.46.6, each mode finishes successfully with six HTTP 200 responses. Auto changes the French and Turkish records; four controls stay intact. Response Format → JSON preserves all six. Keep accented customer text in your fixtures and compare the returned fields.

Run the six-response check in GitHub Actions, or use the example's installed-CLI commands.

Changed IDs: check identity.

Choose Selected field + item count when IDs must stay stable as timestamps change. Set json.id, expected values ["row-A", "row-B"], count 2. The ready identity demo records two successful, two-item runs on n8n 2.41.7: original IDs pass; a same-size wrong-ID replacement fails.

Check the database binding too.

Use the native Postgres comparison. Import both three-node exports into n8n, select your sandbox PostgreSQL credential and execute their real, read-only SELECT. Keep Postgres node typeVersion 2.7 for this replay.

Recorded n8n 2.41.7 / PostgreSQL 18.6 returns two rows in both modes. Scalar Query Parameters shorten website:demo,a to website:demo. A single array expression retains it:

={{ [$json.client_id, $json.lead_key] }}

Keep the credentialed SELECT in native n8n. For downstream n8n-check coverage, use the returned rows as fixtures at the database-output boundary and check the transformation after Postgres.

Wrong ranking: check row order.

Choose Full JSON items and list the complete orders in the required sequence. Our amount-sort case keeps the original amount strings and customer IDs while sorting a temporary numeric key.

With Sort typeVersion 1 / Simple, the string "96.74" ranks ahead of "452.8" in descending order. Recorded n8n 2.41.7 and 2.47.7 both finish that ordinary run successfully. Numeric-key sorting passes the complete three-order contract in both directions; original-string controls fail it.

Download the descending editor test or the ascending test. Import into your n8n and Execute workflow; Check expected output returns passed, count 3. Then replace the fixture and expected rows with your own contract.

Preview shows a value.
Execution gives null.

A reported task on n8n 2.46.7 has error text in the expression preview, then msg: null from executed Edit Fields. With your connected export and finished execution, make that symptom a one-item acceptance check:

  1. Copy the actual upstream start JSON item from the finished execution. Import the connected export; choose start as Fixture boundary. Enter that item as a one-object JSON array in Input items.
  2. Choose Edit Fields as Output to preserve and enable Stop after selected output.
  3. Choose Selected field + item count. Set Field path to json.msg and Expected item count to 1. For agreed text Validation failed, Expected output is an array containing one string:
["Validation failed"]
  1. Set n8n version to run to your execution's release. The reported task uses 2.46.7; the builder defaults to 2.41.7.

The execution supplies the input. Your required result supplies the expected text. Rerun the fixture after an expression change.

Open the free case builder.

The execution finished.
The editor is still waiting.

Observe the editor's push channel. Our Chrome/Edge Console probe attaches to already-open WebSockets and records frame type, size and workflow/execution IDs. It keeps message bodies outside the report.

A constructor hook added after the editor connects observes future sockets. This probe listens on the existing ones. Its recorded browser check captures text and binary frames on a connection opened before attachment.

Open the existing-socket probe and instructions. Use testWebhookReceived and the run's IDs to choose the next debugging step.

Run the check before handover.

Review the builder's selected slice. Stop after selected output runs that node and cuts its outgoing connections; independently reachable branches still run.

Already have n8n? For a ready single-run local JSON slice, choose Download editor test (.json). Import it as a new workflow, then Execute workflow. Its independent final check throws on missing output or wrong IDs, including zero-item branches. See the five native controls and supported scope.

Download the local pack, unzip and run this command with Docker running:

sh run.sh

Use Docker with Linux containers and a shell on Linux, macOS or WSL2. The first run downloads the pinned v0.1.8 runner and chosen n8n image. Read results/report.json and results/junit.xml.