Trigger types
Workflows are initiated by triggers. MagOneAI supports multiple trigger types to fit different use cases and integration patterns.API trigger
Start workflows via REST API call. Pass input data as JSON. Ideal for system-to-system integration and programmatic workflow execution. How it works:Configure API trigger
Enable API trigger in workflow settings. MagOneAI generates a unique API endpoint and authentication token.
Workflow starts
The workflow execution begins immediately with the provided input data available as
{{trigger.input}}.Document processing
Trigger when documents are uploaded to your system
Event-driven automation
Respond to business events (new customer, transaction, support ticket)
Webhook handlers
Process webhooks from external services
Batch processing
Trigger individual workflow executions for each item in a batch
Schedule trigger
Run workflows on a cron schedule. Perfect for periodic tasks, reports, and maintenance operations. How it works:Schedule activates
MagOneAI’s scheduler monitors the cron expression and triggers the workflow at the specified times.
Daily reports
Generate and send daily summary reports
Periodic compliance checks
Run compliance audits on a schedule
Data synchronization
Sync data between systems periodically
Cleanup and maintenance
Archive old data, clean up temporary files
- Daily
- Weekly
- Monthly
- Hourly/Frequent
Manual trigger
Start workflows manually from MagOneAI Studio. For testing, ad-hoc execution, and human-initiated processes. How it works:
Use cases:
Testing
Test workflows during development with sample data
Debugging
Run workflows with specific inputs to debug issues
Ad-hoc processing
Process individual cases manually as needed
Demo and training
Demonstrate workflow capabilities to stakeholders
Chat trigger
Start workflows from MagOneAI Hub conversation. Natural language initiates workflow execution. How it works:User message in Hub
User types a message in MagOneAI Hub:
“Please analyze the Q4 financial report and send me a summary”
Intent detection
MagOneAI Hub’s AI understands the intent and identifies the appropriate workflow to execute.
Employee self-service
Employees trigger workflows through conversation
Customer support
Support agents trigger workflows during customer interactions
Data retrieval
Natural language queries trigger data fetch workflows
Approvals
Approve or reject workflows through chat commands
Execution monitoring
Track workflow execution in real-time with comprehensive observability.Real-time status tracking
Monitor running workflows with live updates:Execution status
Current state: Running, Completed, Failed, Waiting for Human Input
Current activity
Which node is currently executing in the workflow
Progress indicator
Percentage complete based on total activities
Duration
Elapsed time since workflow started
Activity-level progress
See detailed progress for each activity in the workflow: Visual workflow canvas:- Pending — Not yet started
- Running — Currently executing
- Completed — Successfully finished
- Failed — Execution failed
- Skipped — Skipped due to conditional logic
- Waiting — Paused (e.g., waiting for human input)
Success/failure status
Track success and failure at both workflow and activity levels: Workflow-level status:- Success — All activities completed successfully
- Partial Success — Some activities failed but workflow completed
- Failed — Critical activity failed, workflow terminated
- Timed Out — Workflow exceeded maximum execution time
Execution duration and timing
Detailed timing information for performance optimization: Overall timing:- Identify slow activities
- Detect bottlenecks
- Optimize expensive operations
- Track improvements over time
Retry policies
Configure how the system handles activity and workflow failures.Activity-level retries
Configure retries for individual activities:- max_attempts — Total attempts including the initial one (e.g., 3 = 1 initial + 2 retries)
- initial_interval — Delay before first retry
- backoff — Strategy for increasing delay:
fixed,linear,exponential - max_interval — Maximum delay between retries
- retry_on — Which error types trigger retries
Backoff strategies
Different strategies for delay between retries:- Fixed
- Linear
- Exponential
Same delay between all retries.Use for: Operations with consistent retry needs
Retry on error types
Specify which errors should trigger retries:Workflow-level retry
Retry entire workflows on failure:Error handling
Comprehensive error handling ensures workflows fail gracefully.Activity-level error handling
Handle errors at the activity level: Fallback activities:Error propagation
Control whether errors stop the workflow or allow continuation: Stop on error (default):Workflow failure
When a workflow fails:Manual retry of failed executions
Retry failed workflow executions: Retry from beginning:Execution history
View comprehensive history of all workflow executions.Past executions
Access complete execution history: Execution list:Filtering and search
Filter execution history by various criteria: Filter by status:Drill into individual executions
Detailed view of any execution: Execution overview:Token usage and cost tracking
Track LLM costs for each execution: Per-execution costs:- Total cost per workflow
- Cost trends over time
- Most expensive activities
- Cost optimization opportunities