Skip to main content

Pull PDF Tables into One Excel Sheet in Power Automate: A 4-Action Dropbox Flow

9 min read
PDF4me Team

Convert PDF to Excel is a PDF4me action for Power Automate that turns the tables inside a PDF into a real spreadsheet. This walkthrough builds the four-action flow around it: a manual trigger, Dropbox Get file content using path, Convert PDF to Excel, and Dropbox Create file. It reads /pdf4metest/PdfToExcel/May Timesheet.pdf and writes an XLSX you can actually calculate with back to Dropbox. Swap the path for yours and keep the wiring.

The short version

1. Manually trigger a flow → 2. Dropbox, Get file content using path with Infer Content Type on Yes → 3. Convert PDF to Excel: QualityType Draft, Merge All Sheets Yes, Output Format Excel, Is Async No → 4. Dropbox, Create file with File Name taken from the PDF4me response headers.

Infer Content Type is not optional in practice

With Infer Content Type off, the file arrives from Dropbox as an untyped binary and the conversion step rejects it — usually with a message that makes it look like the PDF is the problem.

What you are automating​

Everyone who has retyped a timesheet into Excel knows the specific misery of it. Not the difficulty, the tedium, and the fact that you will transpose two digits somewhere around row forty and not find out until the totals disagree. Converting the PDF instead removes the typing and the transposition together.

At a glance​

  1. Manually trigger a flow
  2. Get file content using path (Dropbox) fetches the PDF
  3. Convert PDF to Excel (PDF4me) does the work
  4. Create file (Dropbox) writes the spreadsheet back
The completed Power Automate run converting a PDF to Excel, every step ticked green
The completed run: trigger, Get file content, Convert PDF to Excel, Create file.

Why this pattern works​

No retyping, no transposition

The numbers come off the page as the converter read them, so the digits nobody wants to retype never get retyped.

One continuous sheet

With Merge All Sheets on Yes, a multi-page timesheet lands on one worksheet you can sum in a single formula.

XLSX or CSV

Output Format decides which, so the same flow serves a person opening the file and a system reading it.

Before you start​

Checklist
  • The PDF4me Convert connector added to your Power Automate environment.
  • A storage connection. This flow uses Dropbox.
  • A PDF with tables in it. This flow reads /pdf4metest/PdfToExcel/May Timesheet.pdf.

Build the flow​

Step 1: Manually trigger a flow​

Add Manually trigger a flow as the trigger.

Step 2: Get file content using path (Dropbox)​

Flow so far: trigger.

  1. Add Dropbox: Get file content using path.
  2. The path to your PDF. This flow uses /pdf4metest/PdfToExcel/May Timesheet.pdf.
  3. Infer Content Type: Yes.
The Dropbox Get file content using path step reading the timesheet PDF
Step 2: the PDF comes in as bytes.

Step 3: Convert PDF to Excel (PDF4me)​

Flow so far: trigger, Get file content using path.

  1. Add Convert PDF to Excel.
  2. Map File Content and File Name from the Dropbox step.
  3. Set the fields in the table below. Four of them decide what you get.
FieldValue used hereEffect
QualityTypeDraftReads the PDF's existing text layer. Fast
LanguageemptyOnly needed with High on a non-English scan
Merge All SheetsYesEvery page lands on one worksheet
Merge All SheetsNoOne worksheet per page
Output FormatExcelXLSX. Switch to CSV if a system downstream wants it
Is AsyncNoWaits for the result
The PDF4me Convert PDF to Excel step with QualityType Draft, Merge All Sheets Yes and Output Format Excel
Step 3: QualityType Draft, Merge All Sheets Yes, Output Format Excel.
The advanced parameters of the same step with Is Async set to No
The advanced parameters of the same step: Is Async stays on No.

Merge All Sheets is the one to decide deliberately. For a multi-page timesheet where every page continues the same table, Yes gives one continuous sheet you can sum in a single formula. For a report where page one is a summary and page two is a different breakdown entirely, No keeps them apart and saves you unpicking them later.

Step 4: Create file (Dropbox)​

Flow so far: trigger, Get file content, Convert PDF to Excel.

  1. Add Dropbox: Create file and set the output folder.
  2. File Name: take it from the PDF4me response headers.
  3. File Content: the output of the convert step.
The Dropbox Create file step writing the XLSX with File Name taken from the response headers
Step 4: the response supplies the file name.

Let the response supply the file name. It already carries the right extension, which matters here because an XLSX saved as .pdf will not open.

Output check​

A PDF does not contain a table. It contains text drawn at coordinates, and the converter infers the table from how that text lines up. That inference is very good on ruled tables with visible borders. It gets harder with tables separated only by whitespace, merged cells, or a column of numbers right aligned against a column of text left aligned.

Check one file before you run this at volume

Convert one representative document, open it, and look at the column boundaries. If a conversion comes out wrong, the fix is nearly always in the source PDF's layout rather than in the settings.

Quick reference​

#ActionWhat to set
1Manually trigger a flowAdd it as the trigger
2Get file content using pathThe path to your PDF, Infer Content Type Yes
3Convert PDF to ExcelQualityType Draft, Merge All Sheets Yes, Output Format Excel, Is Async No
4Create fileOutput folder, File Name from the response headers, File Content from the convert step

Troubleshooting​

Empty worksheet

The PDF is a scan. Switch QualityType to High, or run OCR first.

Every page on its own sheet when you wanted one

Merge All Sheets is No. Set it to Yes to append every page's table to a single worksheet.

The conversion rejects the file

Check Infer Content Type on the Dropbox step before looking anywhere else.

What to try next​

FAQ​

How do I convert PDF to Excel in Power Automate?​

Add the PDF4me Convert PDF to Excel action, map File Content from your storage step, set Merge All Sheets according to whether the pages form one table or several, and write the result with Create file.

Can I get all pages onto a single worksheet?​

Set Merge All Sheets to Yes and every page's table is appended to one sheet — the setting for a multi page timesheet or statement.

Does it work on scanned PDFs?​

Set QualityType to High so the action runs OCR first. On a scan with no text layer, Draft has nothing to read and will return an empty sheet.

Can I output CSV instead of Excel?​

Yes. Change Output Format from Excel to CSV. Useful when the spreadsheet is going straight into another system rather than to a person.

Set the output folder to one of yours, use the path to your own PDF, and decide Merge All Sheets from the shape of the document rather than from this post.