Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Container → Create Draft Order ID

AI-generated

Summary

Builds a protobuf JSON DraftOrderId object from an ID string and an optional AccountId object for use in Orderly workflows.

Inputs

  • ID (required) — The draft order UUID string. The default expression reads Id.Value, Id, or id from the incoming item, in that order.
  • Account ID JSON — The whole AccountId object to include. Defaults to the incoming item's AccountId or an empty object; it is omitted from the result when empty.

Output shape

One n8n item per input item, each containing a DraftOrderId JSON object.

The builder trims the ID and errors if it is empty. The object is normalized using the Orderly protobuf schema; unknown fields in the AccountId input are ignored.

Links

Discussion