Split a PDF by page count
Split a PDF document into consecutive parts of a fixed number of pages in your Power Automate flow.
Use this action to split a PDF document into consecutive parts of a fixed number of pages. The last part holds the remaining pages and may be smaller.
This action is rolling out to the published PDF Blocks connector and may not appear in your environment yet. To use it today, import the connector from GitHub as a custom connector.
Parameters
File ContentFilerequiredThe content of the input PDF document.
Page CountInteger NumberrequiredThe number of pages in each output PDF document. The last part holds the remaining pages and may be smaller. The value is 1 or more.
Response
This action returns a list of PDF documents. Add an Apply to each over the Documents output to process every part.
DocumentsArrayThe output PDF documents, in order. Each item has:
- File Name — the name of the PDF document (
00001.pdf,00002.pdf, and so on). - File Content — the content of the PDF document, which you can use as an input to other actions.
- Content Type — the media type of the document (
application/pdf).