Skip to main content

Add Text Watermark to Excel in Power Automate

What this action does

PDF4me - Add Text Watermark to Excel stamps a customizable text label - CONFIDENTIAL, DRAFT, APPROVED, a copyright notice, or any string - directly onto Excel worksheets as a WordArt object. You control the text, size preset (50 pt – 150 pt), color, font, bold/italic styling, transparency, rotation angle, and one of nine grid positions. Apply to every worksheet or target specific sheets by name or index. The action runs inside any Power Automate cloud flow and returns the watermarked Excel as binary ready to save to SharePoint, OneDrive, Dropbox, or email.

Authenticating Your API Request

Every PDF4me action in Power Automate requires a connection that holds your API key. Create or select one when you add the action for the first time.

Important Facts You Should Not Miss

WordArt - not a header/footer

The watermark is embedded as a WordArt shape in the worksheet drawing layer. It is visible in both the sheet view and print output, unlike Excel's native header/footer text which appears only when printed.

Worksheet-level targeting

Leave worksheet selectors empty to watermark the entire workbook. Specify sheet names or 0-based indexes to target only certain tabs - useful when a workbook mixes public summary sheets with restricted data sheets.

Chain multiple actions for per-sheet variation

One action applies one watermark style. To stamp different text on different sheets, chain two or more Add Text Watermark to Excel actions in sequence, each targeting distinct sheets, before saving the final file.

Power Automate Add Text Watermark to Excel action showing File Content from SharePoint Get file content, Watermark Text CONFIDENTIAL, Text Size 3, Text Color #FF0000, Position 4

Map File Content from your storage step, enter Watermark Text, and choose size, color, and position.

Parameters

Required: File Content, File Name, and Watermark Text. All other parameters have sensible defaults. Worksheet indexes use 0-based numbering (Index 0 = first sheet).

