Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Voucher → Create Delivery Query

AI-generated

Summary

Builds a protobuf JSON DeliveryQuery for use with Orderly’s List Deliveries action. Optional query JSON is merged first, then the common fields are applied; the result is normalized against the Orderly schema.

Inputs

  • Account ID JSON — Whole AccountId object to scope the query; defaults to the incoming item’s AccountId or an empty object.
  • Delivery ID JSON — Whole DeliveryId object to filter by; defaults to the incoming item’s DeliveryId or an empty object.
  • Delivery After — Optional lower delivery time bound, passed as DeliveryAfter.
  • Delivery Before — Optional upper delivery time bound, passed as DeliveryBefore.
  • Exclude Batched Deliveries — Boolean filter for ExcludeBatchedDeliveries; defaults to false.
  • Oldest First — Boolean sort option for OldestFirst; defaults to false.
  • Additional Query JSON — JSON object of advanced query fields. Common fields above are applied afterward and override matching fields.

Output shape

One item per input item, containing a single DeliveryQuery JSON object.

The object is converted using the Orderly protobuf schema, which ignores unknown fields and omits implicit default values. Invalid additional JSON or non-object query inputs cause an item error; with Continue On Fail enabled, the item instead contains an error field.

Links

Discussion