Skip to main content

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 .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.

Replace Text with Image Word module in Make – insert logos and signatures into .docx templates

PDF4me Replace Text with Image module inserting a logo into a Word template in Make

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.

ParameterDescriptionRequired
ConnectionPDF4me API connection — authenticate with your API keyYes
File NameWord document filename with extension — e.g. proposal.docxYes
DocumentBinary Word document mapped from a preceding moduleYes
Search TextPlaceholder text to find and replace — case-sensitive, e.g. [LOGO], SIGN_HERE, {{CHART}}Yes
Image ContentBinary replacement image — PNG, JPG, JPEG, BMP, or GIFYes
Image WidthWidth in points — Height auto-calculated if Height is omittedNo
Image HeightHeight in points — Width auto-calculated if Width is omittedNo
Maintain Aspect RatioYes (default) preserves proportions; No uses exact Width × HeightNo
Skip First PageYes to skip replacement on the first (cover/title) pageNo
Apply To PagesTarget page set: all / odd / even / first / lastNo
Page NumbersComma-separated pages or ranges — e.g. 1,3,5-7No
Ignore Page NumbersPages to exclude from replacement — e.g. 2,4No
Culture NameLocale code for document processing — e.g. en-US, de-DENo

Output Fields

FieldTypeDescription
NameStringOutput Word document filename
Doc DataBufferUpdated Word document with images inserted — save to cloud storage or convert to PDF

Quick Setup

  1. Open your Make scenario and add the PDF4me → Replace Text with Image module.
  2. Click Add next to Connection and enter your PDF4me API key.
  3. Map the Word document from a preceding module — set File Name (with .docx extension) and Document (binary).
  4. Enter the Search Text placeholder exactly as written in your template (case-sensitive).
  5. Map the Image Content binary from a Get File or HTTP module — use PNG for transparent logos.
  6. Optionally set Image Width and Apply To Pages for sizing and page control, then click OK and run. The Doc Data output 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.

Get Help