Skip to main content

Delete Watermark from Excel in Power Automate

PDF4me Remove Watermark from Excel action enables removal of watermarks and shapes from Excel documents in Power Automate with precise control and flexible targeting. This powerful cleanup feature supports deletion of specific watermarks by shape ID/name or removal of all shapes from worksheets, with flexible worksheet selection by name or index (1-based), and culture-specific localization support, perfect for document finalization, rebranding preparation, and automated watermark cleanup across Microsoft 365 workflows.

Authenticating Your API Request

To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful Excel watermark deletion services.

Delete Watermark from Excel Power Automate

Key Features

  • Selective Deletion: Delete specific watermarks by ID or remove all shapes
  • Worksheet Targeting: Apply to specific worksheets by name or index, or all worksheets
  • Shape Name Matching: Find and remove shapes by exact name match
  • Batch Processing: Remove watermarks from multiple worksheets in single operation
  • Culture Support: Specify culture codes for localization during processing

⚠️ Critical Warning: When WatermarkId is empty, ALL shapes are removed from selected worksheets, including watermarks, charts, images, drawings, and text boxes. Use with extreme caution!

Parameters

Complete list of parameters for the Delete Watermark from Excel action. Configure these parameters to control watermark deletion.

Important: Parameters marked with an asterisk (***) are required. Worksheet indexes use 1-based numbering (1 = first worksheet).

ParameterTypeDescriptionExample
File Content***Base64Source Excel File Content
• Map Excel file from previous action output
• Supports Excel files from SharePoint, OneDrive, email attachments
• Can be dynamically retrieved from flow variables
• Must be valid Excel document (.xlsx, .xls formats)
[File Content from Get File]
File Name***StringExcel Document Name
• Specify Excel file name with extension (.xlsx, .xls)
• Used for processing and output file naming
• Must include proper file extension
• Supports dynamic naming from flow variables
data.xlsx
Watermark IDStringSpecific Watermark Shape Name
• Name/ID of specific watermark to delete - searches for shapes with matching Name
✅ Safe (Specified): Removes ONLY matching shapes, preserves all other shapes (charts, images, etc.)
⚠️ Dangerous (Empty): Executes worksheet.Shapes.Clear() - removes ALL shapes (watermarks, charts, images, drawings, text boxes) - cannot be undone
Case-sensitive exact match: "Confidential" ≠ "confidential" ≠ "CONFIDENTIAL"
• ⚠️ Use empty value ONLY if you want to remove everything
Confidential_Watermark
Worksheet NamesArrayTarget Worksheet Names
• List of worksheet names to process
Selection Logic: If has values → Process those named worksheets. If both parameters have values → Process worksheets matching EITHER (union). If BOTH empty → Process ALL worksheets
• Case-sensitive worksheet names
["Sheet1", "Summary"]
Worksheet IndexesArrayTarget Worksheet Indexes (1-based)
• List of worksheet indexes to process
1-based indexing: Index 1 = first worksheet, Index 2 = second worksheet, etc. (Valid range: 1 to total worksheet count)
Selection Logic: If has values → Process those indexed worksheets. Union with WorksheetNames
• Empty = apply to all worksheets (if names also empty)
[1, 3]
Culture NameStringCulture Code for Localization
• Culture/locale code for processing
• Examples: "en-US", "de-DE", "fr-FR"
• Empty string uses default culture
• Default: "" (empty)
en-US

Output

The PDF4me Delete Watermark from Excel action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
documentBase64Excel document with watermark(s) removed
SuccessBooleantrue if operation successful, false if failed
Error MessageStringError description (null if successful)
ErrorsArrayList of detailed error information (empty array if successful)

Common Error Messages

Understanding and troubleshooting errors helps ensure smooth Excel watermark deletion workflows:

Error MessageCauseSolution
"Request is empty"Request object is nullProvide valid request object
"Document is empty"Document object is nullProvide valid Excel document
"Invalid worksheet selection"Worksheet name doesn't exist or index out of rangeUse valid worksheet names or indexes (1-based)
"Available worksheets in workbook (X total)"Informational message when worksheet validation failsReview worksheet names/indexes and use valid values from 1 to X

Note: No error is thrown if WatermarkId doesn't exist - operation completes silently.

Workflow Examples

The PDF4me Delete Watermark from Excel action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Draft Watermark Removal on Approval Workflow

Transform your document approval process with automated watermark removal:

Complete Workflow Steps:

  1. Trigger: Document approved in approval workflow system
  2. Get Draft Document: Retrieve Excel file with "DRAFT" watermark
  3. Delete Draft Watermark: Set WatermarkId = "DRAFT_Watermark"
  4. Apply to All Sheets: Leave WorksheetNames and WorksheetIndexes empty
  5. Verify Removal: Confirm watermark no longer present
  6. Add Approved Stamp: Optional - add "APPROVED" watermark (separate action)
  7. Email Distribution: Send final document to distribution list
  8. Archive Final: Store approved version in final documents library

Business Benefits:

  • Removes draft watermarks from 100+ approved documents monthly
  • Ensures clean final appearance without draft markings
  • Automates document finalization saving 30 minutes per document
  • Prevents distribution of draft-marked final documents

Industry Use Cases & Applications

Legal & Professional Services Use Cases

  • Document Finalization: Remove "DRAFT" watermarks from approved legal documents
  • Client Delivery: Clean internal watermarks from client-facing deliverables
  • Privilege Cleanup: Remove privilege watermarks from public filings
  • Rebranding: Update law firm watermarks during merger/rebrand

Get Help