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.
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 ContentFilerequiredThe content of the input PDF document.
1st LineStringrequiredThe first line of text of the watermark. The maximum length is 32 characters.
2nd LineStringThe second line of text of the watermark. This field is optional. The maximum length is 32 characters.
3rd LineStringThe third line of text of the watermark. This field is optional. The maximum length is 32 characters.
TemplateInteger Numberdefault:1001The id of the watermark template. Check available templates in our Watermark Template Catalog. This field is optional.
ColorStringdefault:GrayThe color of the text of the watermark. This field is optional. Valid values are Gray, Red, Blue, and Black.
TransparencyInteger Numberdefault:75The 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.0The 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.
PagesStringThe 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 ContentFileThe content of the watermarked PDF document. You can use it as an input to other actions in your flow.