Sync active workflows and job history to email
Recipe ToolsMarketingData ParserUtilitiesDatabase
What it does
When a scheduled interval triggers, this automation lists all active workflows and gathers job history for each one. Someone receives a CSV summary of workflow activity across all folders every 30 minutes.
Who it's for
Operations teams who monitor workflow performance and need regular visibility into active jobs and execution status.
How teams use this
Monitor workflow health on a schedule
Run this automation every 30 minutes to track which workflows are active and how many jobs each has executed. The team gets consistent visibility into workflow performance without manual checks.
Alert on stalled workflows
Extend this automation to filter the CSV and only include workflows that have not run a job in the last hour, then flag them for investigation. That addition helps catch stalled workflows early.
Route reports by folder owner
Modify the automation to group workflows by folder and send separate CSV reports to each folder owner. Only the email distribution logic changes while the data collection stays the same.
Archive historical reports for compliance
Add a step to store each CSV in a compliance archive after sending it, so the team has a complete audit trail of workflow activity over time. This keeps records for regulatory review.
How it works
- Trigger on a 30-minute interval. The automation runs every 30 minutes to gather the latest workflow and job data from the system.
- List all active workflows. Query Workato App to retrieve every workflow with an active status, then loop through each one to collect details and folder information.
- Gather job history per workflow. For each active workflow, search the job history to find all associated jobs, then accumulate the results into a list for the report.
- Compose a CSV report. Combine workflow details, folder information, and job history into a single CSV file with all relevant columns for distribution.
- Send the report by email. Email the CSV file to the team so they have a current snapshot of active workflows and their job execution status.