Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Statistics → Create Delivery Query
AI-generatedSummary
Builds an Orderly DeliveryQuery protobuf JSON object for use with List Deliveries. Combines optional account and delivery IDs, delivery date bounds, batch and sort flags, and advanced query fields, then normalizes the result to the Orderly schema.
Inputs
- Account ID JSON — Whole
AccountIdobject; defaults from$json.AccountIdor{}. - Delivery ID JSON — Whole
DeliveryIdobject; defaults from$json.DeliveryIdor{}. - Delivery After — Optional lower delivery date bound.
- Delivery Before — Optional upper delivery date bound.
- Exclude Batched Deliveries — Boolean flag, default
false, to exclude batched deliveries. - Oldest First — Boolean flag, default
false, to sort oldest deliveries first. - Additional Query JSON — Advanced JSON object merged first; the fields above are then applied and override matching fields. Defaults to
{}.
Output shape
A single n8n item per input item, containing a DeliveryQuery JSON object.
Empty optional values are omitted. The object is converted through the Orderly protobuf schema; invalid JSON objects or schema conversion errors fail the item. With Continue On Fail enabled, errors are returned as an
errorfield instead.