Overview
AutoMFlows provides a visual workflow builder with a drag-and-drop interface for creating browser automation and API testing workflows. Each workflow consists of nodes connected by edges, defining the execution flow.Workflow Structure
A workflow in AutoMFlows consists of two main components:- Nodes: Individual actions or operations (browser automation, API calls, data manipulation)
- Edges: Connections between nodes that define the execution order
Workflow JSON Format
Creating a Workflow
Start with a Start Node
Every workflow begins with a Start node. This node is automatically added when you create a new workflow.
Add Nodes from the Sidebar
Drag nodes from the sidebar onto the canvas. AutoMFlows provides 20+ node types:
- Browser Nodes: Open Browser, Navigate, Close Tab
- Interaction Nodes: Click, Type, Hover, Drag & Drop
- Data Nodes: Get Text, Screenshot, Data Extractor
- API Nodes: API Request, API cURL
- Control Flow: Wait, Loop, Conditional
- Verification: Verify (browser & API)
Connect Nodes
Connect nodes by dragging from the output handle of one node to the input handle of another. Connections define the execution order.
Nodes execute sequentially following the connection path. A node waits for its predecessor to complete before executing.
Configure Node Properties
Click on a node to open the properties panel on the right side. Each node type has specific configuration options.See Node Configuration for detailed property options.
Example: E-commerce Test Workflow
Here’s a complete workflow from the AutoMFlows repository that tests a Shopify demo site:Loading Workflows
There are multiple ways to load and execute workflows:Via Web Interface
- Click the Load button in the toolbar
- Select a workflow JSON file from your computer
- The workflow appears on the canvas
- Click Run to execute
Via API
Execute a workflow directly using the REST API:Execution Modes
AutoMFlows supports two execution modes:Single Mode
Execute one workflow at a time with full debugging support, breakpoints, and live node highlighting.Use cases:
- Workflow development and debugging
- Interactive testing
- Step-by-step execution
Parallel Mode
Execute multiple workflows concurrently with configurable worker pools.Use cases:
- Batch testing
- CI/CD pipelines
- Load testing
Single Mode Example
Parallel Mode Example
Builder Mode
Builder Mode allows you to record browser actions and automatically generate workflow nodes.
Starting Builder Mode
Perform Actions
Interact with the browser. Actions like clicks, typing, and navigation are automatically recorded.
Best Practices
Use Descriptive Labels
Give each node a clear, descriptive label that explains its purpose. This makes workflows easier to understand and maintain.
Add Wait Nodes
Insert Wait nodes between actions to ensure page elements load before interaction. Use
waitUntil: "networkidle" for navigation nodes.Enable Retry Strategies
Configure retry options on critical nodes to handle transient failures. Use exponential backoff for API calls.
Use Verification Nodes
Add Verify nodes after critical operations to validate expected outcomes and catch errors early.
Variables and Context
Workflows can use variables stored in the execution context:${contextKey} syntax:
Next Steps
Node Configuration
Learn how to configure individual nodes with properties, retry strategies, and wait conditions.
Browser Automation
Dive deep into browser automation with Playwright nodes.
API Testing
Test REST APIs with API Request and cURL nodes.
Reports
Generate execution reports in multiple formats.
