Generate sequence numbers on a schedule
Recipe ToolsMarketing
What it does
When the Clock triggers every 5 minutes, this automation generates a sequence number list and logs each cycle to a job report. Someone can track numbered items in order as the sequence increments with each run.
Who it's for
Operations teams who need to generate sequential identifiers for batch processing or audit trails.
Apps used
How teams use this
Generate batch identifiers for processing
Create sequential numbers every 5 minutes to assign unique identifiers to items in a batch. Each cycle produces the next set of numbers so nothing is duplicated across runs.
Track audit trail with sequence IDs
Log numbered sequences to a job report on a schedule so someone can audit which batches ran and in what order. The report becomes a permanent record of all cycles.
Adjust the interval for faster generation
Change the Clock trigger from 5 minutes to 1 minute so sequences are generated more frequently. Only the schedule changes; the sequence logic stays the same.
Add a starting number to sequences
Set an initial value for the sequence variable before the loop starts so numbering begins at a specific point. Include a condition to check the starting value before incrementing.
How it works
- Start every 5 minutes. Clock triggers this automation on a 5-minute interval so sequence generation runs at regular, predictable times.
- Build the repeat list. Create a helper list that defines how many sequence numbers to generate in this cycle so the loop knows when to stop.
- Loop and increment. For each item in the list, update the sequence variable and accumulate the incremental values into a new list for output.
- Log the sequence to the report. Write the generated sequence numbers to a job report so someone can verify the output and track what was created in each cycle.