n8n execute-batch --snapshot=/data/snapshots --shallow

Category: n8n & Workflow Automation

n8n execute-batch --snapshot=/data/snapshots --shallow

Save execution snapshots for regression tests

Runs all workflows and writes one snapshot JSON file per workflow into the given directory, comparing only top-level output attributes when --shallow is set. Point --compare at the snapshot directory on a later run to diff current output against it. Deleted output fields are flagged as errors, new ones as warnings.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.