Replace Text With Image in Word Using Zapier
Replace Text With Image In Word is a Zapier action by PDF4me that finds a text placeholder inside a Word document and swaps it for an image you supply. Use it to insert signatures, logos, or charts into contract, offer-letter, or report templates automatically, without opening Word. The output is a new .docx file ready for the next Zap step.
What this action does
PDF4me: Replace Text With Image In Word searches a Word document for an exact, case-sensitive text string and replaces every matching instance with an image you map into the Zap. Control which pages are affected with Pages and Skip First Page, and optionally set Image Width and Image Height to size the inserted image. Common uses include dropping a signature into a contract template, a logo into a branded letter, or a chart into a report before distribution.
How Do I Authenticate My API Request?
To access the PDF4me Web API, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user.
Important Facts You Should Not Miss
Word File, Word File Name, Search Text, and Image File. Map by these labels, not by names you may see referenced in PDF4me's general API documentation.Skip First Page is a separate True/False toggle from Pages. Setting Pages to all with Skip First Page set to True still excludes page one, useful when page one is a cover page.{SIGNATURE} will not match signature or {Signature}, so the document is returned unchanged.
Replace Text With Image In Word action panel: Word File, Search Text, Image File, Skip first page, and Pages
Parameters
Required in the Zapier UI: Word File and Search Text. Word File Name, Image File, Skip First Page, Pages, Image Width, and Image Height are optional, though the action has nothing to insert without a mapped Image File.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Word File | Required | The Word document to process, mapped from a previous Zap step. | [Word File] |
| Word File Name | Conditional | Filename with extension for the document being processed. Used for output naming. | abc.docx |
| Search Text | Required | Exact, case-sensitive placeholder text to find. Every matching instance is replaced. | {COMPANY_LOGO} |
| Image File | Conditional | The replacement image, mapped from a previous step. No asterisk in the Zapier UI, but required for the action to insert anything. | [Logo File] |
| Skip First Page | Conditional | True/False toggle. True excludes page one from the replacement even if Pages is set to all. Default False. | False |
| Pages | Conditional | Which pages to search. Accepts all, first, last, or a comma-separated list of page numbers. | all |
| Image Width | Conditional | Width of the inserted image in millimeters, up to 500. Leave blank to use the image's original width. | 50 |
| Image Height | Conditional | Height of the inserted image in millimeters, up to 500. Leave blank to use the image's original height. | 30 |
What Fields Does the Output Include?
| Field | Type | What it contains |
|---|---|---|
File | URL | Direct URL to the processed Word document with the image inserted. |
File Name | String | The filename without extension. |
Full File Name | String | Complete filename including the .docx extension. |
File Extension | String | File extension of the returned document, .docx. |
Job ID | String | Unique job identifier for tracking this run. |
Trace ID | String | Trace identifier useful when contacting support about a specific request. |
Typical Setups
Workflow ExamplesCommon Zapier workflow patterns using Replace Text With Image In Word.
- An approval or e-signature step marks a contract Word template ready, with a
{SIGNATURE}placeholder inside. - PDF4me Replace Text With Image In Word runs with Search Text set to
{SIGNATURE}, Image File mapped to the signer's stored signature image, and Pages set to all. - The completed contract is sent to the next Zap step, such as an email or storage upload.
- A new Word document is generated from a template containing a
{COMPANY_LOGO}placeholder. - Search Text is set to the placeholder text and Image File maps the correct brand logo, with Skip First Page left False so the logo can appear on page one as well.
- The branded document proceeds to a distribution or filing step.
- A scheduled trigger runs after report data refreshes, and a chart-generation step produces a chart image.
- Replace Text With Image In Word swaps the
{CHART_1}placeholder for the generated chart image, targeting a specific page via Pages. - The completed report is emailed to stakeholders automatically.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Replace Text With Image In Word |
| Word File | [mapped from previous step] |
| Word File Name | contract_template.docx |
| Search Text | {SIGNATURE} |
| Image File | [mapped from previous step] |
| Skip First Page | False |
| Pages | all |
| Image Width | 50 |
| Image Height | 30 |
Frequently Asked Questions
Related Actions
Same Task on Other Platforms
Industry Use Cases & Applications
- Legal & Professional Services
- Human Resources
- Corporate Communications
- Marketing & Sales
- Contract Signatures: Insert signature images into contracts
- Letter Templates: Add signatures to legal correspondence
- Agreement Processing: Automate signature insertion in agreements
- Document Authentication: Insert verification images
- Offer Letters: Add manager signatures to offer letters
- Employee Handbooks: Insert company logos and photos
- Certificates: Add signatures to completion certificates
- Policy Documents: Brand documents with logo insertion
- Letterhead: Insert logos into letter templates
- Proposals: Add branding elements to proposals
- Reports: Insert charts and graphs into report templates
- Presentations: Convert presentation data to Word with images
- Proposals: Insert product images into sales proposals
- Case Studies: Add client logos to case study templates
- Brochures: Insert product photos into brochure templates
- Presentations: Add dynamic images to Word presentations