Skip to main content
All CollectionsWrk Action LibraryPDF
Retrieve pages from a PDF
Retrieve pages from a PDF
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Create a new PDF that contains the specified pages from an existing pdf. Pages will be written to the new PDF in the order that they are provided.

Application

  • PDF

Inputs (what you have)

Name

Description

Data Type

Required?

Example

PDF file

PDF file to extract pages from

File

Yes

file_name.pdf

Page selection

The page selection to receive. Single pages separated by commas (e.g. 1,3,5) or ranges separated by a dash (e.g. 3-5). A * can be used as an identifier for the last page

Text(Long)

Yes

1,2,3,4-6,8-*

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.


Outputs (what you get)

Title

Description

Data Type

Required?

Extracted PDF file

A PDF containing only the pages requested

file

Yes


​

Outcomes

Name

Description

Success

This status is selected if the pages are successfully retrieved from the PDF.

Impossible To Complete

This status is selected in the event of the following scenarios:

  • Any of the requested pages were not available in the PDF

  • Incorrect page selection entry
    ​
    ​

Requirements

  • N/A
    ​

Version# 1.0

Did this answer your question?