Skip to main content

Add a Watermark to PDF in Power Automate: Stamp Every Issued Copy with PDF4me

9 min read
PDF4me Team

Add Text Stamp is a PDF4me action for Power Automate that writes text across a PDF: a watermark, a status, a copy number. This walkthrough builds a four-action flow that reads a PDF out of Dropbox, stamps CONFIDENTIAL - ISSUED COPY - across it, and writes the result back with Create file. Point a flow at a folder and every document leaving it carries the mark, at the angle and opacity you choose, without anyone applying it by hand.

Watermarks are not really about security. Nobody is stopped by diagonal red text. They are about context: making it obvious at a glance that the page in somebody's hand is a draft, or a copy, or not for circulation. That only works if every copy has it, which is exactly the part a human process gets wrong.

The short version

1. Manually trigger a flow → 2. Dropbox, Get file content using path with Infer Content Type on Yes → 3. PDF, Add Text Stamp: Text CONFIDENTIAL - ISSUED COPY -, Font Size 48, Font Color #FF0000, Pages all, Rotate 45, Transparency 35 → 4. Dropbox, Create file with the destination folder, a file name and File Content from the stamp step.

Test Transparency on paper, not on screen

Transparency at 35 is the setting people get wrong most often. Too opaque and the watermark competes with the text underneath, which makes the document annoying to read and tempts people to go find an unmarked copy. Too faint and it disappears when printed on a cheap office printer, which defeats the purpose. Somewhere around a third is usually right, but test it on your actual output device rather than on screen.

What you are automating​

Add Text Stamp takes the file content, a file name, and then a long list of settings: the text itself, where it lands on the page, and how it is drawn. This flow sets the text to CONFIDENTIAL - ISSUED COPY - in red at font size 48, centres it on every page, turns it 45 degrees and draws it at 35 transparency.

At a glance​

  1. Manually trigger a flow
  2. Get file content using path (Dropbox)
  3. PDF - Add Text Stamp (PDF4me)
  4. Create file (Dropbox)
The completed Power Automate run adding a text watermark, every step ticked green
The completed run, every step ticked green.

Why this pattern works​

The text depends on the moment

"Issued copy", a recipient's name, the date it was sent, a sequential copy number. None of that exists when the template is designed; all of it exists when the flow runs. A watermark baked into a template is the same on every copy, which makes it decoration. One applied at send time can say which copy this is and who got it.

Every copy carries it

Every copy having the mark is exactly the part a human process gets wrong. A watermark on every copy except one is worse than no watermark at all.

Keep the original clean

Write to a different folder from the source, because the unwatermarked original is usually the version you need to keep.

What you need​

Checklist
  • The PDF4me PDF connector in your Power Automate environment.
  • A storage connection. This flow uses Dropbox.
  • A PDF to stamp.

Build the flow​

Step 1: Manually trigger a flow​

Add Manually trigger a flow.

Step 2: Get file content using path (Dropbox)​

Flow so far: trigger only.

  1. Add Dropbox: Get file content using path.
  2. Infer Content Type: Yes.
The Dropbox Get file content using path step with Infer Content Type set to Yes
Step 2: Get file content using path, with Infer Content Type on Yes.

Step 3: PDF - Add Text Stamp (PDF4me)​

Flow so far: trigger, Get file content using path.

  1. Add PDF: Add Text Stamp. It takes the file content, a file name, and then a long list of settings.
  2. The first group is the text itself.
FieldValue hereNotes
TextCONFIDENTIAL - ISSUED COPY -What gets stamped
Font Size48Large enough to read across a page
Font Color#FF0000Hex. Red reads as a warning
Bold / Italics / UnderlineNoRarely helps at watermark size
The PDF4me Add Text Stamp step showing the watermark text, font size 48 and font colour FF0000
The first group of fields is the text.
  1. Scroll down and set where it lands.
FieldValue hereNotes
PagesallEvery page, which is the point
Horizontal Alignmentcenter
Vertical AlignmentmiddleCentre of the page
Horizontal Margin0Ignored when centred
Vertical Margin0
The same step scrolled down, showing Pages all and the alignment and margin fields
The second group decides placement.
  1. Rotate: 45, the classic diagonal. It is not decoration: diagonal text crosses more of the page, so it survives a reader covering part of the sheet, and it sits badly with the horizontal body text in a way that keeps it visible rather than blending in.
The same step showing Rotate set to 45 and the start of the advanced parameters
Rotate set to 45, and the start of the advanced parameters.
  1. Open the advanced parameters and set how it is drawn.
FieldValue hereNotes
Transparency35Somewhere around a third is usually right. Test it on your actual output device
Print OnlyNoShows on screen as well as in print. Yes puts the mark on paper only, which is occasionally what a legal team wants
TransverseNo
Fit Text Over PageNo
The end of the step, showing Transparency 35, Print Only No, Transverse No and Fit Text Over Page No
The advanced parameters, ending at Fit Text Over Page.

Step 4: Create file (Dropbox)​

Flow so far: trigger, Get file content, Add Text Stamp.

  1. Add Dropbox: Create file with the destination folder and a file name.
  2. File Content: the output of the Add Text Stamp step.
  3. Write to a different folder from the source. The unwatermarked original is usually the version you need to keep.
The Dropbox Create file step writing the stamped PDF
Step 4: Create file writes the stamped PDF.

Quick reference​

#ActionWhat to set
1Manually trigger a flow
2Get file content using pathInfer Content Type Yes
3PDF - Add Text StampText CONFIDENTIAL - ISSUED COPY -, Font Size 48, Font Color #FF0000, Pages all, Rotate 45, Transparency 35
4Create fileDestination folder, file name, File Content from the stamp step

Troubleshooting​

The watermark is invisible when printed

Transparency is too high. Lower the number and test on paper.

It covers the text and makes the document hard to read

Transparency is too low, or Font Size is too large for the page.

It only appears on some pages

Check that Pages is all. The field also accepts specific numbers and ranges.

What to try next​

FAQ​

How do I add a watermark to a PDF in Power Automate?​

Add the PDF4me Add Text Stamp action, map File Content from your storage step, set Text, Font Size, Font Color and Rotate, then write the result with Create file.

Can I control how transparent the watermark is?​

Yes. Transparency under advanced parameters. We used 35. Test the value on the printer people will actually use, not on screen.

Can the watermark text be different for each document?​

Yes. Text accepts a dynamic expression, so you can build it from anything in the flow: a recipient name, a date, a copy number.

Can I watermark only some pages?​

Yes. Pages accepts specific numbers and ranges as well as all.

Write to a different folder from the source, and test Transparency on the printer people will actually use.