Organize line items and add sequence numbers by group

Recipe ToolsMarketingData ParserUtilities

What it does

When a scheduled time arrives, this automation parses source data and groups line items by a specified field. Each group receives sequence numbers starting at 1, and the transformed data is converted into an array ready to use.

Who it's for

Data and analytics teams who need to organize and number line items by group without manual processing.

How teams use this

Number invoice line items by vendor

Group invoice line items by vendor and add a sequence number to each item within that vendor group. Accounting teams can then process invoices with clear item ordering per vendor.

Organize order items by warehouse location

Group order line items by warehouse location and number them sequentially within each location. Operations teams use this to pick and pack orders more efficiently by location.

Add priority ranking within product categories

Extend this automation to group items by product category and add a priority sequence number based on order value or urgency. Include a filter to only process items above a minimum threshold.

How it works

  1. Run on a scheduled interval. This automation starts at a time you specify, such as daily or weekly, to process and transform your line item data.
  2. Parse the source data. Csv Parser reads CSV or JSON source data containing the line items you want to group and number sequentially.
  3. Extract and group items. Loop through each unique group, extract the line items for that group, and add a sequence number starting at 1 for each group.
  4. Convert to array format. Transform the grouped items with their sequence numbers into an array format for downstream use in other systems.