# Split a PDF into page groups
Split a PDF into page groups you define, where each group becomes one output document, in a Power Automate flow.
Use this action to split a PDF document into page groups that you define, where each
group becomes one output PDF.
<PowerAutomateAction
title="Split a PDF into page groups"
caption="Split a PDF into page groups."
fields={[
{ label: "File Content", kind: "token", value: "File Content", required: true },
{ label: "Groups", placeholder: "The groups to split into, for example 2..8,29;1", required: true },
]}
/>
## Parameters
<ParamField name="File Content" type="File" required>
The content of the input PDF document.
</ParamField>
<ParamField name="Groups" type="String" required>
The 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.
</ParamField>
## Response
This action returns a list of PDF documents. Add an **Apply to each** over the
**Documents** output to process every part.
<ParamField name="Documents" type="Array">
The 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.
</ParamField>
## Related actions
<CardGroup cols={2}>
<Card title="Split at page" href="/docs/power-automate/split-pdf-at-page">
Cut the document into two parts at a page boundary.
</Card>
<Card title="Split by page count" href="/docs/power-automate/split-pdf-by-page-count">
Split into fixed-size parts.
</Card>
<Card title="Extract pages" href="/docs/power-automate/extract-pages-from-pdf">
Keep just one group of pages.
</Card>
<Card title="Reorder pages" href="/docs/power-automate/reorder-pages-of-pdf">
Rearrange pages into a new order.
</Card>
</CardGroup>
Split a PDF into page groups
Split a PDF into page groups you define, where each group becomes one output document, in a Power Automate flow.
Use this action to split a PDF document into page groups that you define, where each group becomes one output PDF.
ParametersSettingsCode viewTestingAbout
File Content
File Content
Groups
The groups to split into, for example 2..8,29;1
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.