Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

WebHook → Create Voucher Code

AI-generated

Summary

Builds an Orderly VoucherCode protobuf JSON object from a code string, for use by other Orderly actions or nodes.

Inputs

  • voucherCode (required) — Voucher code string. Defaults to the incoming item’s Code, then voucherCode, or an empty string. The node trims it and errors if it is empty.

Output shape

One item per input item, each containing a single VoucherCode object in its JSON body.

The object contains the code as Code; the value is normalized through the Orderly protobuf schema. With Continue On Fail enabled, an item that errors is returned with an error field.

Links

Discussion