Skip to content

Workflow history environment variables#

Variable Type Default Description
N8N_WORKFLOW_HISTORY_PRUNE_TIME Number -1 How long to keep workflow history versions before automatically deleting them (in hours). Set to -1 to keep all versions indefinitely.
This page was