DataMagik icon

DataMagik

DataMagik Manufacturing & Document Automation API

Label → Process Template

AI-generated

Summary

Process a label template with data and optionally resolve serial number tokens via a traceability series ID.

Inputs

  • labelTemplate (required) — ZPL template with tokens such as {{.SerialNumber}} and {{.PartNo}}
  • labelData — Data to substitute in the label template
  • labelSeriesId — Optional series ID for serial number token resolution

Output shape

The DataMagik API response from the label-designer process endpoint, containing the processed label output.

The node sends a POST to /api/label-designer/process with {template, context_data?, series_id?}. If the API returns binary data, it is handled accordingly; otherwise the JSON response is passed through.

Discussion