Description
n8n-nodes-pdf4me-word
This is an n8n community node that enables you to process Word documents with PDF4ME’s powerful Word processing capabilities. It includes a suite of Word-focused actions such as adding text/image watermarks, extracting metadata, optimizing, comparing, splitting/merging, securing with passwords, updating TOC, replacing text, and updating headers/footers.
n8n is a fair-code licensed workflow automation platform.
Table of Contents
- Installation
- Operations
- Credentials
- Usage
- Resources
- Version History
Installation
Community Nodes (Recommended)
For users on n8n v0.187+, you can install this node directly from the n8n Community Nodes panel in the n8n editor:
1. Open your n8n editor
2. Go to Settings > Community Nodes
3. Search for “n8n-nodes-pdf4me-word”
4. Click Install
5. Reload the editor
Manual Installation
You can also install this node manually in a specific n8n project:
1. Navigate to your n8n installation directory
2. Run the following command:
npm install n8n-nodes-pdf4me-word
3. Restart your n8n server
For Docker-based deployments, add the package to your package.json and rebuild the image:
{
"name": "n8n-custom",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "n8n"
},
"dependencies": {
"n8n": "^1.0.0",
"n8n-nodes-pdf4me-word": "^0.8.0"
}
}
Operations
Below are the available Word operations exposed by this node:
Credentials
To use this node, you need a PDF4ME API key:
1. Sign up for a free account at PDF4ME
2. Navigate to API Keys in your account
3. Generate a new API key
4. Add the API key to your n8n credentials:
– In n8n, go to Credentials > New
– Select PDF4ME Word API
– Enter your API key
– Save the credentials
Usage
Basic Example: Add Watermark to Word Document
This example shows how to add a text watermark to a Word file:
1. Input Node: Use a node that provides a Word file (e.g., HTTP Request, Google Drive, etc.)
2. PDF4me Word Node: Configure with:
– Operation: Add Text Watermark To Word
– Word File Input Method: From Previous Node (Binary Data)
– Binary Data Property Name: data
– Watermark Text: CONFIDENTIAL
– Orientation: Diagonal
– Font Family: Arial
– Font Size: 72
– Font Color: #808080
– Semi Transparent: true
– Rotation: 45
– Culture Name: en-US
– Output File Name: wordwithwatermark.docx
3. Output: The modified Word file with watermark added
Advanced Example: Process Multiple Files
Process multiple Word files with custom watermarks:
1. Loop Node: Iterate over multiple files
2. PDF4me Word Node: Add watermarks to each file
3. Save/Send: Save the processed files or send them via email
Action Details
Below are concise configuration notes for each action. In n8n, set the operation in Pdf4me Word and fill the highlighted fields. Binary I/O defaults to property name data unless you customize it.
#### Add Text Watermark To Word
Word File, Watermark Text, Orientation, Font Family, Font Size, Font Color, Semi Transparent, Rotation, Culture Name#### Add Image Watermark To Word
Word File, Image (binary/base64/URL), Scale/Size, Alignment, TransparencyScale or explicit Width/Height#### Extract Word Metadata
Word File#### Optimize Word Document
Word File, Optimization Level (e.g., Balanced, Maximum)#### Compare Word Documents
Original Word File, Revised Word File, Comparison Options (author, granularity)#### Split Word Document
Word File, Split Mode (Pages, Sections, Headings, Custom Range), Ranges (when applicable)#### Merge Word Documents
Files (multiple Word inputs), Merge Options (order, section breaks)#### Delete Pages From Word
Word File, Pages/Ranges (e.g., 1,3-5)#### Secure Word Document
Word File, Password, Protection Type (ReadOnly, CommentsOnly, FormsOnly)#### Update Table of Contents
Word File, Heading Levels, Show Page Numbers, Tab Leader#### Replace Text
Word File, Find Text, Replace With, Options (match case, whole word, regex), Formatting (optional)#### Update Headers and Footers
Word File, Page Types (First, Odd, Even), Content per sectionInput Options
#### Word File Input Method
#### Watermark Configuration
#### Output Options
Resources
Compatibility
Support
For issues and feature requests:
Version History
0.8.0 (Current)
n8n-nodes-pdf4me-wordLicense
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Keywords
n8n, n8n-community-node-package, word, docx, watermark, pdf4me, office, documents, automation
Author
PDF4me – https://pdf4me.com
Acknowledgments
Built with n8n and powered by PDF4ME API