Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Container → Create Draft Order ID
AI-generatedSummary
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, oridfrom the incoming item, in that order. - Account ID JSON — The whole AccountId object to include. Defaults to the incoming item's
AccountIdor 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.