Replace Text with Image in Word – Make
The PDF4me Replace Text with Image module finds every occurrence of a placeholder string in a Word document and replaces it with an image — inline, sized, and positioned exactly as you configure. Use it in Make scenarios to insert logos, signatures, seals, charts, or product photos into PDF4me Replace Text with Image module inserting a logo into a Word template in Make.docx templates without opening Word. Page filtering lets you restrict the replacement to specific pages, page types (odd/even/first/last), or custom page ranges.
Important Facts
Case-Sensitive Matching
Search Text is matched exactly — [LOGO] and [logo] are different. Use a consistent placeholder format in your Word templates and replicate it exactly.
Smart Aspect Ratio Control
Set only Image Width and Height is calculated automatically, or set both and disable Maintain Aspect Ratio for exact fixed-size dimensions — ideal for signature boxes.
Flexible Page Targeting
Apply To Pages, Page Numbers (ranges like 1,3,5–7), and Ignore Page Numbers can be combined to insert images only on the exact pages you need.
Parameters
⚠️ Required fields must be provided for the module to run. Optional fields control image sizing and page targeting.
| Parameter | Description | Required |
|---|---|---|
| Connection | PDF4me API connection — authenticate with your API key | Yes |
| File Name | Word document filename with extension — e.g. proposal.docx | Yes |
| Document | Binary Word document mapped from a preceding module | Yes |
| Search Text | Placeholder text to find and replace — case-sensitive, e.g. [LOGO], SIGN_HERE, {{CHART}} | Yes |
| Image Content | Binary replacement image — PNG, JPG, JPEG, BMP, or GIF | Yes |
| Image Width | Width in points — Height auto-calculated if Height is omitted | No |
| Image Height | Height in points — Width auto-calculated if Width is omitted | No |
| Maintain Aspect Ratio | Yes (default) preserves proportions; No uses exact Width × Height | No |
| Skip First Page | Yes to skip replacement on the first (cover/title) page | No |
| Apply To Pages | Target page set: all / odd / even / first / last | No |
| Page Numbers | Comma-separated pages or ranges — e.g. 1,3,5-7 | No |
| Ignore Page Numbers | Pages to exclude from replacement — e.g. 2,4 | No |
| Culture Name | Locale code for document processing — e.g. en-US, de-DE | No |
Output Fields
| Field | Type | Description |
|---|---|---|
Name | String | Output Word document filename |
Doc Data | Buffer | Updated Word document with images inserted — save to cloud storage or convert to PDF |
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.
- Map the Word document from a preceding module — set File Name (with
.docxextension) and Document (binary). - Enter the Search Text placeholder exactly as written in your template (case-sensitive).
- Map the Image Content binary from a Get File or HTTP module — use PNG for transparent logos.
- Optionally set Image Width and Apply To Pages for sizing and page control, then click OK and run. The
Doc Dataoutput is your updated Word file.
Workflow Examples
Branded Proposal Generation
Airtable New Record → Get Template (Dropbox) + Get Logo (Dropbox) → Replace Text with Image (Search: [LOGO], Width: 150) → Save Proposal → Email Sales Rep.
Every new proposal trigger automatically brands the template — logo inserted, aspect ratio preserved — and the final .docx is saved and emailed in one scenario run.
Contract Signature Placement
DocuSign Webhook → Get Contract Template → Get Signature Image → Replace Text with Image (Search: SIGN_HERE, Apply To Pages: last, Maintain Aspect Ratio: No, Width: 200, Height: 50) → Upload to SharePoint.
Finalised contracts have the authorised signature inserted on the last page only — exact dimensions 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 (Search: {{CHART}}, Page Numbers: 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 Search Text case-sensitive?
+
Yes — matching is case-sensitive. The placeholder in your Word template must be identical to the Search Text field value, including capitalisation. Recommended placeholder conventions: [LOGO], SIGN_HERE, {{CHART}}, {{PHOTO}}.
What happens if the search text appears on multiple pages?
+
All instances are replaced by default. Use Apply To Pages (first, last, odd, even), Page Numbers (ranges like 1,3,5-7), or Ignore Page Numbers to restrict replacement to specific pages.
Can I target only specific pages for image insertion?
+
Yes. Apply To Pages targets all, odd, even, first, or last. Page Numbers accepts comma-separated numbers and ranges (e.g. 2-4,6). Ignore Page Numbers excludes specific pages. Skip First Page is a quick toggle to exclude the cover page.
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 — transparency is preserved when inserting into the Word document.
How do I control image size in the output document?
+
Set Image Width (in points) and the height is auto-calculated to preserve the aspect ratio. Set both Width and Height and disable Maintain Aspect Ratio for exact dimensions — useful for signature boxes that must fit a fixed area. Omit both to use the image's native dimensions.
Related Blogs
Automate personalized document generation using mail merge templates in Make scenarios.
Turn branded HTML templates into PDFs automatically using Make and PDF4me.
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.