Split a PDF into page groups
Split a PDF document into page groups that you define, where each group becomes one output PDF, in your Power Automate flow.
Use this action to split a PDF document into page groups that you define, where each group becomes one output PDF.
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.
GroupsStringrequiredThe groups to split into, separated by ; (semicolon). Within a group, pages and
ranges are separated by , (comma). Each group becomes one output PDF, in written
order. For example, 2..8,29;1 produces two PDFs: the first with pages 2 through 8
then 29, the second with page 1.
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).