> For the complete documentation index, see [llms.txt](https://docs.reportandrun.com/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reportandrun.com/manual/report-and-run/text-templates/use-a-text-template-for-sections.md).

# Use a text template for sections

Apply text templates to create new report sections fast.

1. Tap on a report to open it.
2. Tap the three horizontal lines in the lower-left corner.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FX0TvsR0lEjOnV59FwvlJ%2Foffline-use-section-template1.png?alt=media&amp;token=18425438-2d06-429f-8061-11178c7d559b" alt="" width="375"><figcaption></figcaption></figure></div>
3. Choose **Section** from the menu.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FcCfDupByTyRcn31kfvCA%2Foffline-use-section-template2.png?alt=media&amp;token=54abd02d-3239-477b-b916-0cd17d9ae9f8" alt="" width="375"><figcaption></figcaption></figure></div>
4. Tap the clipboard icon to the right of the *Section* field.

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FjHm9tweJUvUdCpSoS8Gh%2Foffline-use-section-template3.png?alt=media&amp;token=4f079a40-8001-45bf-be91-dcbeb3f89ea8" alt="" width="375"><figcaption></figcaption></figure></div>
5. Select the template you want to apply and tap **Insert Template**.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FsoWEq1wdlt0JGjETQ47r%2Foffline-use-section-template5.png?alt=media&amp;token=24171124-01ff-463d-a103-78ae65c7904c" alt="" width="375"><figcaption></figcaption></figure></div>
6. The new section template will appear at the bottom of your report (above any unassigned items). You can [drag and drop it](/manual/report-and-run/content/reports/reorder-items-within-a-report.md) to the desired position.

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FH0IQCP5z2NC6aZObLTFp%2Foffline-use-section-template6.png?alt=media&amp;token=52a3c8a1-ece6-43b1-a817-c40acecee894" alt="" width="375"><figcaption><p>Report view with section template applied</p></figcaption></figure></div>


---

# 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.reportandrun.com/manual/report-and-run/text-templates/use-a-text-template-for-sections.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.
