Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Statistics → Create Delivery Query

AI-generated

Summary

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 AccountId object; defaults from $json.AccountId or {}.
  • Delivery ID JSON — Whole DeliveryId object; defaults from $json.DeliveryId or {}.
  • 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 error field instead.

Links

Discussion