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 | Yes | Binary content of the source PDF file. Map from any prior action that returns file bytes: SharePoint Get file content, OneDrive Get file content, Outlook email attachment, Forms file upload, HTTP Request, or Get file content using path. | File Content (binary) |
| File Name | Yes | Filename of the source PDF including the .pdf extension. Used for identification during processing and to derive the default output filename (replacing .pdf with .xlsx). Map dynamically from prior step variables. | invoice-2026.pdf |
| Quality Type | Yes | Conversion quality mode. Draft for native born-digital PDFs with selectable text (1 API call per file, fast and cost-efficient). High for scanned PDFs, image-based PDFs, or complex multi-column layouts (2 API calls per page with OCR and table reconstruction). | Draft |
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 | Binary | Converted XLSX file as binary content. Map directly into downstream actions: SharePoint Create file, OneDrive Create file, Excel Online (Business) Add a row, Power BI dataset refresh, Outlook Send an email attachment, or Dynamics 365 Record attachment. |
File Name | String | Output filename of the generated Excel spreadsheet (e.g. invoice-2026.xlsx). Derived from the input File Name with the .pdf extension replaced by .xlsx. Use directly as the filename in SharePoint or OneDrive Create file actions. |
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.