Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Container → Create Voucher Code

AI-generated

Summary

Builds an Orderly VoucherCode protobuf JSON object from a voucher code string. For each input item, it trims the code and returns the resulting object; an empty code causes an error.

Inputs

  • Voucher Code (required) — Code string to place in the output object's Code field. Defaults from $json.Code, then $json.voucherCode, or an empty string.

Output shape

One JSON object per input item, containing the voucher code in Code.

The code is trimmed. Missing or blank values raise an error; with Continue On Fail enabled, that item's output instead contains an error message.

Links

Discussion