Desktop guide retained in English. It describes the installed software, not the web beta.

← Back to tutorials

Label Server & Hotfolder Automation Tutorial

Configure Label Server and hotfolders for file-driven label production with validation, queue visibility, retry, archive folders and operator-safe automation.

Purpose

Label Server is the automation layer around Label Studio Creator. It receives files or API requests, validates the job, creates queue entries, and routes the work to print/export/RIP workflows while keeping logs and archives.

Hotfolders are the simplest automation entry point: an ERP, e-commerce system, WMS or operator drops a CSV/JSON/XML job file into a watched folder. The server processes it without manual design work.

Label ServerHotfolderCSV / JSONRESTQueueRetryArchive
Automation rule: start automation in queue/hold mode first. Direct unattended printing is only for workflows that have already been validated on real media and printers.
Hotfolder automation flow Input files become controlled queue jobs /input Label Server done queue error

1. Choose the automation entry point

Entry pointUse whenTypical source
Hotfolder CSVSimple batch jobs with tabular records.ERP export, e-commerce orders, spreadsheet.
Hotfolder JSONStructured job tickets with template, printer, quantity and variables.Web shop, WMS, custom integration.
REST APIReal-time integration with another application.ERP/WMS/web platform.
WebhookExternal system sends an event when an order is ready.Shopify/WooCommerce middleware, MES.
Manual queue importOperator wants automation validation without unattended watching.Local production station.

2. Prepare the workspace folders

A robust hotfolder is more than an input directory. Every job needs a clear destination depending on outcome.

  • input/: new jobs waiting to be picked up.
  • processing/: temporary location while a job is being parsed.
  • done/: completed job files and output references.
  • error/: failed jobs with diagnostic report.
  • logs/: operational logs and audit records.
  • archive/: retained job snapshot for reprint and traceability.
Hotfolder workspace Workspace folders input processing done error logs archive

3. Define a job ticket

A hotfolder file should describe the job explicitly. Avoid relying on folder name conventions alone.

FieldExampleRequired?
templatelabels/product_60x40.lscYes
recordsorders/order_1042.csv or embedded JSON recordsYes for variable data
printerProfileoki_pro1050_clear_pp, epson_cw_matteYes
outputRoutequeue, print, pdf, rip-packageYes
quantity250Yes
proofIdPF-2026-0042Required when proof lock is enabled

4. Validate before printing or exporting

Automation should run the same checks a careful operator would run manually. Failed jobs should go to error/ with a readable report.

GateBlocks when
Template existsMissing template, wrong version, not approved.
Data fieldsRequired values missing, malformed date, duplicate serial, invalid quantity.
Barcode / QRInvalid GS1 AI, bad check digit, too small quiet zone.
Proof approvalNo approved BAT, refused proof, stale proof ID.
InventoryMedia stock below required quantity plus setup waste.
Printer routeUnknown printer/media profile, unavailable queue, RIP bridge offline.

5. Decide queue mode versus direct mode

For new integrations, send all hotfolder jobs to the production queue first. Once the process is proven, selected templates can be allowed to print/export automatically.

  • Queue mode: creates job ticket, waits for operator release.
  • Hold after preflight: useful for proof-sensitive or expensive media jobs.
  • Direct export: safe for repeatable PDF/RIP package generation.
  • Direct print: reserve for fully validated stable jobs.
Automation safety modes Start safe, then automate more Queue mode Hold/review Direct export Direct print

6. Monitor logs, retry and archive

Operator actionUse whenExpected result
RetryTemporary printer, RIP, file lock or network error.Same job ticket re-runs with same snapshot.
CancelWrong order, invalid customer data, duplicate job.Job is marked cancelled and archived for audit.
ReprintDamaged labels, missing quantity, repeat of accepted job.Reprint uses archived job data, not retyped input.
Move to errorValidation failed and cannot be fixed automatically.Original job and error report are retained.

7. Common errors and fixes

SymptomLikely causeRecommended fix
Job stays in input folderServer not running, wrong folder path or permissions.Check server status, watched path and OS permissions.
Job moves to error immediatelyMalformed CSV/JSON or missing required field.Open error report, fix schema and resubmit a new file.
Job prints with wrong templateTemplate mapping not explicit or stale SKU mapping.Require template ID in job ticket and validate version.
Duplicate labels printedFile copied twice or retry created a new job instead of retrying same job.Use job IDs and idempotency checks.
Error file has no useful informationLogging too shallow.Log template, record, validation step, printer route and exception.
Direct print wastes mediaAutomation enabled before physical validation.Return to queue/hold mode and require sample approval.

8. Recommended workflow summary

Label Server hotfolder workflow summary Safe automation flow Watchinput folder Parsejob ticket Validategates Queuehold/release Outputprint/export Archivelogs Automation should improve repeatability without hiding validation, proof, inventory or operator release states.

← Back to tutorials