Create a repeat helper list every 5 minutes
Recipe ToolsMarketing
What it does
When the Clock triggers on a 5-minute schedule, this automation builds a repeat helper list. Each item is added to a Lookup Table with its size and index so other automations can reference position data.
Who it's for
Engineering teams who need to loop through items and track their position in a sequence.
Apps used
- Scheduler by Workato
- Workato List
- Lookup tables by Workato
How teams use this
Track item position in a loop
Use the repeat helper list to iterate through items while the Lookup Table records the size and index of each one. This setup lets other automations reference where an item falls in the sequence.
Keep helper data fresh on schedule
The 5-minute Clock trigger keeps the repeat helper list and Lookup Table current so downstream automations always work with the latest data. No manual refresh is needed.
Add custom fields to track metadata
Extend the Lookup Table to include additional fields beyond size and index, such as item name or status. This requires adding those fields to the table schema.
How it works
- Start on a 5-minute schedule. The Clock begins this automation every 5 minutes so the repeat helper list and Lookup Table stay current for downstream use.
- Build the repeat helper list. Create a list in the Lookup Table that will be looped through to track each item's position in the sequence.
- Record size and index per item. For each item in the repeat helper list, add an entry to the Lookup Table with the list size and the item's index position.