> For the complete documentation index, see [llms.txt](https://docs.documint.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.documint.me/integrations/hubspot/generating-your-documents.md).

# Generating Your documents

Now you're ready to start creating documents from your HubSpot data using the Documint app.

It's super simple.

1. Choose your template

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FOTJsXwE4UUhlQ3HCkb4t%2Fimage%2079.png?alt=media&amp;token=03fc4a85-1736-4a77-8388-2b0021336016" alt=""><figcaption></figcaption></figure>

2. Choose your record

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FfAsqfdxfqOH7IWYjDGAh%2Fimage%2080.png?alt=media&amp;token=88bfed74-fae2-422c-8512-db19eeef3e64" alt=""><figcaption></figcaption></figure>

3. Inspect the document preview and click **Generate Document**

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FPXas46TRcFfzDF2FWPVD%2FGroup%2015.png?alt=media&amp;token=9ed30053-6fdc-42d0-b78b-8b3fa11e7add" alt=""><figcaption></figcaption></figure>

4. After a moment you will get a message to tell you your new document has been generated and saved to the Notes section of your record.

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FIYbmBiMwKqFmkxdtoohW%2FGroup%2017.png?alt=media&amp;token=3cd2a64d-3c47-469c-acc1-d527c36166fd" alt=""><figcaption></figcaption></figure>

You can close the app to see the new activity in **Notes** (You may need to refresh the page first). The attachment will be saved, and it will also be in the **Attachments** section on the right-hand side of the page.

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FwYlehqO0x3yRXzSRFomx%2FGroup%2018.png?alt=media&amp;token=55e9d3dd-7b4e-4ac0-8eff-f2605c796438" alt=""><figcaption></figcaption></figure>

You can now access this file to view, download, or do whatever you want with it.&#x20;

Congrats, you're all set 🎊


---

# 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.documint.me/integrations/hubspot/generating-your-documents.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.
