Sync daily job reports from Clock to MySQL
Recipe ToolsMarketingDatabaseUtilities
What it does
When a scheduled time arrives, this automation retrieves job history and pulls each job record into MySQL. It maps the data to a common model and accumulates the results so someone can review the daily report.
Who it's for
Data and analytics teams who need daily job reports in MySQL without manual exports.
Apps used
How teams use this
Monitor job performance daily
Run the report every morning at 6 AM to see which jobs succeeded or failed overnight. The team reviews the MySQL table without logging into the Workato App.
Track jobs from a different workflow
Change the workflow name in the search step to pull job history from another process. The rest of this automation stays the same and the report structure does not change.
Filter jobs by status before storing
Add a condition after the search step to only include failed or long-running jobs in the MySQL insert. That way the report contains only the records that need attention.
How it works
- Run on a daily schedule. The automation starts at a specified time each day to gather the latest job data.
- Retrieve job history. Search the Workato App for job records from the specified workflow so all relevant jobs are included in the report.
- Insert jobs into MySQL. For each job found, run custom SQL in MySQL to write the record into the database so the data is stored and queryable.
- Map to common data model. Transform each row using the Workato Mapper with the Daily Job Report common data model so the format is consistent across reports.
- Accumulate the daily list. Collect all mapped job records into a single Individual Job list so the complete report is ready for review.