Execute Workflow
The execute workflow feature allows you to run workflows during development and testing phases, verify node configurations are correct, and check if data flow meets expectations. Through test execution, you can discover and resolve issues before deploying to production.
Test Execution Methods
Atomemo provides multiple test execution methods to adapt to different development and debugging needs.
Execute Entire Workflow
Run the complete workflow from trigger to the last node:
Execution Method:
- Find canvas top toolbar
- Click "Test" button
- If multiple triggers exist, select which trigger to use
- Workflow starts executing
Auto Save:
- System automatically saves workflow before clicking test
- Ensures executing latest configuration
- No manual save needed
Execution Flow:
Trigger Node → Action Node 1 → Action Node 2 → ... → Last NodeExecute to Specific Node
Run workflow up to a specific node, useful for testing partial flows:
Use Cases:
- Only want to test first half of flow
- Debug specific node's input data
- Save execution time for subsequent nodes
Execution Method:
- In node editor's left panel (context panel)
- Click "Execute Upstream Nodes" button
- System executes all upstream nodes from trigger to current node
- Current node's context panel displays execution results
Example Flow:
Goal: Test input data for Node C
Execute: Trigger → Node A → Node B → Node C
Result: Node C's context panel shows data from A and BExecute Single Trigger
Directly run a specific trigger node:
Applicable Scenarios:
- Workflow has multiple triggers
- Want to test specific trigger configuration
- Debug trigger node itself
Execution Method:
- Double-click to open trigger node editor
- In node configuration panel
- Look for node-specific test button (if available)
- Or use test button at top of canvas
Trigger Type Handling
Different trigger types have different execution methods.
Chat Trigger
Chat trigger opens chat preview interface:
Execution Flow:
- Click test button
- Right chat panel automatically opens
- Enter message in chat input box
- Send message to trigger workflow execution
- View execution results in chat interface
Characteristics:
- Simulates real conversation scenarios
- Can send multiple messages consecutively
- Supports contextual conversation
- View AI responses in real-time
Usage Tips:
- Input box supports multi-line text (Shift + Enter for new line)
- Can test different user inputs
- View AI Agent response effectiveness
Manual Trigger
Manual trigger requires configuring input data:
Execution Flow:
- Click test button
- If trigger has configured input fields, displays input dialog
- Fill in test data
- Click execute to start running
- View results in logs panel
Configure Input:
- Trigger can define required input fields
- Manually fill these fields during testing
- Data passes to downstream nodes
Webhook Trigger
Webhook trigger can test run:
Execution Method:
- Click test button
- Uses trigger's configured default data
- Or configure test data in trigger node
- Execute workflow
Production Use:
- After testing passes, copy Webhook URL
- Configure to external system
- External system sends HTTP request to trigger workflow
Multiple Trigger Selection
Handling when workflow contains multiple triggers.
Trigger Selection Dialog
When multiple triggers exist, system asks which to use:
Selection Interface:
- Click test button
- Trigger selection dialog appears
- Displays list of all available triggers
- Use radio buttons to select a trigger
- Click confirm to execute
Dialog Content:
Select Trigger
Please select the trigger node to execute:
○ Chat Trigger
○ Manual Trigger
○ Webhook Trigger
[Cancel] [Confirm]Trigger Information:
- Displays trigger node names
- Sorted by node creation order
- Clearly identifies trigger type
Avoiding Selection
If don't want to select trigger every time:
Recommended Approach:
- Keep only one trigger during development
- Add other triggers after testing passes
- Or use "Execute to Specific Node" feature
Multiple Trigger Scenarios:
- Production environment needs multiple entry points
- Different channels use different triggers
- Can temporarily remove extra triggers during development
Stop Execution
Terminate a running workflow.
Manual Stop
Stop during workflow execution:
Operation Method:
- Find "Stop" button at top of canvas
- Click stop button
- System terminates current execution
- Already executed nodes retain results
- Unexecuted nodes marked as not run
Use Cases:
- Found configuration error need immediate stop
- Execution time too long
- Need to modify configuration and retest
- Node stuck in infinite loop
Stop Effect:
- Currently executing node will be interrupted
- Subsequent nodes won't execute
- Execution history retains partial results
- Can view executed nodes in logs panel
Execution Status
Understanding workflow execution status:
Executing:
- Test button changes to "Stop" button
- Nodes display execution animation
- Node status updates in real-time on canvas
Execution Complete:
- Stop button reverts to test button
- All nodes display execution results
- Successful nodes show green check
- Failed nodes show red error icon
Execution Failed:
- A node execution errored
- Subsequent nodes no longer execute
- Error node displays error message
- Click node to view detailed error
Viewing Execution Results
View node operation and data after execution.
Node Status Indicators
During and after execution, nodes display different states:
Waiting (Gray):
- Node hasn't started executing yet
- Waiting for upstream nodes to complete
Executing (Blue Animation):
- Node is currently executing
- Shows loading animation
Success (Green):
- Node execution completed
- Shows green check icon
- Click to view output data
Failed (Red):
- Node execution errored
- Shows red error icon
- Click to view error information
View in Node Editor
Open node editor to view detailed results:
Viewing Method:
- Double-click executed node
- Node editor opens
- Right panel displays output data
- Left panel displays context data
Data Views:
- Schema view: Tree structure display
- JSON view: Raw JSON format
- Can copy data for debugging
View in Logs Panel
Use logs panel to view complete execution history:
Open Logs Panel:
- "Logs" tab at bottom of canvas
- Click to open logs panel
- View all executed nodes
- Click node to view detailed information
Detailed Content:
- See Debug Workflow documentation
Pre-Execution Checks
System automatically checks if workflow can execute.
Required Trigger
Workflow must have at least one trigger:
Check Rules:
- Automatically checks when clicking test
- If no trigger node exists
- Displays error prompt: "No triggers found"
- Cannot execute workflow
Solution:
- Add a trigger node to canvas
- Configure trigger parameters
- Connect trigger to Action node
- Click test again
Auto Save
Automatically saves current configuration before execution:
Save Timing:
- Every time test button is clicked
- System automatically saves workflow
- Saves all node configurations and connections
Save Content:
- Node configuration changes
- Connection relationship changes
- Canvas layout changes
Failure Handling:
- If save fails, won't execute
- Displays save failure error
- Need to resolve save issue before retrying
Test Data
Use test data to simulate real execution.
Pin Data
Set fixed test data for nodes:
Usage Method:
- Open node editor
- In right output panel
- Click "Edit Output"
- Enter test JSON data
- Click "Pin Data"
Pin Effect:
- Node won't actually execute
- Directly uses pinned data as output
- Downstream nodes receive pinned data
- Speeds up testing
Use Cases:
- HTTP request node avoids repeated API calls
- Simulate specific response data
- Test downstream node data processing
- Debug exceptional data situations
Trigger Test Data
Configure test input for triggers:
Manual Trigger:
- Configure input field definitions
- Fill field values during testing
- Data passes to workflow
Webhook Trigger:
- Configure example request Body
- Use example data during testing
- Simulate Webhook request
Chat Trigger:
- Enter message in chat interface
- Message as trigger data
- Passes to AI Agent for processing
Best Practices
1. Progressive Testing
Recommended Flow:
- First test single node configuration
- After test passes, connect next node
- Test data flow between two nodes
- Gradually add and test more nodes
- Finally test complete workflow
Benefits:
- Quickly locate issues
- Reduce debugging time
- Ensure each node is correct
2. Use Pin Data
Testing Tips:
- Pin data for time-consuming nodes
- Avoid repeated external API calls
- Simulate various data situations
- Test exceptional data handling
Clean Pin Data:
- Unpin after testing completes
- Ensure production environment executes normally
- Pin data only for testing
3. Check Every Node
Post-Execution Check:
- View each node's status
- Confirm all show green success status
- Open node to view output data
- Verify data format and content
- Check if meets expectations
4. Test Edge Cases
Test Coverage:
- Normal data flow
- Empty and null data
- Exceptionally large or small values
- Special characters and formats
- Incorrect data types
5. Save Test Versions
Version Management:
- Create version after test passes
- Mark "Test Passed" status
- Record test scenarios and results
- Facilitate future comparison and rollback
6. Test Different Triggers
Multiple Trigger Testing:
- Test each trigger separately
- Ensure all entry points work normally
- Verify data formats for different triggers
- Test trigger-specific configurations
FAQ
Q: No response when clicking test?
A: Possible reasons:
- Workflow has no trigger node → Add trigger
- Trigger configuration incomplete → Check required parameters
- Network connection issue → Check network status
- Workflow save failed → View error prompt
Q: Execution takes very long?
A: Optimization suggestions:
- Use "Execute to Specific Node" to test partial flow
- Set pin data for time-consuming nodes
- Check for infinite loops or repeated calls
- Optimize HTTP request timeout settings
- Click stop button to terminate if necessary
Q: How to debug failed node execution?
A: Debugging steps:
- Click failed node to view error message
- Check if required parameters are filled
- View node's input data correctness
- Test upstream node output data
- Modify configuration based on error message
- Retest after modification
Q: How to test part of workflow?
A: Two methods:
- Use "Execute to Specific Node" feature
- Set pin data for certain nodes to skip actual execution
Q: How to test Chat trigger?
A: Testing method:
- Click test button to open chat panel
- Enter test message in input box
- Send message to trigger execution
- View AI reply and workflow results
- Can continue conversation to test context
Q: Will testing affect production data?
A: Depends on node configuration:
- HTTP request node will actually call API
- Database operations will actually modify data
- Recommend test environment use test API and database
- Use caution or pin data for production API testing
Q: How long is execution history saved?
A: Execution history save policy:
- Test execution saved in current session
- Test history cleared after page refresh
- Production execution history saved long-term
- Can view history execution in logs panel
Q: How to select default for multiple triggers?
A: Selection recommendations:
- System has no default trigger concept
- Need to select every time
- Recommend keeping only one trigger during development
- Or use most commonly used trigger for testing
Related Resources
- Debug Workflow - Learn debugging techniques
- Version Control - Manage workflow versions
- Editing Nodes - Configure node parameters
- Chat Trigger - Learn about chat trigger