Convert PDF to Excel in Power Automate
What this action does
PDF4me Convert PDF to Excel transforms PDF documents into fully editable Microsoft Excel (.xlsx) spreadsheets inside your Power Automate flow. Automatically extracts tables, line items, numeric data, and form responses as native Excel cells, not flat images. Choose Draft mode for fast native-PDF extraction (1 API call per file) or High mode with AI OCR for scanned documents and complex layouts in 8+ languages (2 API calls per page). Replace manual Smallpdf, iLovePDF, Adobe Acrobat, or Tabula uploads with a single automated action that chains directly into SharePoint, Excel Online, Power BI, Dataverse, Dynamics 365, and any Microsoft 365 workflow.
Authenticating Your API Request
Every PDF4me action in Power Automate requires a valid PDF4me connection. Create one with your API key the first time and Power Automate reuses it across all PDF4me actions in your flows.
Important Facts You Should Not Miss
.xlsx format with MIME type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, compatible with Excel 2007+, Excel Online, Excel for Mac, Microsoft 365, Power BI, Google Sheets, and LibreOffice Calc.
Map File Content and File Name from a prior step, choose Quality Type (Draft for native PDFs, High for scanned), and run, the editable XLSX is returned in the output.
Parameters
Required: File Content, File Name, and Quality Type must all be provided. The action cannot convert without a binary source PDF and a quality selection.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File Content | Required | Content of the PDF to convert. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content. | @{body('Get_file_content')?['$content']} |
| File Name | Required | Name of the PDF to convert, including its extension (for example `invoice.pdf`). Map it from the file name returned by a previous action. | invoice.pdf |
| QualityType | Required | Conversion quality. Each option is charged differently. Options: Draft, High. Defaults to `Draft`. | Draft |
| Language | Optional | Language of the text in the document, as a language code (for example `en`, `de`, `fr`). Used when OCR is needed for scanned pages. | en |
| Merge All Sheets | Optional | If Yes, all worksheets produced by the conversion are merged into a single worksheet. Defaults to `No`. | No |
| Output Format | Optional | Format of the result - an Excel workbook or a CSV file. Leave blank to use the default. Options: , Excel, CSV. | |
| Is Async | Optional | Set to Yes for large files that take a long time to convert, so that PDF4me processes the request as a background job. Defaults to `No`. | No |
Quality Type Options
DraftDefault, fast, 1 API call per fileHighAccurate, 2 API calls per page with OCROutput Fields
| Field | Type | What it contains |
|---|---|---|
File Content | File content | Content of the resulting Excel workbook or CSV file. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file. |
File Name | Text | File name of the resulting Excel workbook or CSV file, as returned by PDF4me. Use it as the file name when saving the file. |
Page Count | Text | Page count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number. |
Quick Setup
- In your Power Automate flow, click + New step and search for PDF4me.
- Select the Convert PDF to Excel action from the PDF4me Connect connector.
- Choose your PDF4me connection or click Add new connection with your API key.
- Map File Content to the binary output of a previous action: typically
Get file content(SharePoint),Get file content using path(OneDrive), Outlook email attachment, or HTTP Response body. - Set File Name dynamically from the prior step (must include
.pdfextension): e.g.triggerOutputs()?['body/Name']. - Choose Quality Type:
- Draft for native PDFs (invoice exports, BI reports, ERP outputs): fast and cost-efficient.
- High for scanned PDFs, photographed bank statements, or complex multi-column tables, applies OCR + table reconstruction.
- Save the flow and test with a sample PDF containing tables.
- Connect the output File Content to your next action: SharePoint Create file, Excel Online Add a row, Power BI dataset refresh, Dynamics 365 record attachment, or Outlook attach to email.
Workflow Examples
Workflow ExamplesCommon Power Automate flow patterns using Convert PDF to Excel.
- An Outlook trigger fires when an email arrives from a known vendor domain with a PDF invoice attachment.
- Convert PDF to Excel runs with Quality Type = Draft (vendor invoices are typically native PDFs from accounting systems).
- The resulting XLSX contains line items (description, quantity, unit price, total) as native Excel rows.
- An Excel Online action reads the rows and posts each as a record into Dynamics 365 Finance, Business Central, or your AP system via HTTP.
- The original PDF and the extracted XLSX are filed in SharePoint with metadata (vendor, amount, invoice number) for audit traceability.
- A scheduled flow runs on the 1st of every month over a "Monthly Reports" SharePoint library containing PDF financial reports from auditors and finance teams.
- For each new PDF, Convert PDF to Excel runs with Quality Type = Draft to produce an editable XLSX with all data tables extracted.
- An Excel Online action appends the data to a master "Consolidated Financials" workbook in SharePoint, partitioned by report category and reporting period.
- A Power BI dataset refresh is triggered on the consolidated workbook, the executive dashboard now reflects the latest figures within minutes of PDF arrival.
- An Adaptive Card in Microsoft Teams notifies the CFO that the monthly close data is ready for review.
- A SharePoint trigger fires when bookkeepers upload scanned bank statement PDFs to a "Statements to Reconcile" library.
- Convert PDF to Excel runs with Quality Type = High (scanned source, OCR + table reconstruction required).
- The OCR-extracted XLSX contains every transaction row (date, description, amount, balance) as editable, sortable Excel cells.
- A Power Automate Apply to each loop matches each transaction to records in Dataverse or the ERP, matched rows are flagged "Reconciled"; unmatched rows route to a Microsoft Teams approval channel for the bookkeeper to investigate.
- The reconciled XLSX is archived to the "Reconciled Statements" SharePoint library with metadata (account, period, match rate) for audit.