Read Barcode from PDF in Power Automate
PDF4me Read Barcode from PDF action delivers intelligent barcode recognition in Power Automate with automated extraction of barcode text from single or multiple barcodes embedded in PDF documents. This comprehensive barcode scanning service automatically detects and decodes barcodes 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-Barcode Recognition: Extract text from single or multiple barcodes in one PDF
- 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 PDF 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 |
|---|---|---|---|
| PDF File content*** | Binary | Source Document Binary Data • Map PDF file content containing barcodes • Supports dynamic expressions from previous actions • Compatible with SharePoint, OneDrive, email attachments • Accepts body('Get_file_content') type references | body('Get_file_content') |
| PDF file name*** | String | Source Document Identifier • Specify PDF filename with .pdf extension • Required for document identification • Maintains flow traceability and logging • Supports dynamic naming from flow variables | invoice_001.pdf |
| Barcode Type*** | Option | Barcode Format to Detect • Select specific barcode type for recognition • Improves detection accuracy for known formats • Supports: QR Code, Code128, DataMatrix, Aztec, PDF417, Hanxin • Choose "All" to detect multiple barcode types | QR Code |
Output
The PDF4me Read Barcode from PDF 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 PDF action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Invoice Processing
- Shipping Verification
- Document Routing
- Inventory Verification
Automated Invoice Barcode Extraction Workflow
Transform your accounts payable with automated invoice barcode scanning for data extraction:
Complete Workflow Steps:
- Trigger: New invoice PDF received via email or uploaded to SharePoint
- Get PDF: Retrieve invoice PDF from email attachment or document library
- Read Barcode: Extract invoice number from barcode on invoice
- Lookup: Query Dynamics 365 for matching purchase order using barcode
- Validate: Verify invoice details against PO record
- Extract Data: Get vendor, amount, line items from matched PO
- Route: Send to approval workflow or auto-approve if matched
- Update: Mark invoice as "Processed" with barcode reference
Business Benefits:
- Automates invoice data extraction from 500+ barcoded invoices monthly
- Eliminates manual invoice number entry reducing errors by 95%
- Reduces invoice processing time from 10 minutes to 30 seconds
- Enables instant invoice-to-PO matching with barcode lookup
Automated Shipping Label Barcode Verification Workflow
Streamline your warehouse operations with automated tracking barcode extraction from shipping labels:
Complete Workflow Steps:
- Trigger: Shipping label PDF generated from order system
- Read Barcode: Extract tracking number from shipping label QR code
- Validate Format: Verify tracking number matches carrier format
- Update Order: Add tracking number to order record in system
- Email Customer: Send shipment notification with tracking number
- Carrier API: Submit tracking number to carrier system
- Create Record: Log shipment with tracking barcode reference
- Monitor: Track delivery status using extracted barcode
Business Benefits:
- Processes 1000+ shipping labels daily with barcode extraction
- Eliminates manual tracking number entry saving 5 minutes per shipment
- Ensures 100% accurate tracking number capture
- Enables automatic customer notification with tracking info
Automated Barcode-Based Document Routing Workflow
Optimize your document management with intelligent routing based on extracted barcode data:
Complete Workflow Steps:
- Trigger: Document PDF uploaded to central intake folder
- Read Barcode: Extract document type code from barcode
- Parse Code: Identify document category from barcode prefix
- Route Decision: Determine destination based on barcode content
- Move Document: Transfer to appropriate SharePoint library
- Set Metadata: Apply document type and barcode as metadata
- Notify Team: Alert relevant department of new document
- Track: Log document routing with barcode reference
Business Benefits:
- Routes 2000+ documents monthly automatically with barcode recognition
- Reduces document mis-filing by 98% with barcode-based routing
- Eliminates manual document sorting saving 20 hours weekly
- Maintains complete audit trail with barcode tracking
Automated Inventory Document Barcode Verification Workflow
Enhance your inventory management with automated barcode extraction from receiving documents:
Complete Workflow Steps:
- Trigger: Receiving document PDF uploaded from warehouse scanner
- Read Barcodes: Extract all product SKU barcodes from document
- Parse Data: Split multiple barcode results into individual SKUs
- Loop Products: For each SKU, query inventory database
- Verify: Check if products exist in expected receiving list
- Update Inventory: Increment stock levels for verified products
- Flag Issues: Alert if barcode doesn't match expected delivery
- Complete: Mark receiving document as processed
Business Benefits:
- Processes 300+ receiving documents weekly with barcode scanning
- Improves inventory accuracy by 85% with automated verification
- Reduces receiving time by 60% eliminating manual entry
- Detects receiving discrepancies instantly with barcode validation
Industry Use Cases & Applications
- Accounts Payable & Finance
- Logistics & Shipping
- Warehouse & Inventory
- Healthcare & Medical
Accounts Payable & Finance Use Cases
- Invoice Processing: Extract invoice numbers from barcoded invoices
- Payment Verification: Read payment reference barcodes
- Receipt Processing: Extract transaction codes from receipt barcodes
- Document Indexing: Use barcode data for financial document filing
Logistics & Shipping Use Cases
- Tracking Extraction: Read tracking numbers from shipping labels
- Package Verification: Extract package IDs from delivery documents
- BOL Processing: Read barcode references from bills of lading
- Customs Documents: Extract declaration codes from customs forms
Warehouse & Inventory Use Cases
- Receiving Verification: Read product barcodes from receiving docs
- Stock Documents: Extract SKUs from inventory reports
- Picking Lists: Read location barcodes from pick documents
- Transfer Orders: Extract item codes from transfer documents
Healthcare & Medical Use Cases
- Patient Records: Extract patient ID from barcoded documents
- Lab Reports: Read specimen barcodes from test reports
- Prescription Processing: Extract medication codes from Rx forms
- Medical Billing: Read insurance barcodes from claim documents
Related Blogs
Step-by-step guides to rename PDFs using barcode data: