Skip to main content

Add Text Watermark to Word in Power Automate

PDF4me Add Text Watermark to Word action enables adding customizable text watermarks to Word documents in Power Automate with comprehensive styling and positioning control. This powerful text watermarking feature supports security labels, branding elements, confidentiality notices, and status markers with full control over text content, font family, font size, colors, rotation angles, orientation presets, and transparency levels, perfect for document security, brand protection, and status indication 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 Word text watermarking services.

Add Text Watermark to Word Power Automate

Key Features

  • Text Watermark Support: Professional text watermarks with any custom text content
  • Font Customization: Full control over font family, font name, and font size
  • Color Options: Named colors, hex codes, RGB values, and 3-digit hex support
  • Rotation Control: Custom rotation angles (0-360°) or predefined orientation presets
  • Transparency Options: Semi-transparent or fully opaque watermark effects
  • Automatic Sizing: Intelligent sizing based on text length and font size
  • Document-wide Application: Watermarks applied to all sections and headers
  • Behind Text Placement: Watermarks positioned behind document content
  • Culture Support: Locale-specific document metadata handling

Parameters

Complete list of parameters for the Add Text Watermark to Word action. Configure these parameters to control text watermark appearance and styling.

Important: Parameters marked with an asterisk (***) are required. Advanced parameters provide fine-grained control over text styling and positioning.

ParameterTypeDescriptionExample
File Content***Base64Source Word File Content
• Map Word file from previous action output
• Supports Word files from SharePoint, Dropbox, onedrive, email attachments
• Can be dynamically retrieved from flow variables
• Direct base64 can be given in the file content also
• Must be valid Word document (.docx, .doc formats)
[File Content from Get File]
File Name***StringWord Document Name
• Specify Word file name with extension (.docx, .doc)
• Used for processing and output file naming
• Must include proper file extension
• Supports dynamic naming from flow variables
document.docx
Watermark Text***StringText Content for Watermark
• Text to display as watermark
• Required - cannot be null, empty, or whitespace only
• Supports any alphanumeric characters and symbols
• Displayed using WordArt with automatic sizing
• Examples: "CONFIDENTIAL", "DRAFT", "APPROVED"
CONFIDENTIAL
Orientation of The TextStringPredefined Text Orientation
Horizontal - Text displayed horizontally (0°)
Vertical - Text displayed vertically (90°)
Diagonal - Text displayed diagonally (45°)
Upside-Down - Text displayed upside-down (180°)
• Overrides Rotation parameter if provided
• Default: "Horizontal"
• Parameter priority: Orientation > Rotation > Default 0°
Diagonal
Font FamilyStringFont Family Name
• Font family to use for watermark text
• Common fonts: "Arial", "Calibri", "Times New Roman", "Helvetica"
• Default: "Arial"
• Used if Font Name is not specified
• Invalid fonts may use system default
Arial
Font SizeNumber (double)Font Size in Points
• Font size for watermark text in points
• Range: 1 to 1000 points
• Default: 72 points
• Larger sizes create more prominent watermarks
• Affects automatic watermark dimensions
72
Font ColorStringText Color
Named colors: "Red", "Blue", "Green", "Black", "Gray"
Hex format: "#FF0000", "#00FF00", "FF0000" (with or without #)
RGB format: "RGB(255, 0, 0)" or "rgb(255,0,0)"
3-digit hex: "#F00" expands to "#FF0000"
• Default: "#808080" (semi-transparent gray)
#FF0000
Semi TransparencyBooleanTransparency Control
Yes - Watermark opacity set to 50%
No - Watermark opacity set to 100% (default)
• Creates subtle watermark effect when Yes
• Maintains full visibility when No
Yes
RotationNumber (double)Rotation Angle in Degrees
• Custom rotation angle for watermark text (0-360°)
• Allows precise control over rotation angle
• Advanced parameter for fine-tuned positioning
• Default: 0 (no rotation)
• Used as fallback when Orientation is not provided
• Automatic sizing: Width = Max(200, fontSize * textLength * 0.6), Height = Max(50, fontSize * 1.5)
45
Culture NameStringDocument Culture/Locale
• Culture code for document processing (e.g., "en-US", "de-DE", "fr-FR")
• Default: null (no culture-specific processing)
• Affects document language and formatting
• Use valid culture codes for international documents
• Used for metadata and localization handling
en-US

Output

The PDF4me Add Text Watermark to Word action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
documentBase64Word document with text watermark applied
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 Word text watermarking workflows:

Error MessageCauseSolution
"Request is empty"Request object is nullProvide valid request object
"Document is empty"Document object is nullProvide valid Word document
"WatermarkText cannot be null or empty"WatermarkText is null, empty, or whitespace onlyProvide valid text content for watermark
"Watermark text cannot be null or empty."WatermarkText validation failed in helper methodEnsure WatermarkText contains actual text content
"Error adding text watermark"General exception during text watermark processingCheck document format and parameters. Review exception details in Errors array
"Error loading document from bytes"Invalid or corrupted Word documentVerify the input document is a valid Word file (.docx)
"Invalid culture name provided. Skipping metadata."Invalid culture/locale code providedUse valid culture codes (e.g., en-US, fr-FR, de-DE)

Workflow Examples

The PDF4me Add Text Watermark to Word action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Confidential Document Text Watermarking Workflow

Transform your document security with automated confidentiality text watermarks:

Complete Workflow Steps:

  1. Trigger: Sensitive Word document uploaded to confidential SharePoint folder
  2. Get Document: Retrieve Word file from secure library
  3. Add Text Watermark: Insert "CONFIDENTIAL" text watermark
  4. Set Styling: FontFamily = "Arial", FontSize = 72, FontColor = "Red"
  5. Set Orientation: Orientation = "Diagonal" for professional appearance
  6. Set Transparency: SemiTransparency = "No" for full visibility
  7. Email Team: Send watermarked document to authorized users
  8. Archive: Store watermarked file in compliance library

Business Benefits:

  • Watermarks 250+ confidential Word documents monthly automatically
  • Prevents unauthorized distribution with visible security labels
  • Ensures compliance with data protection policies
  • Reduces security incidents by 90%

Industry Use Cases & Applications

Finance & Accounting Use Cases

  • Financial Statement Security: Add "CONFIDENTIAL" text watermarks to financial reports
  • Draft Budgets: Watermark draft budget documents with "DRAFT" status
  • Audit Documents: Apply "AUDIT COPY" text watermarks to audit deliverables
  • Client Reports: Add "© 2024 [Company]" text watermarks to client-facing reports

Get Help