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.
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.

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.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Barcode Type*** | Option | Industry-Standard Format Selection • QR Code - Universal 2D format for mobile scanning and marketing • DataMatrix - High-density 2D for small labels and industrial use • Code128 - Compact 1D format for logistics and inventory • Aztec - Advanced 2D with superior error correction • PDF417 - Large-capacity 2D format for detailed information • Hanxin - Chinese national standard for local compliance | QR Code |
| Text*** | String | Encoded Data Content • Alphanumeric characters, URLs, product codes, tracking numbers • Supports dynamic content from flow variables • Accepts outputs from previous Power Automate actions • Character capacity varies by barcode type | PRODUCT-12345 |
| Hide Text*** | Option | Text Display Control • Yes - Hide text, display barcode image only • No - Show text alongside barcode for reference • Useful for clean label designs vs. manual verification | No |
Output
The PDF4me Create Barcode action returns comprehensive output data for seamless Power Automate flow integration:
- Table
- JSON
- Flow Integration
Table View
Response data in a structured table format:
| Parameter | Type | Description |
|---|---|---|
| File Content | Base64 | High-quality barcode image encoded in Base64 format for universal compatibility |
JSON Response Format
The raw JSON response from the action:
{
"File Content": "[Base64 Encoded Barcode Image]"
}
Power Automate Flow Usage
Use generated barcode in subsequent actions:
- Email Integration: Attach barcode to Outlook emails for customer delivery
- Document Embedding: Insert barcode into Word/PDF documents
- SharePoint Storage: Save barcode images to document libraries
- Teams Sharing: Send barcodes through Teams channels
- Database Storage: Store barcode data in SQL/Dataverse
- Print Services: Connect to label printers for physical output
Workflow Examples
The PDF4me Create Barcode action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Inventory Management
- Event Ticketing
- Asset Tracking
- Order Tracking
Automated Inventory Barcode Generation Workflow
Transform your inventory operations with automated barcode creation for new products:
Complete Workflow Steps:
- Trigger: New product added to Dynamics 365 or inventory database
- Get Data: Retrieve product SKU, name, and category from database
- Generate Barcode: Create Code128 barcode with product SKU
- Save Image: Store barcode image in SharePoint product folder
- Create Label: Generate product label PDF with barcode and details
- Email Team: Send barcode and product info to warehouse team
- Update Record: Link barcode image to product record in database
- 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
Automated Event Ticket QR Code Workflow
Streamline your event management with automated QR code generation for attendees:
Complete Workflow Steps:
- Trigger: New event registration in Microsoft Forms or Eventbrite
- Extract Info: Get attendee name, email, ticket ID from registration
- Generate QR Code: Create QR code containing attendee ID and event details
- Create Ticket: Generate ticket PDF with QR code and event information
- Email Ticket: Send personalized ticket with QR code to attendee
- Store Copy: Save ticket PDF in SharePoint event folder
- Add to List: Update attendee list in Excel/SharePoint with QR reference
- Track: Log ticket generation in event management system
Business Benefits:
- Generates 1000+ event tickets automatically per event
- Reduces check-in time by 80% with scannable QR codes
- Prevents ticket fraud with unique QR code per attendee
- Enables real-time attendee tracking and analytics
Automated Asset Tracking Barcode Workflow
Optimize your asset management with automated barcode generation for equipment tracking:
Complete Workflow Steps:
- Trigger: New asset registered in asset management system
- Get Details: Retrieve asset ID, serial number, location from database
- Create Barcode: Generate DataMatrix barcode with asset identifier
- Generate Label: Create asset label with barcode and asset details
- Save Record: Store barcode in SharePoint asset documentation
- Notify Team: Send barcode label to facilities team via email
- Print Label: Send to label printer for physical asset tagging
- Update System: Link barcode to asset record for tracking
Business Benefits:
- Automates asset barcode creation for all new equipment
- Enables mobile asset scanning for location tracking
- Reduces asset loss by 60% with barcode identification
- Maintains comprehensive asset audit trail
Automated Order Tracking Barcode Workflow
Enhance your order fulfillment with automated barcode generation for order tracking:
Complete Workflow Steps:
- Trigger: New order confirmed in Dynamics 365 or e-commerce system
- Extract Data: Get order number, customer name, items from order
- Generate Barcode: Create QR code with order tracking number
- Create Label: Generate packing slip with order barcode
- Email Customer: Send order confirmation with scannable barcode
- Update Status: Mark order as "Barcode Generated" in system
- Warehouse Alert: Notify warehouse team with barcode for picking
- Track: Enable customer self-service tracking with QR code
Business Benefits:
- Generates order barcodes for 2000+ orders daily automatically
- Improves order accuracy by 75% with barcode verification
- Enables customer self-service tracking reducing support calls
- Streamlines warehouse picking and packing operations
Industry Use Cases & Applications
- E-commerce & Retail
- Events & Hospitality
- Manufacturing & Logistics
- Healthcare & Medical
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
Events & Hospitality Use Cases
- Event Tickets: Generate QR code tickets for attendees
- Access Control: Create barcodes for venue access management
- Registration: Generate check-in barcodes for event participants
- Wristbands: Create barcode data for event wristband printing
Manufacturing & Logistics Use Cases
- Asset Tracking: Generate barcodes for equipment identification
- Inventory Control: Create barcodes for parts and materials
- Shipping Labels: Generate tracking barcodes for shipments
- Quality Control: Create inspection barcodes for QC tracking
Healthcare & Medical Use Cases
- Patient IDs: Generate barcode patient identifiers
- Specimen Tracking: Create barcodes for lab samples
- Medication Labels: Generate drug identification barcodes
- Equipment Tags: Create asset barcodes for medical devices