Actions80
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Image Watermark To Image
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- Add Text Watermark To Image
- AI-Invoice Parser
- AI-Process Contract
- AI-Process HealthCard
- Classify Document
- Compress Image
- Compress PDF
- Convert HTML To PDF
- Convert Image Format
- Convert JSON To Excel
- Convert Markdown To PDF
- Convert PDF To Editable PDF Using OCR
- Convert PDF To Excel
- Convert PDF To PowerPoint
- Convert PDF To Word
- Convert To PDF
- Convert URL to PDF
- Convert VISIO
- Convert Word to PDF Form
- Create Images From PDF
- Create PDF/A
- Create Swiss QR Bill
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Split PDF By Barcode
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Extract Attachment From PDF
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Resources
- Extract Table From PDF
- Extract Text By Expression
- Extract Text From Word
- Fill PDF Form
- Find And Replace Text
- Flip Image
- Flatten PDF
- Generate Barcode
- Generate Document Single
- Generate Documents Multiple
- Get Document From Pdf4me
- Get Image Metadata
- Get PDF Metadata
- Split PDF By Swiss QR
- Get Tracking Changes In Word
- Image Extract Text
- Linearize PDF
- Merge Multiple PDFs
- Overlay PDFs
- Parse Document
- Protect PDF
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Remove EXIF Tags From Image
- Repair PDF Document
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Document
- Rotate Image
- Rotate Image By EXIF Data
- Rotate PDF Page
- Sign PDF
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
This node operation generates a barcode image from a given text input. It supports a wide variety of barcode types, including QR codes, Code 128, EAN, UPC, Data Matrix, and many specialized postal and industrial barcode formats. Users can customize the barcode type, choose whether to display the encoded text alongside the barcode, and configure advanced options such as generating an inline image URL or applying custom profile settings.
This node is beneficial in scenarios where automated barcode generation is needed for labeling, inventory management, shipping, ticketing, or document processing workflows. For example, it can be used to generate QR codes for URLs, product barcodes for retail, or postal barcodes for mailing systems.
Properties
| Name | Meaning |
|---|---|
| Text | The text content to encode into the barcode. This is the data that will be represented by the generated barcode image. |
| Barcode Type | The format/type of barcode to generate. Options include a large selection such as QR Code, Code 128, EAN-13, UPC-A, Data Matrix, Aztec, PDF417, and many postal and industry-specific barcode standards. |
| Hide Text | Boolean option to hide or show the human-readable text alongside the barcode image. If true, the text will not be displayed with the barcode. |
| Binary Data Output Name | Custom name for the binary output data field in the node's output. Defaults to "data". This allows users to specify how the barcode image binary data is referenced downstream in the workflow. |
| Advanced Options | Collection of additional optional settings: - Generate Inline URL: Whether to produce an inline image URL instead of raw binary data. - Custom Profiles: JSON string to adjust barcode generation properties (see external docs). |
Output
The node outputs the generated barcode image as binary data. The binary data contains the image file representing the barcode in a suitable format (e.g., PNG). The output binary property name can be customized via the "Binary Data Output Name" property.
If the "Generate Inline URL" advanced option is enabled, the output may also include an inline image URL representation of the barcode image.
The json output field typically contains metadata about the generated barcode or the original input text, depending on implementation details, but primarily the useful output is the binary image data.
Dependencies
- Requires access to the Pdf4me API service or similar backend capable of generating barcode images.
- Needs proper API authentication configured in n8n credentials to interact with the barcode generation service.
- The "Custom Profiles" advanced option references external documentation at https://dev.pdf4me.com/documentation/ for detailed configuration of barcode generation parameters.
Troubleshooting
Common Issues:
- Invalid or unsupported barcode type selected may cause errors or no output.
- Input text that does not conform to the requirements of the chosen barcode type (e.g., length or character restrictions) may result in generation failure.
- Missing or incorrect API credentials will prevent barcode generation.
- Improperly formatted JSON in the "Custom Profiles" advanced option can cause parsing errors.
Error Messages:
- Authentication errors indicate missing or invalid API keys; verify credential setup.
- Validation errors related to barcode type or text input suggest checking the input values against supported formats.
- JSON parsing errors for custom profiles require ensuring valid JSON syntax.
Links and References
- Pdf4me Barcode Generation Documentation: https://dev.pdf4me.com/documentation/
- General Barcode Types Reference: https://en.wikipedia.org/wiki/List_of_barcodes