Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Order → Create Voucher Code

AI-generated

Summary

Builds an Orderly VoucherCode protobuf JSON object from a voucher code string. The value is trimmed and must not be empty.

Inputs

  • voucherCode (required) — Voucher Code string. Defaults to {{$json.Code || $json.voucherCode || ""}}, so it can use an incoming item's Code or voucherCode field.

Output shape

One output item per input item, containing a VoucherCode object with a Code field.

The object is normalized through the Orderly protobuf schema; empty codes raise an error. With Continue On Fail enabled, the affected item instead contains an error message.

Links

Discussion