See llms.txt for all machine-readable content.

Back to Templates

Print carrier label PDFs via webhook to a Zebra printer with LabelZoom and Slack

Quick overview

This workflow receives a shipping-label PDF URL via webhook, downloads the PDF, and prints it to a cloud-connected Zebra (or other thermal) printer using LabelZoom, returning a success/failed HTTP response and sending a Slack alert if printing does not complete.

How it works

  1. Receives a POST webhook request containing an orderNumber and labelUrl.
  2. Validates that the order number is present and the label URL starts with http/https, otherwise returns HTTP 400.
  3. Downloads the label PDF from the provided URL.
  4. Sends the PDF to LabelZoom Cloud Print to convert and print it on the selected printer, using the order number as an idempotency key and waiting for job completion.
  5. Returns a JSON success response when the print job status is completed.
  6. Posts a failure message to Slack and returns HTTP 502 if the print job errors, times out, or completes with any non-completed status.

Setup

  1. Install and configure the LabelZoom Cloud Print agent on a computer connected to (or able to reach) your Zebra/thermal printer.
  2. Add a LabelZoom API credential in n8n and select your target printer in the LabelZoom print step.
  3. Add Slack credentials and choose the channel to receive alerts for failed print jobs.
  4. Copy the webhook URL from n8n and configure your shipping platform (or call it directly) to POST { "orderNumber": "...", "labelUrl": "https://.../label.pdf" }.

Requirements

  • n8n-nodes-labelzoom community node (verified), v1.3.0 or later
  • LabelZoom account with an API key that has the print scope
  • LabelZoom Cloud Print agent running on a computer that can reach the thermal printer
  • Slack workspace for failed-print alerts
  • A shipping platform or script that can POST the label URL and order number to a webhook

Customization

  • Map a different webhook payload (e.g. Shippo or EasyPost) in Check Order Number, Fetch Label PDF and the idempotency key
  • Set Target DPI to 300 for 300-dpi printers, or Copies for multiple labels per order
  • Raise the Wait for Completion timeout if printers sit behind a slow queue
  • Replace the Slack alert with email, Microsoft Teams or a ticket in your help desk

Additional info

Tested on self-hosted n8n with n8n-nodes-labelzoom v1.3.0, printing to a Zebra GK420d through LabelZoom Cloud Print (currently in public beta). Re-sending the same order number returns the original print job instead of printing a duplicate label.