That looks like a “Line Item”: https://platform.zapier.com/docs/input-designer#how-to-add-a-line-item-group
Your action will expect the trigger (or previous action step) to return an object that has an array of objects that contain your order details, and Zapier will map that data into an array to send to your API.
Hi,
What is the difference between triggers and actions? I notice your doc says action. Do triggers only support flat level data?
Triggers define events that a user can use to start workflows (Zaps).
Actions define things that the user wants to do with data from triggers, or prior action results.
Line items are only relevant to actions. For a trigger, it’s always the first step in the process - there’s no way to map an array input from another step into it. Trigger inputs are really just about allowing the user to narrow down the events they are interested in using to start workflows.
If your trigger is returning an array, no problem, that’s not something that has to be configured in the input designer.