Create list from an array on schedule

Recipe ToolsMarketing

What it does

When a specified interval triggers, this automation retrieves unique items from an array and builds a new list with a defined size. The list is then ready for downstream processes that need to work with each item.

Who it's for

Engineering teams who need to transform array data into structured lists on a recurring schedule.

How teams use this

Build a daily deduped dataset

Run this automation each morning to transform raw array data into a clean list of unique items with a fixed size. The structured list is then available for reports or downstream processes that depend on consistent data.

Process batch items in workflow

Use the created list to start a separate workflow that handles each item. Only the list size and source array need to change for different batch scenarios.

Filter items by a condition before building

Add a condition step after retrieving unique items so only values that meet specific criteria are included in the final list. This requires a filter rule based on item properties.

How it works

  1. Start on a specified interval. Clock begins this automation at the scheduled time so the array processing runs automatically without manual intervention.
  2. Retrieve unique items from array. Extract distinct values from the source array to eliminate duplicates before the list is built.
  3. Set list size and repeat. Define the target list size (for example, 5 items) and repeat the append operation that many times to build the final list.
  4. Accumulate items to the new list. Add each unique item to the list one by one until the defined size is reached and the list is complete.
  5. Log completion to Job report. Record the list creation result in the job report so the outcome is tracked and visible for monitoring.