← All nodes
PDF

Template Input

Loads a Word (.docx) template and lists the <<tag>> placeholders it holds — in the body, headers and footers — one row per tag.

When to use it

Use it at the start of a mail-merge branch: letters, certificates, report cards or invoices filled in from rows, one document per row.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Template (.docx)selectYesUpload a .docx template

Example

Detecting the tags in an offer letter template

  • Template (.docx)=offer-letter.docx
offer-letter.docx
WhereText in the document
BodyDear <<Candidate_Name>>,
BodyStart date: <<Start_Date>>
Header<<Company_Name>>
Output rows
TagPlaceholderFound InTemplate
Candidate_Name<<Candidate_Name>>Bodyoffer-letter.docx
Start_Date<<Start_Date>>Bodyoffer-letter.docx
Company_Name<<Company_Name>>Headeroffer-letter.docx

Connect this node to the Template pin of Template Merge; the rows to merge go to its Data pin.

Worth knowing

  • Type tags straight into Word as <<Name>>. A tag may mix formatting (for example a bold name) and still be found.
  • Name each tag after a column of your data; matching ignores case and surrounding spaces.
  • Inside a Loop over a folder of .docx files, the current file is used as the template instead of the upload.

Others in PDF