Skip to main content

Add a Logo Watermark to PDF in Power Automate: Brand Every Document with PDF4me

8 min read
PDF4me Team

Add Image Stamp is a PDF4me action for Power Automate that places an image on a PDF: a logo, a signature block, an approval mark. Unlike a text watermark it needs two inputs, because the image is a file of its own that the flow has to fetch first. This walkthrough builds five steps — Manually trigger a flow, a Dropbox fetch for the document, a second Dropbox fetch for the logo, PDF - Add Image Stamp, and a Dropbox Create file.

Branding documents is the kind of task that gets done carefully for the first month and then quietly stops. Invoices go out unbranded, the design team notices six months later, and nobody can say which clients got which version. A flow that stamps on the way out does not get bored.

The short version

1. Manually trigger a flow → 2. Dropbox, Get file content using path for the document → 3. the same action renamed Get Logo Image for the PNG → 4. PDF - Add Image Stamp, mapping PDF File content from step 2 and Image File Content from step 3, with Pages all, Horizontal Alignment right, Vertical Alignment bottom, Height 0, Width 40 and Transparency 60 → 5. Dropbox, Create file with File Content from the stamp step.

Set Width or Height, never both

Set both and you will stretch the logo, which looks careless in a way people notice without being able to say why. Leave Height at 0, set Width to 40, and the action scales the other to match.

What you are automating​

Add Image Stamp places an image on a PDF. Because the image is a file, not a setting, the flow fetches two things on every run: the PDF to brand and the logo to brand it with. Fetching the logo each run means replacing that file in storage updates every future document — no flow edit, no redeploy.

At a glance​

  1. Manually trigger a flow
  2. Get file content using path for the document
  3. Get Logo Image, a second storage step for the logo
  4. PDF - Add Image Stamp
  5. Create file
The completed Power Automate run adding a logo watermark, every step ticked green
Five steps, because there are two files to fetch.

Why this pattern works​

The logo lives in storage

The flow fetches the image on every run, so replacing the file in storage changes every document from then on. No flow edit, no redeploy.

Binary in, binary out

Add Image Stamp takes the logo as binary content, the same way it takes the PDF, so something has to go and get it.

Named steps stay readable

Renaming the second fetch to Get Logo Image is worth the two seconds. The unrenamed step name tells the next person nothing, and you will be the next person.

Before you start​

Checklist
  • The PDF4me PDF connector in your Power Automate environment.
  • A storage connection. This flow uses Dropbox.
  • The PDF to stamp.
  • A logo image. A PNG with a transparent background gives much the best result.

Build the flow​

Step 1: Manually trigger a flow​

Manually trigger a flow starts the flow.

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

Flow so far: trigger.

  1. Add a Dropbox Get file content using path.
  2. Point it at the document you want branded.
The first Dropbox step, fetching the invoice PDF
Step 2: the first fetch gets the document.

Step 3: Get Logo Image (Dropbox)​

Flow so far: trigger, the document fetch.

  1. Add a second Dropbox Get file content using path.
  2. Point it at the logo image.
  3. Rename the step from Get_file_content_using_path_2 to Get Logo Image.
The second Dropbox step, renamed Get Logo Image, fetching the PNG
Step 3: the same action, a different file, a name that says which.

Step 4: PDF - Add Image Stamp (PDF4me)​

Flow so far: trigger, both fetch steps.

PDF - Add Image Stamp takes four mappings and then positioning.

  1. Add the PDF4me PDF - Add Image Stamp action.
  2. Map the document and the logo, then set the positioning fields in the table below.
FieldValue hereNotes
PDF File content / PDF File Namefrom the invoice stepThe document
Image File Content / Image File Namefrom the logo stepThe stamp
Pagesall
Horizontal Alignmentright
Vertical AlignmentbottomBottom right corner
The PDF4me Add Image Stamp step showing the two mapped inputs and the alignment fields
Two mapped inputs, then the alignment pair.

Scroll down for the size and the margins.

FieldValue hereNotes
Height0Auto. Keeps the aspect ratio
Width40Set one dimension, let the other follow
Margin Horizontal12Keeps it off the page edge
Margin Vertical12
Transparency60Higher than a text watermark
The same step scrolled down, showing Height 0, Width 40 and the margins
Height 0, Width 40: one dimension set, the other scaled.

Transparency at 60 is deliberately higher than the 35 used for a text watermark. A logo in the corner is a mark of origin, not a warning, and it should sit behind the content rather than compete with it.

The end of the step, showing Advanced parameters with Print Only set to No
Advanced parameters: Print Only stays on No.

Step 5: Create file (Dropbox)​

Flow so far: trigger, both fetches, Add Image Stamp.

  1. Add a Dropbox Create file.
  2. Give it the output folder and a file name that marks this as the branded copy.
  3. File Content: from the Add Image Stamp step.
The Dropbox Create file step writing the branded PDF
Step 5: the branded copy lands in the output folder.

Quick reference​

#ActionMain mapping
1Manually trigger a flow
2Get file content using paththe document
3Get Logo Imagethe logo image
4PDF - Add Image StampPDF File content from step 2, Image File Content from step 3, Height 0, Width 40, Transparency 60
5Create fileFile Content from Add Image Stamp

Troubleshooting​

A white box appears around the logo

The image is a JPG, which has no transparency, so it stamps a white rectangle onto the page along with the logo. Use a PNG with a transparent background.

The logo is cut off at the page edge

Increase Margin Horizontal and Margin Vertical. Both are 12 in this flow.

The logo overpowers the document

Lower Width, or raise Transparency.

What to try next​

FAQ​

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

Fetch the PDF and the logo with two storage steps, then add the PDF4me Add Image Stamp action and map both. Set Width and leave Height at 0 so the logo scales proportionally.

Why does my logo look stretched?​

Both Height and Width are set. Set one to 0 and the action keeps the aspect ratio.

What image format works best?​

A PNG with a transparent background. A JPG has no transparency, so it stamps a white rectangle onto the page along with the logo.

Can I put the logo on only the first page?​

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

Point the two fetch steps at your own document and logo, and leave Height at 0.