Add Text Watermark To Word Document using n8n action
PDF4me Add Text Watermark To Word Document enables adding customizable text watermarks to Word documents through n8n automation workflows 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.
Setup
Add the PDF4me "Add Text 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:
- Add PDF4me node to workflow
- Select "Add Text Watermark To Word Document" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Add Text Watermark To Word Document 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.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Input Data Type*** | String | Word 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*** | Binary | Binary 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*** | String | Base64 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*** | String | Public 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*** | String | Word 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 Text*** | String | Text Content for Watermark • Text to display as watermark, cannot be null, empty, or whitespace only • Supports any alphanumeric characters and symbols • Examples: "CONFIDENTIAL", "DRAFT", "APPROVED" | CONFIDENTIAL |
| Orientation of The Text | String | Predefined Text Orientation • Horizontal - Text displayed horizontally (0°) • Vertical - Text displayed vertically (90°) • Diagonal - Text displayed diagonally (45°) • Upside-Down - Text displayed upside-down (180°) • Default: "Horizontal" • Overrides Rotation parameter if provided | Diagonal |
| Font Family | String | Font Family Name • Font family to use for watermark text • Common fonts: "Arial", "Calibri", "Times New Roman", "Helvetica" • Default: "Arial" | Arial |
| Font Size | Number | 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 | 72 |
| Font Color | String | Text 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 Transparency | Boolean | Transparency Control • Yes - Watermark opacity set to 50% • No - Watermark opacity set to 100% (default) • Creates subtle watermark effect when Yes | Yes |
| Rotation | Number | Rotation Angle in Degrees • Custom rotation angle for watermark text (0-360°) • Allows precise control over rotation angle • Default: 0 (no rotation) • Used as fallback when Orientation is not provided | 45 |
| Culture Name | String | Document Culture/Locale • Culture code for document processing (e.g., "en-US", "de-DE", "fr-FR") • Default: null (no culture-specific processing) | en-US |
Output
Output Parameters
The PDF4me Add Text Watermark To Word Document action returns an array containing an object with the following parameters:
| Parameter | Type | Description | Example |
|---|---|---|---|
| fileName | String | Output Word Document Filename - Name of the generated Word document with text watermark applied, including file extension | word_with_watermark.docx |
| fileSize | Number | Output File Size in Bytes - Size of the generated Word document in bytes | 14553 |
| success | Boolean | Operation Status - Boolean flag indicating the success or failure of the text watermark application operation. Returns true for successful operations and false for any errors | true |
| originalFileName | String | Input Document Filename - Name of the original input Word document that was processed | myWordFile.docx |
| watermarkText | String | Applied Watermark Text - The text content that was applied as the watermark | CONFIDENTIAL |
| orientation | String | Applied Text Orientation - The orientation preset that was applied to the watermark text (Horizontal, Vertical, Diagonal, Upside-Down) | Diagonal |
| fontFamily | String | Applied Font Family - The font family used for the watermark text | Arial |
| fontSize | Number | Applied Font Size - The font size in points used for the watermark text | 72 |
| fontColor | String | Applied Font Color - The color used for the watermark text, typically in hex format | #808080 |
| semiTransparent | Boolean | Transparency Setting - Indicates whether semi-transparency (50% opacity) was applied to the watermark. Returns true if semi-transparent, false if fully opaque | true |
| rotation | Number | Applied Rotation Angle - The rotation angle in degrees applied to the watermark text | 45 |
| cultureName | String | Document Culture/Locale - The culture code used for document processing (e.g., "en-US", "de-DE", "fr-FR"), or null if not specified | en-US |
| message | String | Operation Status Message - Descriptive message indicating the result of the operation | Text watermark added to Word file successfully |
N8N Action Response
The PDF4me Add Text Watermark To Word Document API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
[
{
"fileName": "word_with_watermark.docx",
"fileSize": 14553,
"success": true,
"originalFileName": "myWordFile.docx",
"watermarkText": "CONFIDENTIAL",
"orientation": "Diagonal",
"fontFamily": "Arial",
"fontSize": 72,
"fontColor": "#808080",
"semiTransparent": true,
"rotation": 45,
"cultureName": "en-US",
"message": "Text watermark added to Word file successfully"
}
]
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| fileName | word_with_watermark.docx |
| fileSize | 14553 |
| success | true |
| originalFileName | myWordFile.docx |
| watermarkText | CONFIDENTIAL |
| orientation | Diagonal |
| fontFamily | Arial |
| fontSize | 72 |
| fontColor | #808080 |
| semiTransparent | true |
| rotation | 45 |
| cultureName | en-US |
| message | Text watermark added to Word file successfully |
Schema View
The data structure and types of the response:
1 item
fileName: T word_with_watermark.docx
fileSize: # 14553
success: ☑ true
originalFileName: T myWordFile.docx
watermarkText: T CONFIDENTIAL
orientation: T Diagonal
fontFamily: T Arial
fontSize: # 72
fontColor: T #808080
semiTransparent: ☑ true
rotation: # 45
cultureName: T en-US
message: T Text watermark added to Word file successfully
Type Indicators:
T= String (Text)#= Number☑= Boolean[]= Array
Binary Data View
The actual Word document file data and metadata:
data
─────────────────────────────
File Name: word_with_watermark.docx
File Extension: docx
Mime Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
File Size: 14.6 kB
Binary Data Access:
- n8n Binary Object:
$binary.data.data - Base64 Content: Available for direct use
- File Operations: Ready for download, email, or storage
Use Cases
Enterprise Document Automation
- Document Security: Apply security labels and confidentiality notices
- Brand Protection: Add company branding and status markers
- 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