Skip to main content

Create Barcode in Power Automate

PDF4me Create Barcode action delivers professional barcode and QR code generation in Power Automate with support for multiple industry-standard formats including QR Code, DataMatrix, Code128, Aztec, PDF417, and Hanxin. This versatile barcode creation service transforms dynamic flow data into scannable barcodes for inventory management, product labeling, event ticketing, and document tracking across Microsoft 365 workflows.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog →

Authenticating Your API Request​

To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful barcode generation services.

Create Barcode Power Automate

Key Features​

  • Multiple Barcode Formats: Generate QR Code, DataMatrix, Code128, Aztec, PDF417, and Hanxin barcodes
  • Dynamic Data Integration: Create barcodes from flow variables, database queries, and previous action outputs
  • Text Display Control: Show or hide barcode text based on use case requirements
  • Base64 Output: Receive barcode images in Base64 format for universal compatibility
  • Flow Integration: Use generated barcodes in subsequent actions across Microsoft 365 ecosystem

Parameters​

Complete list of parameters for the Create Barcode action. Configure these parameters to control barcode generation.

ParameterRequiredWhat it doesExample
Barcode TypeRequiredType of barcode to create. Options: QrCode, Datamatrix, Code128, Aztec, Pdf417, Hanxin. Defaults to `QrCode`.QR Code
TextRequiredText to encode in the barcode or QR code, for example a URL, reference number or ID.PRODUCT-12345
Hide TextOptionalIf Yes, the encoded text is not shown in the barcode image. Defaults to `Yes`.No

Output​

The PDF4me Create Barcode action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

FieldTypeWhat it contains
Barcode ImageFile contentContent of the resulting barcode image. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file.
File NameTextFile name of the resulting barcode image, as returned by PDF4me. Use it as the file name when saving the file.

Workflow Examples​

The PDF4me Create Barcode action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Inventory Barcode Generation Workflow

Transform your inventory operations with automated barcode creation for new products:

Complete Workflow Steps:

  1. Trigger: New product added to Dynamics 365 or inventory database
  2. Get Data: Retrieve product SKU, name, and category from database
  3. Generate Barcode: Create Code128 barcode with product SKU
  4. Save Image: Store barcode image in SharePoint product folder
  5. Create Label: Generate product label PDF with barcode and details
  6. Email Team: Send barcode and product info to warehouse team
  7. Update Record: Link barcode image to product record in database
  8. Print Queue: Add label to printer queue for physical application

Business Benefits:

  • Automates barcode generation for 500+ new products monthly
  • Eliminates manual barcode creation saving 10 minutes per product
  • Ensures consistent barcode format across inventory system
  • Enables instant product lookup with mobile scanning

Industry Use Cases & Applications​

E-commerce & Retail Use Cases

  • Product Barcodes: Generate barcodes for new inventory items
  • Order Tracking: Create tracking codes for customer orders
  • Price Labels: Generate barcode price labels for retail products
  • Loyalty Programs: Create member QR codes for loyalty tracking

Get Help​