AI Help
How do I test an AI workflow in n8n with sample data before activating it?
Test with representative sample inputs and sandbox destinations before activating the workflow. Pinned data behavior can differ from production execution.
Steps to follow
- Prepare ordinary, missing-field and failure cases. Keep external writes disabled or directed to test accounts.
- Run the workflow manually and inspect each node's input, output and routing. Check any pinned data and remove unintended fixtures.
- Run a controlled production-style trigger and verify the destination result before wider activation.
Example in practice
Illustrative example. A support workflow is tested with a normal ticket, an empty message and a simulated lookup failure using a sandbox mailbox.
Related AI help
- How do I find which item failed in a batch n8n execution?
- How do I tell whether an AI chatbot tool received the right CRM record ID?