Reorder the pages of a PDF
Rearrange the pages of a PDF document into a new order in your Power Automate flow.
Use this action to rearrange the pages of a PDF document into a new order. Pages left out are dropped, and a page listed more than once is repeated, so this action doubles as a combined extract-and-reorder.
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 OrderStringrequiredThe desired page order, as a comma-separated list of page numbers and ranges (for
example 3,1,2). A range may run backwards, so 10..5 walks from page 10 down to
page 5. A negative number counts from the end, so -1 is the last page. Pages left
out are dropped; a page listed more than once is repeated.
Response
Reordered PDF File ContentFileThe content of the reordered PDF document. You can use it as an input to other actions in your flow.