Testing & Debugging
FlowStack provides tools to test your automations step-by-step before activating them.
Testing in Flow Builder
Test Flow
- Open your flow in the Flow Builder
- Click Test Flow in the top toolbar
- The flow executes step-by-step with real data
- Each step shows a green checkmark (success) or red indicator (failure)
- Click any step to inspect its input and output data
Step-by-Step Execution
Test individual steps without running the entire flow:
- Click the step you want to test
- Click Test Step in the step panel
- The step executes using output from previous steps (or sample data if it's the first step)
- Inspect the output to verify it's correct before moving to the next step
Sample Data
For triggers that require external events (webhooks, app events):
- Click the trigger step
- Click Load Sample Data or Generate Sample Data
- The sample data is used as input for testing subsequent steps
- You can edit the sample data to test different scenarios
Testing in Workflow Builder
Execute Workflow
- Open your workflow in the Workflow Builder
- Click Execute Workflow in the top toolbar
- All nodes execute and show their output in real-time
- Green borders = success, red borders = failure
- Click any node to see its execution data
Pin Data
Speed up testing by pinning data on specific nodes:
- Execute the workflow once to generate real data
- Click a node → click Pin Data
- The pinned data is used for all subsequent test runs instead of re-executing that node
- Unpin when you need fresh data
This is especially useful for:
- Webhook triggers (no need to send a real request each time)
- API calls (avoid rate limits during testing)
- Slow operations (database queries, file processing)
Debug with Console Output
Use the Code node to log debug information:
console.log('Input data:', JSON.stringify($input.all(), null, 2));
console.log('Item count:', $input.all().length);
// Process data...
console.log('Output:', JSON.stringify(results, null, 2));
return results;
View console output in the node's execution panel after running.
Common Debugging Techniques
Inspect Data Flow
- Add a Set node between two steps
- Configure it to pass through all data unchanged
- Execute and click the Set node to see exactly what data is flowing between steps
Check Connection Auth
If an app action fails with 401/403:
- Go to Dashboard → Connections
- Find the connection used by the failing step
- Click Reconnect to re-authorize
- Re-test the step
Validate Expressions
In the Workflow Builder, test expressions inline:
- Click on an expression field
- The expression editor shows a live preview of the evaluated value
- If the preview shows
undefinedornull, your data path is incorrect
Test with Different Data
Create multiple test scenarios:
- Pin different data sets on the trigger node
- Execute the workflow with each data set
- Verify all branches and edge cases are handled correctly
Dashboard-Level Testing
You can also test from the Automations dashboard:
- Go to Dashboard → Automations
- Find your automation
- Click Run to trigger a manual execution
- Click View Runs to see the execution result
- Check status (Succeeded/Failed), duration, and step outputs
This is useful for testing after publishing, or for testing automations that other team members created.