Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Container → Create Voucher Query

AI-generated

Summary

Builds an Orderly VoucherQuery protobuf JSON object to use with a List Vouchers action. Common filters are applied after Additional Query JSON, so they override matching fields from that JSON; the result is converted through the VoucherQuery schema, which ignores unknown fields and omits implicit defaults.

Inputs

  • Available To Account ID JSON — An AccountId object to set as AvailableTo; defaults to an empty object, which is omitted.
  • Provided By Account ID JSON — An AccountId object to set as ProvidedBy; defaults to an empty object, which is omitted.
  • Active On — A date/time value assigned to ActiveOn when nonempty.
  • Include Invisible — Boolean filter for IncludeInvisible. It is added only when true; false is omitted.
  • Deleted — Boolean filter for Deleted. It is added only when true; false is omitted.
  • Additional Query JSON — Advanced query fields merged first. Must be a JSON object; common fields above are applied afterward and take precedence for matching fields.

Output shape

One n8n item per input item, containing a VoucherQuery object in json.

The object is serialized using the Orderly VoucherQuery protobuf schema. Empty optional values and false boolean filters are omitted. 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