Run scheduled Ruby code every 5 minutes
Recipe ToolsMarketingDeveloper Tool
What it does
When the clock triggers every 5 minutes, this automation runs Ruby code to transform and split data. Someone can use this to process information on a recurring schedule without manual intervention.
Who it's for
Engineering teams who need to run data transformations and code execution on a fixed schedule.
How teams use this
Process data on a recurring schedule
Run Ruby transformations every 5 minutes to clean, split, and format data without manual steps. The automation handles all code execution and variable management.
Fetch and transform API responses
Extend this automation to include an API call before the Ruby code so responses are fetched, split, and formatted every 5 minutes. Add a request step to retrieve fresh data.
Generate reports from transformed data
Use the scheduled Ruby execution to build reports from transformed data every 5 minutes. The final code step formats everything for downstream systems or storage.
How it works
- Start on a 5-minute schedule. The automation begins every 5 minutes so data transformations and code execution happen on a recurring basis without manual steps.
- Create variable and run Ruby code. Set up a text variable in Workato Custom Code and run Ruby code to return the same data, then split the function and transform it further.
- Execute final Ruby transformation. Run the final Ruby code in Workato Custom Code to format the output and complete the data processing cycle.