---
title: How do I create a template reference?
description: Learn more about creating references and questions in Precisely templates
---

[Skip to content](https://help.precisely.se/en/how-do-i-create-a-reference-in-the-template#main-content)

[![Precisely\_logo\_black-1](https://help.precisely.se/hs-fs/hubfs/Precisely_logo_black-1.png?width=116&height=40&name=Precisely_logo_black-1.png)](https://preciselycontracts.com/)

Open main navigation

Close main navigation

- [Go to preciselycontracts.com](https://preciselycontracts.com/)

[Go to preciselycontracts.com](https://preciselycontracts.com/)

 Hello! How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.precisely.se/en?hsLang=en)
2. [Automated Templates & Documents](https://help.precisely.se/en/automated-templates-documents?hsLang=en)
3. [Working with References](https://help.precisely.se/en/automated-templates-documents?hsLang=en#working-with-references)

# How do I create a template reference?

## Learn more about creating references and questions in Precisely templates

**Setting up template references** is one of the main steps in [template creation and automation](https://help.precisely.se/en/articles/386056-creating-automated-templates?hsLang=en).

To create a contract, users drafting from a template only have to answer the pre-set questions in the form a questionnaire, and that's it! [Check out how fast & easy it is to draft contracts in Precisely](https://help.precisely.se/en/articles/385695-getting-started-with-the-precisely-platform?hsLang=en).

### Creating references

<iframe src="https://www.loom.com/embed/c0224666cf1f41db9f969e45d8fc3813?sid=fb4864a8-48d9-42b5-9778-7286174da5f8" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>

References and their questions are used for **variable** parts of the template that change from contract to contract, such as names, dates, and contract values.

To create references and choose which parts are variable, start by opening the document in the Precisely editor by clicking the *Edit* button in the template overview.

Create references using the *Add reference* section on the left-hand side of the editor. For each reference, you will determine a question that the user drafting from the template should answer. The answers given to the questions will populate the variable parts of the contract, such as "What is the subject of disclosure?" or "What is the name of the counterparty?".

![Screenshot 2024-07-17 at 11.00.00](https://help.precisely.se/hs-fs/hubfs/Screenshot%202024-07-17%20at%2011.00.00.png?width=594&height=279&name=Screenshot%202024-07-17%20at%2011.00.00.png)

### **Inserting references**

Each reference will have a certain id in the form of a reference name. Wherever the response to a reference should be inserted into the document, you can insert the reference name. For example, the name of the reference for "What is the subject of disclosure?" could be disclosure\_subject. Wherever the subject of disclosure should appear in the contract, you can insert the reference name disclosure\_subject.

When a user generates a draft from the template, the **reference name will be replaced with the answer given to the reference question.**

You can add references to a template document in two ways. Either

1. Click *Insert* in the editor’s top menu, or
2. Click the green *Insert reference* button (the arrow symbol) in the editor’s left-hand menu.

![Screenshot 2024-07-17 at 11.36.27](https://help.precisely.se/hs-fs/hubfs/Screenshot%202024-07-17%20at%2011.36.27.png?width=688&height=333&name=Screenshot%202024-07-17%20at%2011.36.27.png)

Connecting references to a variable part of the template document is *not* mandatory. You can simply create references in your template, but choose notto relate them to the template text. This is usually done when you don't want the answer to the reference to appear in the document, but still need an answer to the question to set up and automate [metadata tagging](https://help.precisely.se/en/articles/504276-how-do-i-add-metadata-tags-to-contracts-and-automated-templates?hsLang=en) for effortless reporting and archive export from Precisely.

### **Types of references**

<iframe src="https://www.loom.com/embed/eb3a7906722d420e93572c4ee03d595a?sid=0013c361-2426-4335-8b55-a8f987793a63" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>

There are a few types of references to choose from for your questions:

- **Short text** – the answer is a short, single row, free text answer.
- **Long text** – the answer is a long, multiple row, free text answer.
- **Numeric** – the answer is a number. A reference with a numeric answer could be “What shall the penalty amount to in case of a material breach?”
- **Date** – the answer is a date. A reference with a date answer could be “What is the start date of the employment contract?”
- **Multiple choice** – if the options for an answer can be predefined, you can use a multiple choice reference. The user drafting from the template will only be able to choose an option from the predefined answers to the question. Turn on the "Allow multiple selection" toggle to allow users to select more than one option.
  
  ![Screenshot 2024-07-17 at 11.50.13](https://help.precisely.se/hs-fs/hubfs/Screenshot%202024-07-17%20at%2011.50.13.png?width=243&height=422&name=Screenshot%202024-07-17%20at%2011.50.13.png)
- **Multiple clause** – you can use the multiple clause option if the user drafting from the template should choose between multiple clause alternatives. For instance, if there are different versions of non-compete clauses. This option is ideal for advanced users who can review the clause options and their meanings diligently. 

To set up a multiple clause reference, simply

1. Choose *Multiple clause* in the *Reference type* drop down,
2. Fill out your question and set a reference name,
3. Click the *Add clause* button to add clauses as needed, click the *Edit* button (the pencil) next to the clause to create and edit the content. When you've finished editing the clause, click the blue *Save* button.

![](https://help.precisely.se/hs-fs/hubfs/Knowledge%20Base%20Import/precisely-55290ab8719a.intercom-attachments-7.comio2171602912c3646a0364e51f4f09d989bk1JkMmqNofcaAeDA296G4bRmAs8ZHr6rkBaMYf8XHA8khNaKY3mSyQ68Tq95-Feb-09-2022-07-01-33-58-AM.png?width=326&height=317&name=precisely-55290ab8719a.intercom-attachments-7.comio2171602912c3646a0364e51f4f09d989bk1JkMmqNofcaAeDA296G4bRmAs8ZHr6rkBaMYf8XHA8khNaKY3mSyQ68Tq95-Feb-09-2022-07-01-33-58-AM.png)

![Screenshot 2022-07-26 at 10.13.09](https://help.precisely.se/hs-fs/hubfs/Screenshot%202022-07-26%20at%2010.13.09.png?width=688&name=Screenshot%202022-07-26%20at%2010.13.09.png)*The above screenshot displays an example of what a multiple clause question looks like to users drafting from the template.*

👉Read More: [How do I decide which reference type to use?](https://help.precisely.se/en/what-is-the-difference-in-reference-types?hsLang=en)

### **Making references conditional**

<iframe src="https://www.loom.com/embed/35edd7a55e474d3c8b4367bd90bd5e87?sid=453b637a-4c2a-4a46-b4a3-6efc2831e935" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>

References can be made conditional by switching on the *Add conditions* toggle in the reference editing view. When references are made conditional, they will be shown based on answers given to previous questions, and only if the conditions are met. 

**Example**: A non-disclosure agreement may contain a reference asking, “Shall a penalty clause be included in the contract in case of a material breach?” If the answer is “Yes”, a conditional reference asking, “What shall the penalty amount to in case of a material breach?” could be included.

![Screenshot 2024-07-17 at 13.33.23](https://help.precisely.se/hs-fs/hubfs/Screenshot%202024-07-17%20at%2013.33.23.png?width=270&height=278&name=Screenshot%202024-07-17%20at%2013.33.23.png)

### 💡PRO TIP: Import references and questions to your template

<iframe src="https://www.loom.com/embed/dfa63e6ec41c4df08ba17eee88d00082?sid=884b7ed0-d152-4807-add1-13dcc0021300" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>

To avoid creating the same or a similar references in the same organization, you can also choose to import references generally existing in your organization to a specific template. Open your template and click *Import references* to search for reference(s) you want to add. [Read more](https://help.precisely.se/en/how-can-i-import-references-to-use-them-in-a-new-template?hsLang=en)

![Screenshot 2025-01-31 090729](https://help.precisely.se/hs-fs/hubfs/Screenshot%202025-01-31%20090729.png?width=688&height=340&name=Screenshot%202025-01-31%20090729.png)

👉Read More: [How can I import existing references to use them in a new template?](https://help.precisely.se/en/how-can-i-import-references-to-use-them-in-a-new-template?hsLang=en)

### 💡PRO TIP 2: Sort and organize your questions and references

When creating references and corresponding questions, it's important to sort them properly easier template overview and ultimatiely - smoothest contract drafting. You can do that by creating different sections in your template and moving questions to them.

<iframe src="https://www.loom.com/embed/2107275ee3494796bb3d2e319f57c23d?sid=b3c00f09-064d-466e-9bb7-7bc2dcceb749" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>

👉Read More: [How do I sort and organize template questions?](https://help.precisely.se/en/how-do-i-sort-and-organize-template-questions?hsLang=en)

 

*Wondering about other steps in template automation? [In this article](https://help.precisely.se/en/articles/386056-creating-automated-templates?hsLang=en), you'll learn all about creating automated templates in Precisely.*

- [The Precisely Platform: Key Features & Tools](https://help.precisely.se/en/the-precisely-platform-key-features-tools?hsLang=en)
- [Automated Templates & Documents](https://help.precisely.se/en/automated-templates-documents?hsLang=en#main-content)

    - [Building & Managing Templates](https://help.precisely.se/en/automated-templates-documents?hsLang=en#building-managing-templates)
    - [Working with References](https://help.precisely.se/en/automated-templates-documents?hsLang=en#working-with-references)
    - [Conditional Logic & Automation](https://help.precisely.se/en/automated-templates-documents?hsLang=en#conditional-logic-automation)
    - [Formatting & Content Styling](https://help.precisely.se/en/automated-templates-documents?hsLang=en#formatting-content-styling)
    - [Collaboration & Negotiation](https://help.precisely.se/en/automated-templates-documents?hsLang=en#collaboration-negotiation)
    - [Document Management & Versioning](https://help.precisely.se/en/automated-templates-documents?hsLang=en#document-management-versioning)
    - [Precisely Archive](https://help.precisely.se/en/automated-templates-documents?hsLang=en#precisely-archive)
- [Control & Compliance](https://help.precisely.se/en/control-compliance?hsLang=en#main-content)

    - [Access & Permissions](https://help.precisely.se/en/control-compliance?hsLang=en#access-permissions)
    - [Approval Automation](https://help.precisely.se/en/control-compliance?hsLang=en#approval-automation)
    - [Monitoring & Logs](https://help.precisely.se/en/control-compliance?hsLang=en#monitoring-logs)
    - [Reviewer Permissions & Notifications](https://help.precisely.se/en/control-compliance?hsLang=en#reviewer-permissions-notifications)
    - [Security & Authentication](https://help.precisely.se/en/control-compliance?hsLang=en#security-authentication)
    - [Template & Draft Control](https://help.precisely.se/en/control-compliance?hsLang=en#template-draft-control)
- [Precisely's AI Features](https://help.precisely.se/en/preciselys-ai-features?hsLang=en#main-content)

    - [Precisely's AI Assistant](https://help.precisely.se/en/preciselys-ai-features?hsLang=en#preciselys-ai-assistant)
- [FAQs & Troubleshooting](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#main-content)

    - [Getting Started & Account Settings](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#getting-started-account-settings)
    - [Draft & Sign](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#draft-sign)
    - [E-Signing](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#e-signing)
    - [Users & Permissions](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#users-permissions)
    - [Language Settings](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#language-settings)
    - [General Information](https://help.precisely.se/en/faqs-troubleshooting?hsLang=en#general-information)
- [Integrations](https://help.precisely.se/en/integrations?hsLang=en#main-content)

    - [Precisely's API](https://help.precisely.se/en/integrations?hsLang=en#preciselys-api)
    - [Precisely's Microsoft Outlook Integration](https://help.precisely.se/en/integrations?hsLang=en#preciselys-microsoft-outlook-integration)
    - [Custom SMTP](https://help.precisely.se/en/integrations?hsLang=en#custom-smtp)
- [Electronic Signature](https://help.precisely.se/en/electronic-signature?hsLang=en#main-content)

    - [Signing Providers & Methods](https://help.precisely.se/en/electronic-signature?hsLang=en#signing-providers-methods)
    - [National eID Integrations](https://help.precisely.se/en/electronic-signature?hsLang=en#national-eid-integrations)
- [Pricing, Privacy & Terms](https://help.precisely.se/en/pricing-privacy-terms?hsLang=en)
- [New in Precisely](https://help.precisely.se/en/new-in-precisely?hsLang=en)

[![Chill listening crop-3](https://help.precisely.se/hubfs/Precisely_logo_black.svg "Chill listening crop-3")](https://www.preciselycontracts.com)

Precisely's Help Center

Copyright © 2025, Precisely AB