Skip to main content

Add Image Watermark To Word Document using n8n action

PDF4me Add Image Watermark To Word Document enables adding customizable image watermarks to Word documents through n8n automation workflows with comprehensive positioning and styling control. This powerful watermarking feature supports security labels, branding elements, confidentiality notices, and visual stamps with full control over image scaling, transparency levels, positioning alignment, and advanced sizing options, perfect for document security, brand protection, and status indication.

Setup

Add the PDF4me "Add Image Watermark To Word Document" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.

Prerequisites:

  • PDF4me API credentials
  • n8n workflow access

Configuration:

  1. Add PDF4me node to workflow
  2. Select "Add Image Watermark To Word Document" action
  3. Configure input parameters (see below)
Add Image Watermark To Word Document

Parameters

Complete list of parameters for the Add Image Watermark To Word Document action. Configure these parameters to control watermark appearance and placement.

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

ParameterTypeDescriptionExample
Input Data Type***StringWord Document Input Format Selection
• Choose the format of your Word document data input
• PDF4me supports multiple input types
• Options: Binary Data, Base64 String, or URL
Binary Data
Input Binary Field***BinaryBinary Word File Input (Required if Binary Data)
• Reference Word file (.docx, .doc) from previous n8n node or file upload
• PDF4me processes binary Word files with automatic format detection
• Required when Input Data Type is "Binary Data"
{{ $binary.data }}
Base64 Word Content***StringBase64 Encoded Word Input (Required if Base64 String)
• Provide Word content (.docx, .doc) as base64 encoded string for secure transmission
• PDF4me automatically decodes and processes the Word content
• Required when Input Data Type is "Base64 String"
UEsDBBQABgAI...
Word Document URL***StringPublic Word Document URL Input (Required if URL)
• Provide a public/open permission URL to the Word file (.docx, .doc) to be processed
• PDF4me downloads and processes the Word file from the provided URL
• Required when Input Data Type is "URL"
https://abc.com/document.docx
Word Document Name***StringWord Document Input Filename
• Specify the name of the input Word file with proper extension (.docx, .doc)
• PDF4me uses this for format detection and processing optimization
document.docx
Watermark Image***Base64Watermark Image Content
• Base64-encoded content of the image file
• Must be valid image file (PNG, JPG, JPEG, BMP, GIF formats)
• Recommended: Use transparent PNG for best results
iVBORw0KGgoAAAANSUhEUg...
ScaleNumberScaling Factor
• Scaling factor for watermark image
• Range: 0.1 to 10.0
• 0.5 = 50% of original size, 1.0 = original size (default), 2.0 = 200% of original size
• Overridden by Width/Height if provided
1.5
Semi-TransparentBooleanTransparency Control
• Yes - Watermark opacity set to 50%
• No - Watermark opacity set to 100% (default)
• Creates subtle watermark effect when Yes
true
WidthNumberWatermark Width in Points
• Exact width in points (overrides Scale if provided)
• Must be positive value
• If only Width provided, height calculated to maintain aspect ratio
200
HeightNumberWatermark Height in Points
• Exact height in points (overrides Scale if provided)
• Must be positive value
• If only Height provided, width calculated to maintain aspect ratio
150
Center AlignmentBooleanPositioning Control
• Yes - Center watermark on page (default)
• No - Align watermark to top-left within margins
• Controls horizontal and vertical positioning
true
Culture NameStringDocument Culture/Locale
• Culture code for document metadata (e.g., "en-US", "fr-FR", "de-DE")
• Default: null (no culture-specific processing)
en-US

Output

Output Parameters

ParameterTypeDescriptionExample
documentBase64PDF4me generated Word document - Word document with image watermark applied, base64-encoded for use in subsequent workflow actionsUEsDBBQABgAI...
SuccessBooleanPDF4me operation status - Boolean flag indicating the success or failure of the watermark application operation. PDF4me returns true for successful operations and false for any errorstrue
Error MessageStringPDF4me error description - Descriptive error message if the operation failed, null if successful. PDF4me provides clear error messages for troubleshootingnull
ErrorsArrayPDF4me detailed error information - Array of detailed error objects containing error codes and messages. Empty array if successful[]

N8N Action Response

The PDF4me Add Image Watermark To Word Document API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:

JSON Response Format

The raw JSON response from the API:

[
{
"fileName": "word_with_watermark.docx",
"fileSize": 18632,
"success": true,
"originalFileName": "document.docx",
"scale": 1,
"alignImage": true,
"semiTransparent": false,
"cultureName": "en-US",
"message": "Word document with image watermark created successfully"
}
]

Use Cases

Enterprise Document Automation

  • Document Security: Apply security labels and confidentiality notices
  • Brand Protection: Add company logos and branding elements
  • Status Indication: Mark documents with status watermarks (DRAFT, APPROVED, etc.)
  • Document Distribution: Send watermarked documents to stakeholders

AI-Powered Document Processing

  • Multi-Format Support: Process Word documents in .docx and .doc formats
  • Multi-Language Processing: Support for different languages and regions
  • Intelligent Watermarking: Automatic watermark sizing and positioning

Business Intelligence and Analytics

  • Document Management: Organize documents with proper watermarking
  • Compliance Monitoring: Ensure documents meet security requirements
  • Performance Metrics: Track processing accuracy and efficiency

Get Help