Add Text Watermark To Image using n8n action
PDF4me Add Text Watermark To Image adds custom text watermarks to images through n8n automation workflows. Process images via n8n triggers, binary data, base64 strings, or public URLs to overlay text (copyright notices, company names, custom text) with customizable positioning (corners, center, diagonal, custom coordinates), font selection, size control, color options, transparency settings, rotation angles, and offset adjustments. This solution is ideal for image branding, copyright protection, watermarking, batch image processing, social media preparation, and automated text overlay workflows that require professional text watermarks with flexible formatting and seamless integration.
Setup
Add the PDF4me "Add Text Watermark To Image" 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 Image" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Add Text Watermark to Image action. Configure these parameters to control text watermark application.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Input Image Data Type | Required | Choose how to provide the image file to watermark. Options: Base64 String, Binary Data, URL. Default is `Binary Data`. | Binary Data |
| Base64 Image Content | Conditional | Base64 encoded image content. Shown when Input Image Data Type is Base64 String. | iVBORw0K... |
| Input Binary Field | Conditional | Name of the binary property that contains the image file. Shown when Input Image Data Type is Binary Data. Default is `data`. | data |
| Image URL | Conditional | URL to the image file. Shown when Input Image Data Type is URL. | https://abc.com/sam.jpg |
| Output File Name | Optional | Name for the output image file with watermark. Default is `image_with_text_watermark.jpg`. | image_with_text_watermark.jpg |
| Watermark Text | Optional | Text to be used as watermark. Default is `PDF4me Sample Text`. | PDF4me Sample Text |
| Text Position | Optional | Position of the watermark text on the image. Options: Bottom Left, Bottom Right, Central Horizontal, Central Vertical, Custom, Diagonal, Top Left, Top Right. Default is `Bottom Left`. | Bottom Left |
| Position X | Conditional | X position for custom positioning (float). Shown when Text Position is Custom. Default is `0`. | 0 |
| Position Y | Conditional | Y position for custom positioning (float). Shown when Text Position is Custom. Default is `0`. | 0 |
| Font Family | Optional | Font family for the watermark text. Default is `Arial`. | Arial |
| Font Size | Optional | Font size for the watermark text (integer). Default is `50`. | 50 |
| Text Color | Optional | Text color in hex format. Default is `#b4351a`. | #b4351a |
| Bold | Optional | Whether to make text bold. Default is `Yes`. | Yes |
| Underline | Optional | Whether to make text underlined. Default is `No`. | No |
| Italic | Optional | Whether to make text italic. Default is `Yes`. | Yes |
| Opacity | Optional | Text opacity (0.0 to 1.0). Default is `1`. | 1 |
| Rotation Angle | Optional | Rotation angle for the text (float). Default is `0`. | 0 |
| Binary Data Output Name | Optional | Custom name for the binary data in n8n output. Default is `data`. | data |
Output
Output Parameters
| Field | Type | What it contains |
|---|---|---|
success | Boolean | True when the operation succeeded. |
message | String | Status message, `Image with text watermark created successfully`. |
fileName | String | File name of the resulting file. |
mimeType | String | Always `image/jpeg`, whatever the format of the input image. |
fileSize | Number | Size of the resulting file in bytes. |
textPosition | String | Text Position that was used. |
watermarkText | String | Watermark Text that was added. |
data | Binary | The image with the text watermark. |
N8N Action Response
The PDF4me Add Text Watermark To Image 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:
[
{
"success": true,
"message": "Text watermark added successfully",
"fileName": "image_with_text_watermark.jpg",
"mimeType": "image/jpeg",
"fileSize": 245760
}
]
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| success | true |
| message | Text watermark added successfully |
| fileName | image_with_text_watermark.jpg |
| mimeType | image/jpeg |
| fileSize | 245760 |
Schema View
The data structure and types of the response:
1 item
success: ☑ true
message: AB Text watermark added successfully
fileName: AB image_with_text_watermark.jpg
mimeType: AB image/jpeg
fileSize: # 245760
Type Indicators:
AB= String#= Number☑= Boolean
Binary Data View
The actual watermarked image file data and metadata:
data
─────────────────────────────
File Name: image_with_text_watermark.jpg
File Extension: jpg
Mime Type: image/jpeg
File Size: 240.0 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
Professional Image Branding
- Add company names and copyright notices to product images for brand protection
- Create branded social media content with consistent text watermark placement
- Implement copyright protection for digital photography and artwork with custom text
Automated Content Processing
- Batch text watermark processing for large image collections
- Integrate text watermarking into content management workflows
- Automate image preparation for e-commerce and marketing materials with dynamic text
Enterprise Image Management
- Standardize text branding across multiple departments
- Implement automated text watermarking for document and image workflows
- Create consistent visual identity with custom text overlays across all digital assets
Dynamic Text Watermarking
- Generate time-stamped watermarks for document versioning
- Add location-based text watermarks for geographic content
- Create personalized text watermarks with user-specific information