Overview
The 'Barcode - Read from Document' Power Automate action will automatically locate and read any barcode from either PDF or Microsoft Word documents.
Example Flow
Please refer to the following article showcasing the 'Barcode - Read from Document' Power Automate action: Create and Read Barcodes with Power Automate and Power Apps
Credit Count
The 'Barcode - Read from Document' flow action utilises OCR to detect QR codes within the PDF file provided. This is a resource-intensive operation, therefore a single credit is recorded for every five pages processed, for example, a 10-page document equates to 2 actions.
Default Parameters
The default 'Barcode - Read from Document' flow action parameters are detailed below:
-
File Type: Select the type of file provided
- File Content: A Base64 encoded representation of the file to be processed
Advanced Parameters
The advanced 'Barcode - Read from Document' flow action parameters are detailed below:
- Confidence - Set the confidence level for barcode detection
- Quality - Set the quality level for barcode detection
- Start Page - Set the page number to begin reading from
- End Page - Set the page number to end reading on
- Remove Control Characters - Set whether recognised control characters should be removed
Return Parameters
The 'Barcode - Read from Document' flow action returns the following data.
Action Specific Return Values
- Barcodes -An array of 'Barcode Item' each containing the barcode value
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments