INSERT in WordInsert Salesforce fields and EXEC variables into Word templates using the INS command.Oct 14, 2025Knowledge
InformationArticle BodyExamples Use Case 1: Personalize a cover letter Place INS tokens next to the greeting, company name, and a calculated deposit so every letter reflects the recipient's details. Example data: { Opportunity: { Contact: { Salutation: "Ms.", LastName: "Doe" }, Amount: 500, Account: { Name: "Acme" } }} Template Document: Output: Use Case 2: Summarize billing details Reference totals, taxes, and payment terms with INS so the invoice summary always reflects the latest Salesforce values. Example data: { Invoice: { Total__c: 1000, Tax__c: 0.07, Terms__c: "Net 30" }} Template Document: Output: Notes Use helpers such as c() and p() with INS to format currency and percentages.Variables defined in EXEC commands can be utilized in INS commands as well. Next Steps About INSERT INSERT in Excel INSERT in PowerPoint INSERT in PDF TitleINSERT in WordURL NameINSERT-in-Word