Skip to main content

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.

Read Barcode from PDF Power Automate

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.

ParameterTypeDescriptionExample
PDF File content***BinarySource 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***StringSource 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***OptionBarcode 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 View

Response data in a structured table format:

ParameterTypeDescription
File ContentStringExtracted barcode text data ready for processing in subsequent actions

Workflow Examples

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

Automated Invoice Barcode Extraction Workflow

Transform your accounts payable with automated invoice barcode scanning for data extraction:

Complete Workflow Steps:

  1. Trigger: New invoice PDF received via email or uploaded to SharePoint
  2. Get PDF: Retrieve invoice PDF from email attachment or document library
  3. Read Barcode: Extract invoice number from barcode on invoice
  4. Lookup: Query Dynamics 365 for matching purchase order using barcode
  5. Validate: Verify invoice details against PO record
  6. Extract Data: Get vendor, amount, line items from matched PO
  7. Route: Send to approval workflow or auto-approve if matched
  8. 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

Industry Use Cases & Applications

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

Step-by-step guides to rename PDFs using barcode data:

Get Help