PDF Blocks
PricingSupport
Start Free
Go to Page

Add a text watermark to a PDF

Add a text watermark to a PDF document in your Power Automate flow.

Use this action to add a watermark to a PDF document in your Power Automate flow.

Add a text watermark to a PDF
ParametersSettingsCode viewTestingAbout
File Content
File Content
1st Line
The first line of text of the watermark
2nd Line
The second line of text of the watermark
3rd Line
The third line of text of the watermark
Template
1001
Color
Transparency
75
Margin
1
Add a text watermark to a PDF.

Some parameters below are rolling out to the published PDF Blocks connector and may not appear in your environment yet. To use them today, import the connector from GitHub as a custom connector.

Check the available watermark templates in our Catalog.

Parameters

File ContentFilerequired

The content of the input PDF document.

1st LineStringrequired

The first line of text of the watermark. The maximum length is 32 characters.

2nd LineString

The second line of text of the watermark. This field is optional. The maximum length is 32 characters.

3rd LineString

The third line of text of the watermark. This field is optional. The maximum length is 32 characters.

TemplateInteger Numberdefault:1001

The id of the watermark template. Check available templates in our Watermark Template Catalog. This field is optional.

ColorStringdefault:Gray

The color of the text of the watermark. This field is optional. Valid values are Gray, Red, Blue, and Black.

TransparencyInteger Numberdefault:75

The transparency level for the watermark from 0 (opaque) to 100 (transparent). This field is optional. Valid values are integer numbers between 0 and 100.

MarginNumberdefault:1.0

The distance in inches from the border of the page to the watermark. This field is optional. The value must be positive and can be decimal.

PagesString

The pages to stamp, as a comma-separated list of page numbers and ranges (for example 1..3,5). A negative number counts from the end, so -1 is the last page. Leave empty to stamp every page. This field is optional.

Response

Watermarked PDF File ContentFile

The content of the watermarked PDF document. You can use it as an input to other actions in your flow.