Templates
Every time someone drafts a contract from scratch, they risk using outdated language, missing required clauses, or formatting inconsistently. When your organization has hundreds of agreements to produce, you need a way to standardize the starting point while still allowing customization for each deal.
Pactly templates solve this by giving you a single, maintained source document for each agreement type. Instead of copying and editing old contracts, users generate new ones from a template that always reflects your current approved language, with the right variables and logic built in.
What’s Covered in This Section
Section titled “What’s Covered in This Section”This section will cover everything you need to create and manage templates in Pactly. The following articles are planned:
- Creating a Template (coming soon) - How to upload a Word document and configure it as a Pactly template
- Template Variables (coming soon) - Defining placeholders that get replaced with actual values during contract generation
- Conditional Logic (coming soon) - Controlling which clauses and content appear based on deal terms
- Managing Templates (coming soon) - Updating, versioning, and organizing your template library
What Templates Do
Section titled “What Templates Do”A template is a Word document (.docx) with placeholders, called variables, that Pactly fills in when generating a contract. When a user creates a new contract from a template, Pactly processes the document and:
- Replaces variables with actual values, such as party names, dates, monetary amounts, and other deal terms.
- Evaluates conditional logic to determine which clauses should appear in the final document. For example, a liability cap clause might only be included when the deal value exceeds a certain threshold.
- Applies value maps to translate selections into the correct document text. For example, a currency code selection of “USD” becomes ”$” in the generated contract.
The result is a consistently formatted, correctly worded contract that enters the repository in Draft status, ready for review and negotiation.
Key Concepts
Section titled “Key Concepts”Variables
Section titled “Variables”Variables are placeholders in the template document that get replaced with actual values during contract generation. A variable might represent a party name, a date, a monetary amount, a jurisdiction, or any other deal-specific term. Variables can accept different data types: text, numbers, dates, and lists.
Clauses
Section titled “Clauses”Clauses are pre-written text segments within a template that can be conditionally included or excluded from the final document. A single template might contain clauses for different liability terms, indemnification language, or governing law provisions, with conditions controlling which ones appear in any given contract.
Conditions
Section titled “Conditions”Conditions are logic rules that control which content appears in the generated document. They evaluate the values provided during contract creation and determine the output. For example, a condition might specify: “if deal value exceeds $100,000, include the liability cap clause” or “if the counterparty is based in the EU, include GDPR provisions.”
Value Maps
Section titled “Value Maps”Value maps are lookup tables that translate form selections into document text. They bridge the gap between what a user selects in a form and what appears in the contract. For example, a user might select “USD” from a currency dropdown, and the value map translates that into ”$” wherever the currency symbol variable appears in the template.
How Templates Fit the Contract Lifecycle
Section titled “How Templates Fit the Contract Lifecycle”Templates handle the creation stage of the contract lifecycle. When a user requests a new contract, often through a form, the template provides the starting document. The generated contract enters the repository in Draft status, where it can be reviewed, negotiated, and eventually executed.
Templates sit between intake (forms) and review (playbooks). Forms collect the data, templates generate the document, and playbooks guide the review of incoming counterparty agreements. For contracts generated from your own templates, the review process typically involves internal approval rather than playbook-based review.
Connection to Forms
Section titled “Connection to Forms”Forms often collect the data that fills template variables. When a user submits a form, Pactly can automatically generate a contract from the linked template using the form responses as variable values. This means the person requesting the contract does not need to know anything about the template structure. They fill out a form, and a correctly formatted contract appears in the repository.
Forms are covered in their own section. See Forms Overview (coming soon) for details on building intake forms and connecting them to templates.
Related
Section titled “Related”- Contracts Overview
- Create a Contract
- Forms Overview (coming soon)