Mixed PDFs in One Folder? Auto-Classify Them in Power Automate and Route by Document Type
You get a mix of PDFs—invoices, contracts, receipts—and you need them sorted by type so the right workflow handles each one. Doing that by hand doesn't scale.
The fix: Define your classification rules on dev.pdf4me.com (using regex or JavaScript expressions), then run the same classification inside Power Automate: get a PDF (e.g. from Dropbox) → PDF4me Classify Document → use the returned Class Name to route or organize. Classification lives in your PDF4me account; Power Automate just sends the file and gets back the class.
This guide has two parts. Part 1 is on dev.pdf4me.com: where to go and how to set up your first class (e.g. pdf4me_invoice with a regex like invoice(.*)). Part 2 is on Power Automate: a flow (Get file content using path → PDF - Classify Document) and how to read the result. All steps and screenshots are fact-checked from the PDF4me and Power Automate UIs.