Execute a scheduled function call every 5 minutes
Recipe ToolsMarketing
What it does
Every 5 minutes, this automation invokes a dynamic function through Workato Recipe Function. The result is logged to the job report so someone can track execution details and monitor the output.
Who it's for
Engineering teams who need to run a function on a schedule and review the results in logs.
How teams use this
Monitor a scheduled function call
Run the function every 5 minutes and log each result to track the health and output of the integration. Job report logs show when each execution completed and what was returned.
Sync data on a fixed interval
Call the dynamic function repeatedly to keep data in sync between systems, with job report logs showing when each sync completed and whether it succeeded.
Add a condition before the call
Extend this automation to check a condition before calling the function, so the call only runs when specific criteria are met. Add a conditional check to filter when the function executes.
How it works
- Run every 5 minutes. This automation starts on a 5-minute interval without any manual input needed, so the function executes consistently throughout the day.
- Call the dynamic function. Workato Recipe Function receives the call and processes the dynamic payload according to the function logic, returning the result for logging.
- Log the result to job report. The output from the function call is logged to the job report so someone can review execution details, timestamps, and any data returned by the function.