PDF - Insert Pages

Power Automate Connector: Encodian – PDF

Overview

The 'PDF – Insert Pages' action for Power Automate enables the insertion of pages from one or more documents into a target PDF document.

Credit Count

This action consumes 1 credit per operation.

Note, different Encodian actions can consume different numbers of credits. Please always check the action-specific documentation and read What is an Encodian Action for a full description of how credits are consumed.

Default Options

The default 'PDF - Insert Pages' flow action parameters are detailed below:

  • Output Filename: The filename of the output PDF document
  • File Content: The 'File Content' of the PDF document to add pages to
  • PDF Documents: An array of PDF documents to insert as pages into the PDF Document provided.
    • Filename: The filename of the PDF Document to insert
    • File Content: The 'File Content' of the PDF Document to insert
    • Target Page: The target page to insert the PDF Document as pages from
    • Start Page: Set the page number to start identifying pages from for insertion into the provided PDF Document, defaults to the first page
    • End Page: Set the page number to end identifying pages for insertion into the provided PDF Document, defaults to the last page

Processing a Dynamic Array

The 'PDF Documents' value can also be provided as an array:

The array should conform to the following JSON definition:

{
 "fileContent": "",
 "fileName": "",
 "targetPage":,
 "endPage":,
 "startPage":
}

Consider the following example for populating an array variable within Power Automate:

Return Parameters

The 'PDF - Insert Pages' flow action returns the following data. 

Action Specific Return Values

  • File Content - The processed PDF document

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk