Documents & Contracts Templates with Opportunity Custom Values

Modified on: Mon, 28 Jul, 2025 at 2:51 PM

In Document & Contract Templates you can include Opportunity Custom Values using merge fields.


TABLE OF CONTENTS


What Are Opportunity Custom Values in Documents & Contracts Templates?


Documents & Contracts are like emails or websites, except they produce a document/contract which lays out the particulars of a deal and can be signed to seal the deal. 


Documents & Contracts Templates are reusable files with "fill in the blanks" sections which can even be filled automatically in workflows.


NOTE: This article is about Templates, not individual Documents & Contracts. To view and edit Templates use the Payments > Documents & Contracts dropdown and select Templates. Make sure the title of the page includes Templates and you're on the Templates tab.


In the Documents & Contracts editor, look for the word "templates" in the URL bar. That will confirm that you are editing a Template, not an individual Document/Contract.



Use Opportunity Custom Values in Documents & Contracts Templates


  1. Navigate to Payments -> Documents & Contracts Templates -> New template

  2. Drag a text box or table where you wish to populate opportunity custom values/fields. Either directly type the exact merge field into the text area ex: {{opportunity.xyz}} OR use the merge fields menu.



  3. In the Merge Fields menu: Go to Contact -> Custom fields -> Opportunity Details -> Select a field name that is dynamic



  4. Review: In the text area, double check that the merge field displays in the correct location. The merge field will be automatically replaced with the personalized data when the automation is run. Make sure to save.



Use Documents & Contracts Template with Opportunity Custom Values in Workflow


  1. Navigate to Automation > Workflows > create or edit a Workflow. Within the Workflow editor use the Send Documents & Contracts Action. Within the action, choose the Template you want to populate and save as draft or send.



Automate Documents & Contracts Sending In Opportunity Pipeline


If you want to automatically send a Template Document/Contract at a certain Opportunity Pipeline stage, you can do that with a few Triggers and Actions in a Workflow.


Step 1: Create Workflow

Navigate to Automation > Workflow > create or edit a workflow.




Step 2: Add Trigger

A couple good options for Opportunity/Pipeline triggers are: Pipeline Stage Changed or Opportunity Status Changed. Set the Trigger's filters to the relevant Pipeline, Stage, Opportunity, etc.




Step 3: Add Action

Next add the Send Documents & Contracts Action to the workflow and choose the appropriate Template (given the previous instructions). The merge fields in the Template will automatically pull the Opportunity Custom Values into the file before sending it. Remember to Save.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article