PDF Blocks
PDF Blocks is a secure, reliable, and fast service to work with PDF documents in your flow. Actions include: Merge PDF documents, add or remove passwords, watermark documents, remove, extract, reverse, and rotate pages, and more. Check https://www.pdfblocks.com/power-automate for documentation, examples, and tutorials. Users can choose to process their PDF documents in US or European servers to comply with data location requirements.
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Logic Apps | Standard | All Logic Apps regions except the following: - Azure Government regions - Azure China regions - US Department of Defense (DoD) |
Power Automate | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Power Apps | Premium | All Power Apps regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Contact | |
---|---|
Name | PDF Blocks Support |
URL | https://www.pdfblocks.com/support |
[email protected] |
Connector Metadata | |
---|---|
Publisher | Integrable, LLC |
Website | https://www.pdfblocks.com |
Privacy Policy | https://www.pdfblocks.com/privacy |
Categories | Content and Files;Productivity |
PDF superpowers for your workflow
PDF Blocks is a complete set of actions to work with PDF documents in your flow or application.
- High throughput, fast document processing.
- Enterprise-grade encryption.
- 99.99% service-level agreement.
- Choose the location of your servers (US or Europe).
- Private PDF servers available on request.
Contact us ([email protected]) if you have any questions or feature requests.
Get your API key
To use this connector, you need a PDF Blocks account. Try PDF Blocks free for 15 days.
Creating a connection
The connector supports the following authentication types:
Default | Parameters for creating connection. | All regions | Not shareable |
Default
Applicable: All regions
Parameters for creating connection.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
API Key | securestring | Enter your PDF Blocks API key. You can get a free trial API key in https://www.pdfblocks.com/power-automate/try-free | True |
Server Hostname | string | Enter your PDF Blocks server hostname. Leave it blank to use the default server (api.pdfblocks.com) |
Throttling Limits
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 100 | 60 seconds |
Actions
Add a password to a PDF
Protect a PDF document with a password. Encrypt the PDF document to prevent unauthorized access. https://www.pdfblocks.com/docs/power-automate/add-password-to-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Password
|
password | True | string |
The password required to open the file |
Returns
The content of the password protected PDF document
- Password Protected PDF File Content
- binary
Add a text watermark to a PDF
Add a text watermark to a PDF document. Choose from many watermark templates in https://www.pdfblocks.com/docs/power-automate/add-watermark
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
1st Line
|
line_1 | string |
The first line of text of the watermark |
|
2nd Line
|
line_2 | string |
The second line of text of the watermark |
|
3rd Line
|
line_3 | string |
The third line of text of the watermark |
|
Template
|
template | integer |
The id of the watermark template. To see all available templates visit https://www.pdfblocks.com/docs/power-automate/add-watermark-to-pdf |
|
Color
|
color | string |
The color of the text of the watermark |
|
Transparency
|
transparency | integer |
Transparency level for the watermark from 0 (opaque) to 100 (transparent) |
|
Margin
|
margin | double |
Distance in inches from the border of the page to the watermark |
Returns
The content of the watermarked PDF document
- Watermarked PDF File Content
- binary
Add an image watermark to a PDF
Add an image watermark to each page of a PDF document
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Image Content
|
image | True | binary |
The content of the image of the watermark |
Transparency
|
transparency | integer |
Transparency level for the watermark from 0 (opaque) to 100 (transparent) |
|
Margin
|
margin | double |
Distance in inches from the border of the page to the watermark |
Returns
The content of the watermarked PDF document
- Watermarked PDF File Content
- binary
Add restrictions to a PDF
Add restrictions to prevent copying, printing, and modifying a PDF document. https://www.pdfblocks.com/docs/power-automate/add-restrictions-to-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Owner Password
|
owner_password | True | string |
The password required to open and change permissions of the PDF document |
User Password
|
user_password | string |
The password required to open the PDF document |
|
Allow Copy Content
|
allow_copy_content | boolean |
User can copy text and images to the clipboard |
|
Allow Change Content
|
allow_change_content | boolean |
User can change the content of the document |
|
Allow Print
|
allow_print | boolean |
User can print the document |
|
Allow Print High Resolution
|
allow_print_high_resolution | boolean |
User can print the document in high resolution |
|
Allow Comment And Fill Form
|
allow_comment_and_fill_form | boolean |
User can add, edit and modify annotations and fill form fields |
|
Allow Fill Form
|
allow_fill_form | boolean |
User can fill forms fields |
|
Allow Assemble Document
|
allow_assemble_document | boolean |
User can assemble and manipulate the document |
|
Allow Accessibility
|
allow_accessibility | boolean |
Accessibility programs can read text and images |
Returns
The content of the locked PDF document
- Locked PDF File Content
- binary
Extract pages from a PDF
Extract one or more pages from a PDF document. https://www.pdfblocks.com/docs/power-automate/extract-pages-from-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
First Page
|
first_page | integer |
First page of the extracted PDF document |
|
Last Page
|
last_page | integer |
Last page of the extracted PDF document |
Returns
The content of the extracted PDF document
- Extracted PDF File Content
- binary
Merge PDF documents
Combine multiple PDF documents into a single PDF document. https://www.pdfblocks.com/docs/power-automate/merge-pdf-documents
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
1st File Content
|
file_1 | binary |
The content of the 1st PDF document |
|
2nd File Content
|
file_2 | binary |
The content of the 2nd PDF document |
|
3rd File Content
|
file_3 | binary |
The content of the 3rd PDF document |
|
4th File Content
|
file_4 | binary |
The content of the 4th PDF document |
|
5th File Content
|
file_5 | binary |
The content of the 5th PDF document |
|
6th File Content
|
file_6 | binary |
The content of the 6th PDF document |
|
7th File Content
|
file_7 | binary |
The content of the 7th PDF document |
|
8th File Content
|
file_8 | binary |
The content of the 8th PDF document |
|
9th File Content
|
file_9 | binary |
The content of the 9th PDF document |
|
10th File Content
|
file_10 | binary |
The content of the 10th PDF document |
Returns
The content of the merged PDF document
- Merged PDF File Content
- binary
Remove pages from a PDF
Remove one or more pages from a PDF document. https://www.pdfblocks.com/docs/power-automate/remove-pages-from-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
First Page
|
first_page | integer |
First page to remove in the PDF document |
|
Last Page
|
last_page | integer |
Last page to remove in the PDF document |
Returns
The content of the PDF document with some pages removed
- Removed Pages PDF File Content
- binary
Remove restrictions from a PDF
Remove all the restrictions from a PDF document. https://www.pdfblocks.com/docs/power-automate/remove-restrictions-from-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Returns
The content of the PDF document without restrictions
- Unrestricted PDF File Content
- binary
Remove signatures from a PDF
Remove all the signatures from a PDF document. https://www.pdfblocks.com/docs/power-automate/remove-signatures-from-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Returns
The content of the PDF document without signatures
- Non-signed PDF File Content
- binary
Remove the password from a PDF
Remove the password from an encrypted PDF document. The PDF document will no longer require a password to open. https://www.pdfblocks.com/docs/power-automate/remove-password-from-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Password
|
password | True | string |
The password required to open the PDF document |
Returns
The content of the PDF document without password protection
- Unencrypted PDF File Content
- binary
Reverse the pages of a PDF
Reverse the order of the pages of a PDF document. https://www.pdfblocks.com/docs/power-automate/reverse-pages-of-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Returns
The content of the PDF document with the pages reversed
- Reversed PDF File Content
- binary
Rotate pages in a PDF
Rotate one or more pages in a PDF document. https://www.pdfblocks.com/docs/power-automate/rotate-pages-in-pdf
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
File Content
|
file | True | binary |
The content of the PDF document |
Angle
|
angle | True | integer |
The angle of rotation of the page |
First Page
|
first_page | integer |
First page to rotate in the PDF document |
|
Last Page
|
last_page | integer |
Last page to rotate in the PDF document |
Returns
The content of the PDF document with some pages rotated
- Rotated PDF File Content
- binary
Definitions
binary
This is the basic data type 'binary'.