Automated Product Label Generation and Printing Workflow
This workflow automatically receives Webhook requests to gather and integrate detailed information about products and their rolls, generating complete product label data that supports fast and accurate printing. It effectively reduces manual input and data omissions, improving the efficiency and accuracy of label generation. It is suitable for the bulk printing needs of the apparel, textile, and manufacturing industries, optimizing warehouse management and e-commerce shipping processes, thereby enhancing overall business performance.

Workflow Name
Automated Product Label Generation and Printing Workflow
Key Features and Highlights
This workflow automatically retrieves detailed information about products and their associated rolls of material (e.g., fabric rolls) by receiving external Webhook requests. It integrates data from configuration APIs to consolidate and generate comprehensive product label data, enabling fast and accurate label printing. The high level of process automation significantly reduces manual querying and data consolidation complexity.
Core Problems Addressed
- Automates the acquisition and generation of product label information, eliminating manual input and data omissions
- Performs joint queries across multiple data sources (MySQL, Postgres, and configuration APIs) to ensure comprehensive and accurate label information
- Provides rapid response to external requests, supporting real-time online label printing
Application Scenarios
- Batch printing of product and fabric roll labels in apparel, textile, and manufacturing industries
- Quick verification and label printing of product details and inventory rolls in warehouse management
- Automated order-related label generation in e-commerce or production systems to improve shipping efficiency
Main Process Steps
- Receive Webhook Request (emitirEtiqueta): Listens for POST requests to trigger the entire workflow
- Fetch Print Configuration (PegarConfiguracaoImpressao): Calls local configuration API to obtain printing parameters
- Query Product Information (dadosProduto): Retrieves product, brand, specification, and composition details from MySQL database based on product specification ID in the request
- Extract Roll IDs and Query Roll Information (trataRetorno → dadosRolo): Processes the incoming collection of roll object IDs and queries corresponding roll details from the Postgres database
- Merge Product and Roll Data (roloProduto): Combines product and roll information based on movement detail IDs to form complete label data
- Return Final Data for Printing: Sends the consolidated data as a response to prepare for label printing
Involved Systems or Services
- Webhook: Serves as the external trigger entry point
- MySQL Database: Stores core business data including products, brands, specifications, and compositions
- Postgres Database: Stores detailed information about rolls of material (e.g., fabric rolls)
- HTTP Request Service: Calls local configuration API to retrieve printing-related settings
- n8n Built-in Function Nodes: Handles data processing and format transformation
Target Users and Value
- Warehouse managers and logistics personnel in manufacturing enterprises, enhancing label printing efficiency and accuracy
- IT system integration engineers, simplifying multi-source data consolidation workflows
- Business teams requiring rapid response to orders and inventory changes, reducing errors and manual workload through automation
- Any enterprise needing automated generation of multi-dimensional product information labels, boosting automation and intelligence levels
This workflow achieves intelligent management of product label printing through efficient data integration and automated processing, greatly enhancing business process responsiveness and data accuracy.