You've built a workflow with a few nodes. You click “Execute workflow”, and every time the trigger fetches the data all over again or sends a real email. How do you test without breaking anything or waiting around?
Four tools that make testing faster:
- Execute step: runs only the selected node on the data from the previous step. You change one field and see the result right away, without running the whole workflow.
- Pin data: pins a node's output (the pin icon in the OUTPUT panel). Further tests use the pinned data instead of calling the trigger or the API again. Perfect for a Webhook you had to call from outside once.
- Editing pinned data: you can change the sample by hand, e.g. insert an empty email, and check how the workflow handles an ugly case.
- Executions: the tab with your run history. You see what data went through each node and where the error appeared.
Watch out for:
- Pinned data only works in manual tests. An active workflow pulls real data, so a good test result is no guarantee in production.
- A forgotten pin: you change the data source, but the test still shows the old data. After a change, unpin the data and fetch it again.
- Execute step on a node that sends a message will really send it. Test with your own address.
Rule of thumb: pin the data and build the logic first, and run actions with side effects last, on test data.
Upcoming meetups and workshops are listed in the Events section.