Read Barcode from Image in Power Automate
PDF4me Read Barcode from Image action delivers intelligent barcode recognition in Power Automate with automated extraction of barcode text from single or multiple barcodes embedded in image files. This comprehensive barcode scanning service automatically detects and decodes barcodes from PNG, JPEG, TIFF, BMP, and other image formats for data extraction, automated document processing, inventory verification, and order tracking—transforming manual barcode scanning into automated workflows across Microsoft 365 ecosystem.
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 document processing services.

Key Features
- Multi-Format Support: Extract barcodes from PNG, JPEG, TIFF, BMP, GIF, and WebP images
- Multi-Barcode Recognition: Extract text from single or multiple barcodes in one image
- 150+ Barcode Types: Support for QR Code, Code128, DataMatrix, Aztec, PDF417, and more
- Automatic Detection: Intelligent barcode recognition without position specification
- Text Extraction: Decode barcode data for use in subsequent flow actions
- Flow Integration: Pass extracted barcode text to database, email, or business logic
Parameters
Complete list of parameters for the Read Barcode from Image action. Configure these parameters to control barcode extraction.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Content*** | Binary | Source Image Binary Data • Map image file content containing barcodes • Supports dynamic expressions from previous actions • Compatible with SharePoint, OneDrive, email attachments • Accepts body('Get_file_content') type references• Supports PNG, JPEG, TIFF, BMP, GIF, WebP formats | body('Get_file_content') |
| File Name*** | String | Source Image Identifier • Specify image filename with extension (.png, .jpg, .tiff, etc.) • Required for image identification • Maintains flow traceability and logging • Supports dynamic naming from flow variables • Example: Image.png, photo.jpg, scan.tiff | Image.png |
Output
The PDF4me Read Barcode from Image 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 | String | Extracted barcode text data ready for processing in subsequent actions |
JSON Response Format
The raw JSON response from the action:
{
"File Content": "ORDER-12345-ABC"
}
Power Automate Flow Usage
Use extracted barcode data in subsequent actions:
- Database Lookup: Query Dynamics 365 or SQL using barcode data
- Conditional Logic: Route documents based on barcode content
- Email Automation: Send notifications with extracted barcode info
- Document Processing: Use barcode as filename or metadata
- API Integration: Pass barcode data to external systems
- Approval Workflows: Trigger approvals based on barcode content
Workflow Examples
The PDF4me Read Barcode from Image action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Mobile Photo Processing
- Receipt Processing
- Inventory Verification
- Event Check-In
Automated Mobile Photo Barcode Extraction Workflow
Transform your mobile document processing with automated barcode scanning from customer photos:
Complete Workflow Steps:
- Trigger: Customer uploads product photo via Microsoft Forms or SharePoint
- Get Image: Retrieve image file from form submission or document library
- Read Barcode: Extract product SKU from barcode in photo
- Lookup Product: Query Dynamics 365 for product details using SKU
- Validate: Verify product exists and is active
- Extract Data: Get product name, price, availability from database
- Respond: Send product information back to customer
- Log: Track product lookup requests for analytics
Business Benefits:
- Processes 1000+ customer photo uploads daily with barcode extraction
- Eliminates manual product lookup reducing response time by 90%
- Enables instant product identification from customer photos
- Improves customer experience with automated product information
Automated Receipt Barcode Extraction Workflow
Streamline your expense management with automated barcode scanning from receipt images:
Complete Workflow Steps:
- Trigger: Employee uploads receipt image via Teams or SharePoint
- Get Image: Retrieve receipt image from upload location
- Read Barcode: Extract transaction code or receipt number from barcode
- Validate Format: Verify barcode matches expected receipt format
- Extract Data: Get transaction details from receipt OCR or database
- Create Expense: Generate expense record in Dynamics 365
- Email Confirmation: Send expense confirmation to employee
- Route Approval: Forward expense to manager for approval
Business Benefits:
- Processes 500+ receipt images weekly with barcode extraction
- Eliminates manual receipt data entry saving 5 minutes per receipt
- Ensures 100% accurate receipt identification
- Accelerates expense reimbursement processing
Automated Inventory Photo Barcode Verification Workflow
Optimize your warehouse operations with automated barcode extraction from inventory photos:
Complete Workflow Steps:
- Trigger: Warehouse staff uploads product photo via mobile app
- Get Image: Retrieve product image from mobile upload
- Read Barcodes: Extract all product SKU barcodes from image
- Parse Data: Split multiple barcode results into individual SKUs
- Loop Products: For each SKU, query inventory database
- Verify: Check if products match expected inventory list
- Update Stock: Increment or adjust stock levels for verified products
- Flag Issues: Alert if barcode doesn't match expected product
Business Benefits:
- Processes 300+ inventory photos daily with barcode scanning
- Improves inventory accuracy by 85% with automated verification
- Reduces inventory counting time by 60% eliminating manual entry
- Detects inventory discrepancies instantly with barcode validation
Automated Event Check-In QR Code Workflow
Enhance your event management with automated QR code scanning from attendee photos:
Complete Workflow Steps:
- Trigger: Event staff uploads attendee ticket photo via Teams
- Get Image: Retrieve ticket image from upload
- Read QR Code: Extract attendee ID from QR code on ticket
- Lookup Attendee: Query event database for attendee details
- Verify Status: Check if attendee is registered and paid
- Check In: Mark attendee as checked in with timestamp
- Send Confirmation: Email check-in confirmation to attendee
- Update Dashboard: Refresh event attendance dashboard
Business Benefits:
- Processes 2000+ event check-ins daily with QR code scanning
- Reduces check-in time from 2 minutes to 10 seconds per attendee
- Eliminates manual attendee lookup improving accuracy by 100%
- Enables real-time attendance tracking and analytics
Industry Use Cases & Applications
- Retail & E-commerce
- Logistics & Shipping
- Warehouse & Inventory
- Events & Hospitality
Retail & E-commerce Use Cases
- Product Identification: Extract product SKUs from customer photos
- Price Verification: Read price barcodes from product images
- Order Tracking: Extract order numbers from shipping label photos
- Return Processing: Read return codes from return label images
Logistics & Shipping Use Cases
- Package Tracking: Read tracking numbers from package photos
- Delivery Verification: Extract delivery codes from delivery images
- Label Processing: Read barcodes from shipping label photos
- Proof of Delivery: Extract delivery confirmation codes
Warehouse & Inventory Use Cases
- Stock Verification: Read product barcodes from inventory photos
- Receiving Processing: Extract SKUs from receiving document images
- Location Tracking: Read location barcodes from warehouse photos
- Asset Management: Extract asset IDs from equipment photos
Events & Hospitality Use Cases
- Ticket Scanning: Read QR codes from ticket photos for check-in
- Access Control: Extract access codes from badge images
- Registration: Read registration codes from attendee photos
- Loyalty Programs: Extract member codes from loyalty card images