AI Help
How do I create a dry-run mode for an n8n workflow that writes to a CRM?
Use a persisted dry-run flag to route intended writes into a preview path, and verify that every external-write node respects it.
Steps to follow
- Define the intended payload and validation steps before the write. Make the run mode explicit in execution data.
- Gate all CRM mutations and outbound messages on the mode. In dry-run mode, record a preview with destination IDs and proposed changes.
- Test every branch with sandbox data and inspect the CRM for unintended writes before enabling live mode.
Example in practice
Illustrative example. A dry-run lead workflow shows the contact and fields it would update while its write branch is skipped.
Related AI help
- How do I stop an AI enrichment workflow from overwriting a manually edited Sheets row?
- How do I resume a paused n8n workflow when an approval expires?