Batch list items on a schedule

Recipe ToolsData Parser

What it does

When a scheduled time arrives, this automation parses a JSON document to divide its items into predetermined batches. Someone can then process each batch separately in downstream systems.

Who it's for

Operations teams who need to distribute large datasets into manageable groups for batch processing.

How teams use this

Process payroll in weekly batches

Split employee records into batches of 50 each week so payroll processing stays within system limits. The automation runs every Monday and groups the full roster automatically.

Distribute invoices to accounting teams

Divide a daily invoice list into batches by region so each accounting team processes only their assigned invoices. The batch size adjusts based on team capacity.

Add batch priority levels

Include a priority field in the JSON document so high-value items are processed first within each batch. Set the batch size to 25 and filter urgent items to the front.

How it works

  1. Run on a specified interval. At the scheduled time, this automation starts and prepares to process the list of items from the JSON document.
  2. Parse the JSON document. Extract the list of items from the JSON file so the automation knows how many items exist and can divide them into the predetermined batch size.
  3. Divide items into batches. Loop through each item in the list and accumulate them into batches based on the predetermined batch size, grouping related items together for processing.