Replace Text with Image in Word: Make
The PDF4me Replace Text with Image module finds every occurrence of a placeholder string in a document and replaces it with an image. Make describes the module as Replace text with image in PDF document, and labels its file inputs PDF File Name and PDF File / public file URL. Use it in Make scenarios to insert logos, signatures, seals, charts, or product photos into templates. The Pages field restricts the replacement to the pages you choose.
Working with Word documents? PDF4me also ships a dedicated module for that: see Word - Replace Text with Image. PDF4me Replace Text with Image module inserting a logo into a Word template in Make
Important Facts
Case-Sensitive Matching
Replace Text is matched exactly, [LOGO] and [logo] are different. Use a consistent placeholder format in your templates and replicate it exactly.
Explicit Image Sizing
Image Width and Image Height each accept a whole number from 0 to 500 and both default to 0, so set them when the image has to fit a fixed area such as a signature box.
Flexible Page Targeting
The Pages field takes a single page, a comma-separated list, or a range, for example 1, 1,3,5, 2-4 or all. The first page is 1 and the field defaults to all.
Parameters
⚠️ Required fields must be provided for the module to run. Optional fields control image sizing and page targeting.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Connection*** | String | PDF4me API Connection • Select an existing connection or click Add • Holds the API key used to authenticate the request | My PDF4me connection |
| File*** | Binary/Map | How the source file reaches the module • Pick a storage option such as Dropbox - Download a File • Or choose Map to wire the two file fields below from a preceding module | Map |
| PDF File Name*** | File name | Source file name • Name of the file to process, including its extension • Map it from the file name returned by a previous module | 1. File Name |
| PDF File / public file URL*** | File (binary data) | Source file content • Content (binary data) of the file to process • Map it from the file data returned by a previous module • You can also enter a publicly accessible URL of the file instead | 1. Data |
| Image File*** | File (binary data) | Replacement image • Content (binary data) of the image to insert in place of the text • PNG, JPG, JPEG, BMP, or GIF | 4. Data |
| Replace Text*** | Text | Text to replace • The text to replace with the image, case-sensitive • Every occurrence on the selected pages is replaced | [LOGO] |
| Pages*** | Text | Page selection • Pages to search, for example 1, 1,3,5, 2-4 or all• First page is 1 • Defaults to all | all |
| Image Width*** | Number (whole, 0 or more) | Width of the inserted image • Whole number from 0 to 500 • Defaults to 0 | 150 |
| Image Height*** | Number (whole, 0 or more) | Height of the inserted image • Whole number from 0 to 500 • Defaults to 0 | 50 |
Output Fields
PDF4me may process the request as a background job, and Make waits for the result before the next module runs.
| Field | Type | Description |
|---|---|---|
| Name | File name | File name of the resulting document, map it together with Document into the next module |
| Document | File (binary data) | Content (binary data) of the resulting document, save it to cloud storage or pass it to the next module |
| Document Url | Text | Link to the resulting document. Returned when PDF4me processes the request as a background job (for large files); otherwise empty |
Quick Setup
- Open your Make scenario and add the PDF4me → Replace Text with Image module.
- Click Add next to Connection and enter your PDF4me API key.
- Set File to Map, then wire PDF File Name and PDF File / public file URL from a preceding module.
- Enter the Replace Text placeholder exactly as written in your template (case-sensitive).
- Map the Image File binary from a Get File or HTTP module: use PNG for transparent logos.
- Set Pages (
allby default) and Image Width / Image Height (0 to 500), then click OK and run. The Document output is your updated file.
Workflow Examples
Branded Proposal Generation
Airtable New Record → Get Template (Dropbox) + Get Logo (Dropbox) → Replace Text with Image (Replace Text: [LOGO], Pages: 1, Image Width: 150, Image Height: 60) → Save Proposal → Email Sales Rep.
Every new proposal trigger automatically brands the template, the logo is inserted on page 1, and the finished file is saved and emailed in one scenario run.
Contract Signature Placement
DocuSign Webhook → Get Contract Template → Get Signature Image → Replace Text with Image (Replace Text: SIGN_HERE, Pages: 4, Image Width: 200, Image Height: 50) → Upload to SharePoint.
Finalised contracts have the authorised signature inserted on the signature page only, and the explicit width and height match the signature box in the template layout.
Monthly Report with Dynamic Charts
Scheduled trigger → Query database → Generate chart image (Quickchart API) → Get Report Template → Replace Text with Image (Replace Text: {{CHART}}, Pages: 5-10) → Email Management.
Monthly performance charts are generated from live data and inserted into the analysis pages (5-10) of the report template, no manual chart pasting needed.
FAQ
Is Replace Text case-sensitive?
+
Yes, matching is case-sensitive. The placeholder in your template must be identical to the Replace Text field value, including capitalisation. Recommended placeholder conventions: [LOGO], SIGN_HERE, {{CHART}}, {{PHOTO}}.
What happens if the search text appears on multiple pages?
+
Every occurrence on the selected pages is replaced. Use the Pages field to restrict replacement: it accepts a single page, a comma-separated list, a range, or all, for example 1, 1,3,5 or 2-4.
Can I target only specific pages for image insertion?
+
Yes. The Pages field takes a single page number, a comma-separated list, a range, or all, for example 1, 1,3,5, 2-4 or all. The first page is 1, and the field defaults to all.
What image formats are supported?
+
PNG, JPG, JPEG, BMP, and GIF are all supported. Use PNG for logos or signatures that need a transparent background.
How do I control image size in the output document?
+
Set Image Width and Image Height. Each accepts a whole number from 0 to 500 and each defaults to 0, so set them explicitly when the image has to fit a fixed area such as a signature box.
Related Modules
Add or update headers and footers in Word documents in Make scenarios.
Add digital signatures to PDF documents with certificate-based signing in Make.
Add white space margins to PDF pages for annotation or branding in Make.