Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Statistics → Create Order Query

AI-generated

Summary

Builds an Orderly OrderQuery protobuf JSON object for use with List Orders. It merges Additional Query JSON first, then applies Account ID JSON and Delivery ID JSON when provided; these common fields override matching fields from the additional query.

Inputs

  • Account ID JSON — A whole AccountId object to scope the order query to an account. Defaults from the incoming item’s AccountId, or {}.
  • Delivery ID JSON — A whole DeliveryId object to scope the order query to a delivery. Defaults from the incoming item’s DeliveryId, or {}.
  • Additional Query JSON — An advanced JSON object merged into the query before the account and delivery fields are applied. Defaults to {}; must be a JSON object.

Output shape

One n8n item per input item, containing the built OrderQuery object in json.

The object is converted using the Orderly protobuf schema, which ignores unknown fields and omits implicit defaults. Invalid JSON or a non-object Additional Query JSON causes an error; with Continue On Fail enabled, the item instead contains an error field.

Links

Discussion