ParameterRequiredWhat it doesExample
File ContentYesBinary content of the Excel file. Map from a Get file content action in SharePoint, OneDrive, Dropbox, or any storage connector. Must be a valid .xlsx or .xls workbook.SharePoint → File Content
File NameYesFilename including extension (.xlsx or .xls). Used to identify the document being processed. Supports dynamic values from prior flow steps.report.xlsx
Watermark TextYesText to display on each worksheet as a WordArt object. Any alphanumeric string or symbol. Examples: CONFIDENTIAL, DRAFT, © 2025 Acme Corp.CONFIDENTIAL
Text SizeNoSize preset: 1 = 50 pt (Small), 2 = 75 pt (Medium), 3 = 100 pt (Large, default), 4 = 150 pt (Extra Large). Values outside 1–4 fall back to 100 pt.3
Text ColorNoHex code (#FF0000) or named color (Red, Blue, Gray, Black). Defaults to Black. Invalid values fall back to black.#CC0000
Font FamilyNoFont name for the watermark WordArt. Common choices: Arial, Calibri, Times New Roman. Defaults to Arial. Unknown fonts may use the system default.Arial
Is BoldNoSet to true to apply bold weight to the watermark text. Improves readability over busy worksheets. Defaults to false.true
Is ItalicNoSet to true to apply italic style. Useful for softer "Draft" labels. Defaults to false.false
TransparencyNoOpacity from 0 (fully solid) to 100 (invisible). Set 40–60 for subtle watermarks that do not obscure cell data. Defaults to 0.50
Rotation AngleNoAngle in degrees. Positive = clockwise, negative = counter-clockwise. Range: –360 to 360. Use –45 for the classic diagonal watermark.-45
PositionNo0–8 grid code. Top row: 0 = Top-Left, 1 = Top-Center, 2 = Top-Right. Middle: 3 = Mid-Left, 4 = Center (default), 5 = Mid-Right. Bottom: 6, 7, 8.4
Selected Worksheet NamesNoArray of case-sensitive sheet names to watermark. Leave empty to apply to all sheets. Combined with Selected Worksheet Indexes.["Sheet1","Summary"]
Selected Worksheet IndexesNo0-based array of sheet positions to watermark. Index 0 = first sheet. Leave empty to apply to all sheets.[0, 2]

Quick Setup

  1. In your flow, click + New step → search PDF4me → select Add Text Watermark to Excel.
  2. Connect using your PDF4me API key (or choose an existing connection).
  3. Map File Content from your storage step (SharePoint Get file content, OneDrive Get file content, or Dropbox equivalent).
  4. Set File Name to the .xlsx filename (dynamic or static).
  5. Enter Watermark Text - e.g. CONFIDENTIAL, DRAFT, or © 2025 Acme Corp.
  6. Adjust Text Size, Text Color, Transparency, Rotation Angle, and Position to match your branding.
  7. (Optional) Populate Selected Worksheet Names or Selected Worksheet Indexes to target specific sheets only.
  8. Add a Create file or Update file action after this step and map the Document output as the file content to save.

Workflow Examples

Flow ExamplesCommon Power Automate scenarios that use Add Text Watermark to Excel for security marking, draft management, and compliance.
Mark financial reports CONFIDENTIAL before distribution
  1. A scheduled flow runs at month-end when a new report lands in a SharePoint library.
  2. Get file content retrieves the Excel workbook.
  3. Add Text Watermark to Excel stamps "CONFIDENTIAL" - Text Size 4, Color #CC0000, Rotation –45, Transparency 40, all sheets.
  4. Create file saves the watermarked copy to a restricted SharePoint folder.
  5. A Outlook step emails the download link to authorized recipients only.
Approval workflow - DRAFT to APPROVED watermark
  1. A budget spreadsheet is submitted for review via a Power Apps form.
  2. The flow adds a gray diagonal "DRAFT" watermark (Transparency 60, Rotation –45) and emails reviewers.
  3. On approval, a second flow branch runs Add Text Watermark to Excel again with "APPROVED" in green (Color #008000, Transparency 40).
  4. The approved file overwrites the draft in SharePoint and triggers a Teams notification.
Copyright watermark on external data exports
  1. An automated flow exports monthly analytics data from a database to Excel.
  2. Add Text Watermark to Excel stamps "© 2025 Acme Corp - Internal Use Only" in small text (Size 1) at Bottom-Right (Position 8) on only the "Data" and "Charts" sheets.
  3. Selected Worksheet Names is set to ["Data","Charts"] so the cover sheet stays clean.
  4. The watermarked workbook uploads to a client SharePoint portal and a link is sent via Outlook.

Frequently Asked Questions

Does the text watermark appear when the Excel file is printed?+
Yes. The watermark is embedded as a WordArt shape in the worksheet drawing layer, so it appears both on-screen and in printed output. Setting Transparency to 40–60 keeps the watermark visible without obscuring the underlying cell data in print. A Transparency of 0 (fully opaque) may cover data on dense worksheets, so test with your typical layout before deploying.
Can I apply different watermarks to different worksheets in one action?+
A single action applies one watermark configuration. To stamp different text or styles per sheet - for example, "CONFIDENTIAL" on the data tab and "DRAFT" on the summary tab - chain two Add Text Watermark to Excel actions in sequence. Each action receives the output of the previous one as its File Content and targets different worksheet names or indexes.
Which Excel file formats does this action support?+
The action accepts .xlsx and .xls Excel workbooks. Macro-enabled .xlsm files are not supported. The output file is always returned as an .xlsx workbook regardless of the input format, so existing macros in .xlsm files should not be processed through this action.
What happens if I enter an invalid color code?+
If Text Color is not a recognized hex code (e.g. #FF0000) or a standard color name (Red, Blue, Black, Gray), the action falls back to black. Always run a test flow execution first and open the output file to confirm the watermark color renders correctly before scheduling the flow for production use.
Can I watermark only specific worksheets by name?+
Yes. Populate Selected Worksheet Names with an array of exact, case-sensitive tab names such as ["Sheet1","Summary"]. Alternatively, use Selected Worksheet Indexes with 0-based positions like [0, 2]. Leave both fields empty to watermark every sheet in the workbook. The two lists are combined - any sheet matching either list will receive the watermark.

Get Help