> For the complete documentation index, see [llms.txt](https://learn.withessential.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.withessential.com/revenue/quotes/generate-a-quote-draft-with-ai.md).

# Generate a quote draft with AI

Once you have selected a customer and property on a new quote, you can have Essential draft the quote for you instead of building it line by line. If your business has saved prompt templates, they appear first under "Choose a template" - pick the one that matches the work, or skip it.

Below that is a prompt box where you can describe this specific draft or add specifics on top of a chosen template, for example "Customer is on the loyalty program - apply 10% off." You need either a selected template or some text in the prompt before the Generate button becomes active.

When you click Generate, a progress panel appears showing the draft being built step by step, including line items cascading in as they are created. When generation finishes, the draft opens as an editable quote. Nothing is sent to the customer automatically - the AI output is a starting point.

Review every line, price, and quantity, make any edits you need, then save and send as usual. Generated line items can carry a short rationale you can view, and you can change or remove anything the AI produced.

> **Where to find it:** On a new quote, after you pick a customer and property, the generate option appears with a template picker and a prompt box marked with a sparkles icon.

## Related guides

* [Quote statuses and lifecycle](/revenue/quotes/quote-statuses-and-lifecycle.md)
* [Why can't I edit a quote?](/revenue/quotes/why-cant-i-edit-a-quote.md)
* [Add a line item to a quote](/revenue/quotes/add-a-line-item-to-a-quote.md)
* [Apply a discount to a quote](/revenue/quotes/apply-a-discount-to-a-quote.md)
* [Attach a file to a quote](/revenue/quotes/attach-a-file-to-a-quote.md)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://learn.withessential.com/revenue/quotes/generate-a-quote-draft-with-ai.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
