Sync pre-processing variables on schedule

Recipe Tools

What it does

When a scheduled trigger runs, this automation initializes variables for a data merge. It processes each schema item, monitors for errors, and returns the response so the merge operation has clean metadata ready.

Who it's for

Data and analytics teams who need to prepare metadata and values before merging datasets.

How teams use this

Prepare data for nightly merge

Initialize all merge variables on a nightly schedule so the downstream merge operation has clean, validated metadata and values ready to process.

Add validation before merge

Extend this automation to include a validation step that checks each schema item against business rules before updating variables. Only items that pass move forward.

Route errors to monitoring

When an error is found, set up a notification to a monitoring system instead of silently stopping. The team sees what failed and can investigate.

How it works

  1. Run on schedule. The automation starts on a specified schedule to begin the pre-processing workflow for the merge operation in Workato Service.
  2. Initialize merge variables. Workato Service creates variables for SelectFromStage, UpdateMetaData, InsertMetaData, InsertValues, and count to prepare for the data merge.
  3. Process each schema item. Loop through each item in the processed schema and update the count and merge variables with the corresponding values in Workato Service.
  4. Monitor and handle errors. Watch for errors during processing in Workato Service. If an error occurs, stop retries and return the response. Otherwise, return success.