> For the complete documentation index, see [llms.txt](https://docs.loopit.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loopit.co/getting-started/ai-chat/asking-questions.md). Agents can also search and read this documentation through its [MCP server](https://docs.loopit.co/~gitbook/mcp).

# Asking Questions

Ask the Loopit Assistant about your bookings, invoices, customers and fleet, and email an invoice from the chat.

### About Asking Questions

You can ask the Loopit Assistant about your **bookings**, **invoices**, **people**, **companies** and **fleet** in your own words. It looks up the answer in your workspace and links to the records it mentions, so you can open them in one click.

It can answer questions about a single record ("Is this invoice overdue?") as well as questions across your whole workspace ("Which customers owe us the most?").

### Asking a Question

To ask a question:

1. Select **Ask AI** in the top bar.
2. Select one of the **Suggestions**, or type your question and press **Enter**.

   The suggestions change depending on the page you are on. See [Example Questions](#example-questions) below.
3. Read the answer. Records in the answer, such as vehicles, bookings and customers, are usually shown as links, so you can open them straight away.

   <div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-ec3b6f1e42ed0a602dd6f0efcfa46028f5319efa%2Fai-chat-answer-links.png?alt=media" alt="An answer with links to vehicles" width="563"><figcaption></figcaption></figure></div>
4. Ask a follow-up question in the **Reply to Loopit Assistant…** box to dig deeper, for example "Only show the ones in Sydney".

### Asking About the Record You're Viewing

When you open AI Chat from a record, the assistant already knows which record you mean. This works on a booking, an invoice, a person, a company and a vehicle, including the vehicle's **Odometer**, **Tracking**, **ROI**, **Services** and **Expenses** tabs.

To ask about a record:

1. Open the booking, invoice, person, company or vehicle.
2. Select **Ask AI** and ask about it, for example **Summarise this booking and flag anything that needs attention**.

   <div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-bb605a7e5dec5a3cc2d70557c80236e6b8c08e1c%2Fai-chat-booking-context.png?alt=media" alt="Asking about the booking being viewed" width="563"><figcaption></figcaption></figure></div>

### Drafting a Message

The assistant can draft a message for you to send to a customer, based on the record you're viewing. It doesn't send the message. Copy it into an email, an SMS or a note and change anything you need.

To draft a message:

1. Open the booking or invoice and select **Ask AI**.
2. Select **Draft a message to the customer about this booking** or **Draft a payment reminder for this invoice**, or ask in your own words, for example "Draft a friendly reminder that their vehicle is due back on Friday".

   <div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-e87b9a44591f6369ffbb2b717f6cb86324401ab2%2Fai-chat-draft-message.png?alt=media" alt="A drafted message to the customer" width="563"><figcaption></figcaption></figure></div>
3. Ask for changes if needed, for example "Make it shorter" or "Use a more formal tone".
4. Select the **copy** icon under the answer and paste the message where you need it.

If a reminder isn't needed, for example because the invoice is already paid, the assistant tells you instead of drafting one.

### Emailing an Invoice

The assistant can email an invoice to the customer for you, using the same email your customers get when you email an invoice from Loopit.

To email an invoice:

1. Open the invoice and select **Ask AI**.
2. Select **Email this invoice to the customer**, or type a request such as "Email invoice 1042 to the customer".

   If you ask from a booking, the assistant first asks which invoice number you want to send.
3. The assistant confirms the invoice number and the email address it was sent to.

{% hint style="warning" %}
The invoice is emailed as soon as you ask. There is no extra confirmation step, so check that you have the right invoice before you send the request.
{% endhint %}

The invoice is sent to the email address of the invoice's customer. If the customer has no email address, the assistant tells you it can't send the invoice.

You can also ask for a copy of the invoice PDF. The assistant replies with a download link that works for **5 minutes**.

### Example Questions

These are the suggestions you'll see on each page. You can also ask your own questions in the same style.

| Page       | Example questions                                                                                                                                                              |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Dashboard  | Which bookings need attention right now? · Which bookings are due back in the next 7 days? · Which vehicles are overdue for service?                                           |
| Bookings   | Which active bookings still have an unsigned contract? · Which bookings are over their mileage allowance? · Which bookings ended before their minimum term?                    |
| A booking  | Summarise this booking and flag anything that needs attention · Is there anything overdue or outstanding on this booking? · Draft a message to the customer about this booking |
| Invoices   | Which customers owe us the most? · How is our outstanding money aged? · How much are we holding in customer deposits?                                                          |
| An invoice | Why hasn't this invoice been paid yet? · Does this customer usually pay on time? · Draft a payment reminder for this invoice · Email this invoice to the customer              |
| People     | Which customers have failed an identity check? · Which customers have expiring or missing licences? · Which past customers haven't booked and could be won back?               |
| A person   | Summarise this customer — bookings, balance and any risk flags · Does this customer owe anything overdue? · Is this customer fully verified?                                   |
| Companies  | Which companies have unsigned contracts? · Which companies bring in the most bookings? · Which companies have never made a booking?                                            |
| A company  | Which of this company's bookings need attention? · Are this company's contracts all signed? · Who are the key contacts at this company?                                        |
| Assets     | Which vehicles are sitting idle right now? · Which are our least profitable vehicles? · Which vehicles have a failing tracker?                                                 |
| A vehicle  | Summarise this vehicle's health and flag any problems · Is this vehicle being utilised well? · How much has this vehicle earned versus cost over its life?                     |
| Reports    | How are booking activations trending month by month? · What's our collection rate and average days to pay? · How much is idle fleet costing us?                                |

### Important Things to Note

* Answers are based on the data in your workspace at the time you ask. Check important figures before you act on them.
* The assistant only shows records your role is allowed to see. If you don't have permission, it tells you, for example "You do not have permission to view invoices."
* Apart from emailing an invoice, the assistant only reads your data. Drafted messages are never sent for you. It can't edit, cancel or delete bookings, invoices or customers.
* Questions about other topics are declined. If you mix topics in one message, it answers the part it can help with.
