Reorder the pages of a PDF
Rearrange the pages of a PDF into the exact order you list, in a Power Automate flow, where a repeat duplicates a page and an omission drops it.
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.
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.