Skip to main content

Replace Text with Image in Word in Make

Replace Text with Image in Word is a Make module by PDF4me that swaps a text placeholder inside a DOCX file for an image such as a signature, logo, or stamp. Use it to personalize contracts, certificates, and letters. The module takes a Word buffer plus an image and returns the finished document ready to send.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog

Authenticating Your API Request

To access the PDF4me Web API through Make, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Make scenarios and PDF4me's Word image replacement services.

Important Facts You Should Not Miss

Search Text is case sensitive
The placeholder match is exact and case sensitive. A template placeholder written as SIGNATURE will not be found by a Search Text of signature, so keep the casing identical on both sides.
Two files in, one document out
The module needs both the Word document and the image as binary buffers. Map each from its own prior download module, then read the finished document from the Doc Data output.
Target pages precisely
Pages accepts a single number, a list like 1,3,5, a range like 2-4, or all. Combine it with Skip first page to leave a cover page untouched during the replacement.
PDF4me Replace Text with Image In Word module in Make showing Connection, Word File Name, Word File, Image Filename with extension, Image File, Search Text SIGNATURE, and Pages all

Map the Word file and the image from separate download steps, set Search Text to the placeholder, and set Pages to all to replace it everywhere.

What is Replace Text with Image in Word in Make?

Replace Text with Image in Word is Make's PDF4me module for swapping a text marker in a DOCX file for a picture. It accepts a Word document, an image, and a search term, then returns the document with the image inserted at each match. Unlike editing each file by hand, this module personalizes documents at scale inside an automated scenario.

Parameters

ParameterRequiredWhat it doesExample
ConnectionRequiredPDF4me connection holding your API key. Click Add and paste your key from dev.pdf4me.com/dashboard if connecting for the first time.My PDF4me connection
Word File NameRequiredFilename of the source Word document including the .docx extension. Map it from the prior module output.1. File Name
Word File / public file URLRequiredBinary Word content from a prior download module Data field, or a public URL that points to the document.1. Data
Image Filename with extensionRequiredFilename of the image to insert, including its extension such as .png or .jpg.9. File Name
Image FileRequiredBinary image content mapped from a prior download module Data field.9. Data
Search TextRequiredThe placeholder text to find and replace with the image. Case sensitive.SIGNATURE
PagesRequiredPages to apply the replacement to. Single page 1, list 1,3,5, range 2-4, or all.all
Skip first pageOptionalIgnore the first page when searching for the text. Yes or No.No
CultureOptionalLanguage and region code for document processing, such as en-US.en-US

Output

FieldTypeWhat it contains
NameStringOutput Word filename with the image inserted, derived from the Word File Name input. Use it in the destination upload module.
Doc DataBufferBinary DOCX content with the placeholder replaced by the image. Map it into a cloud upload, an email attachment, or a Word to PDF conversion step.

How does the Replace Text with Image module work in Make?

The module scans the pages you select for the exact Search Text, then substitutes each match with the mapped image while preserving the surrounding layout. It returns a new DOCX and leaves the original untouched. The most common use is dropping a signature or seal image into a contract at a fixed placeholder. Microsoft documents the manual equivalent in its Word help center. For scenario building patterns, see the Make help center.

Typical Setups

Insert signatures into contracts
  1. Trigger when a contract is ready in cloud storage.
  2. Download the DOCX and the signature PNG from their steps.
  3. Set Search Text to SIGNATURE and Pages to all.
  4. Convert the result to PDF and send it for records.
Drop a logo into templated letters
  1. Read letter data and download the template.
  2. Map the logo image and set Search Text to LOGO.
  3. Upload the personalized DOCX to SharePoint.
Stamp a seal on one page
  1. Download the document and the seal image.
  2. Set Search Text to SEAL and target Pages to the specific page.
  3. Use Skip first page to avoid the cover.

Practical Tips

Search Text is case sensitive
Keep the casing identical between the template placeholder and Search Text. SIGNATURE will not match Signature.
Use a unique placeholder
Choose an unlikely marker such as SIGNATURE or LOGO so it never collides with ordinary body text.
Pages accepts ranges
Use a single page 1, a list 1,3,5, a range 2-4, or all. Combine with Skip first page to exclude a cover.
Map both filename and data pairs
Provide Word File Name plus Word File, and Image Filename plus Image File, mapped from their own download steps.
Original is preserved
The module returns a new DOCX and leaves the source untouched. One credit per document.

Cheat Sheet

FieldValue
ModulePDF4me > Replace Text with Image In Word
ConnectionYour PDF4me connection
Word File Name1. File Name
Word File / public file URL1. Data
Image Filename with extension9. File Name
Image File9. Data
Search TextSIGNATURE
Pagesall
OutputDoc Data (DOCX with image)
Credits1 per document

Common Questions

How do I insert a signature in a Word document with Make?+
Add the PDF4me Replace Text with Image In Word module, map the Word document and the signature image from their download steps, set Search Text to your placeholder such as SIGNATURE, choose the Pages, then run. The module inserts the signature wherever the placeholder appears and returns the finished document on the Doc Data output.
How do I replace a text placeholder with an image in Word?+
Put a unique placeholder such as SIGNATURE or LOGO in your Word template, then set Search Text to that exact string. The module finds the placeholder and swaps it for the mapped image. The match is case sensitive, so keep the casing identical between the template and the Search Text value.
Which pages can I target for replacement?+
Pages accepts a single page number like 1, a comma-separated list like 1,3,5, a range like 2-4, or the keyword all to apply to every page. Use Skip first page to exclude a cover page. See the Make help center for mapping dynamic page values from earlier steps.
How many credits does the module use?+
The module uses one PDF4me credit per document. The PDF4me pricing page lists the current credit allocations for the free and paid tiers, so you can estimate the cost of a high-volume personalization scenario before you build it.

Industry Use Cases & Applications

  • Contract Execution: Insert authorized signatures automatically
  • Legal Documents: Add law firm logos and attorney signatures
  • Agreement Signing: Automate signature placement
  • Document Authentication: Insert official seals and stamps

Same Task on Other Platforms

Get Help