# Merge PDF documents

Combine several PDF documents into one, in the order you supply them, in a Power Automate flow. No code, and nothing is stored.

Use this action to combine multiple PDF documents into a single PDF document. The
documents are merged in field order, from the 1st File Content to the 10th.

<PowerAutomateAction
  title="Merge PDF documents"
  caption="Merge PDF documents."
  fields={[
    { label: "1st File Content", kind: "token", value: "1st File Content" },
    { label: "2nd File Content", kind: "token", value: "2nd File Content" },
    { label: "3rd File Content", placeholder: "The content of the 3rd PDF document" },
    { label: "4th File Content", placeholder: "The content of the 4th PDF document" },
    { label: "5th File Content", placeholder: "The content of the 5th PDF document" },
    { label: "6th File Content", placeholder: "The content of the 6th PDF document", advanced: true },
    { label: "7th File Content", placeholder: "The content of the 7th PDF document", advanced: true },
    { label: "8th File Content", placeholder: "The content of the 8th PDF document", advanced: true },
    { label: "9th File Content", placeholder: "The content of the 9th PDF document", advanced: true },
    { label: "10th File Content", placeholder: "The content of the 10th PDF document", advanced: true },
  ]}
/>

<Note>
  The first 5 file fields are displayed by default. To display fields 6 to 10,
  turn on **Show advanced parameters**.
</Note>

<Tip>
  Merging documents that come from a loop or an earlier action? Use
  [Merge PDF documents from an array](/docs/power-automate/merge-pdf-documents-from-an-array)
  instead. It takes a single array and isn't limited to 10 documents.
</Tip>

## Parameters

<ParamField name="1st to 10th File Content" type="File">
  The content of the PDF documents to merge. Each field is optional, and the merged
  document keeps the field order.
</ParamField>

## Response

<ParamField name="Merged PDF File Content" type="File">
  The content of the merged PDF document. You can use it as an input to other actions in your flow.
</ParamField>

## Related actions

<CardGroup cols={2}>

<Card title="Merge from an array" href="/docs/power-automate/merge-pdf-documents-from-an-array">
  Merge an array of documents from a loop, with no 10-file limit.
</Card>

<Card title="Split by page count" href="/docs/power-automate/split-pdf-by-page-count">
  Split a merged document back into fixed-size parts.
</Card>

<Card title="Split at page" href="/docs/power-automate/split-pdf-at-page">
  Cut a document into two parts at a page boundary.
</Card>

<Card title="Extract pages" href="/docs/power-automate/extract-pages-from-pdf">
  Keep only some pages before merging.
</Card>

</CardGroup>
