> For the complete documentation index, see [llms.txt](https://docs.contextual.io/documentation-and-resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.contextual.io/documentation-and-resources/components-and-data/object-types/object-type-details/templates.md).

# Templates

Templates allow you to define standard data sets or inputs for a given record in an Object Type. For instance, if you have a standard template for a work order that includes details about the tasks to be completed, that can be defaulted using a template.

Once created, templates are available to you next to the + button when creating a new record.

<figure><img src="https://2803907488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJF7AoTYz7NHacejws5p9%2Fuploads%2Fgit-blob-16a082944f9e601f2068c9cbeed3cf0037a48681%2FScreen%20Shot%202024-07-18%20at%209.02.55%20PM.png?alt=media" alt=""><figcaption><p>An example Template for an Object Type</p></figcaption></figure>

<figure><img src="https://2803907488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJF7AoTYz7NHacejws5p9%2Fuploads%2Fgit-blob-df6f95587680ca94558798a4b9d42696de4cbbf8%2FScreen%20Shot%202024-07-18%20at%209.02.50%20PM.png?alt=media" alt=""><figcaption><p>Templates Provide Default Record Values</p></figcaption></figure>

<figure><img src="https://2803907488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJF7AoTYz7NHacejws5p9%2Fuploads%2Fgit-blob-792d843e2e200151a0ac4b1211a5c62fecd96685%2FScreen%20Shot%202024-07-18%20at%209.03.24%20PM.png?alt=media" alt=""><figcaption><p>Templates Appear on the Record Creation Screen</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.contextual.io/documentation-and-resources/components-and-data/object-types/object-type-details/templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
