---
title: "Ask for an Analysis"
description: "Ask your assistant to look across a wider data window and classify what it finds."
updated: 2026-06-09
---

# Ask for an Analysis

> **Tip:** Before this step, complete [**Part 1 — Your First Assistant**](https://docs.apexti.com/tutorial/part1/create-an-agent.md) of the [Toolbelt Tutorial](https://docs.apexti.com/get-started/tutorial.md) so your email or calendar service is connected.

## The situation

You've been handling the inbox reactively for months. Someone on the team suspects ETA requests make up most of the volume — but nobody actually knows. Without knowing, you can't prioritize or route intelligently.

Time to find out.

## Ask for the breakdown

In a new chat, ask your assistant to look across a wider window:

```
Look at all inbound emails from the last 30 days.
Categorize each one as: ETA request, new load order, carrier check-in, follow-up, or other.
Show me a breakdown by category and by day of the week.
```

If you're following along with a personal inbox, try this version:

```
Look at all inbound emails from the last 30 days.
Categorize each one as: fun, family, work, important, or other.
Show me a breakdown by category and by day of the week.
```

If you're using a calendar rather than email service, swap out "inbound emails" for "calendar events".

## What the assistant does behind the scenes

1. **Calls the email service** to retrieve 30 days of inbound messages or calendar events.
2. **Converts the response into a queryable database** using [Auto-DuckDB](https://docs.apexti.com/features/auto-duckdb.md) — so even thousands of emails or events don't get truncated or summarized away.
3. **Writes SQL** to classify and aggregate by category and weekday.
4. **Renders a chart** directly in the chat.

You now know, for the first time, exactly what your inbox actually looks like. Monday morning ETA spikes. Friday carrier check-in clusters. Whatever the pattern is — it's visible.

> **Tip:** Push further in the same conversation. "Break that down by sender domain" or "Which categories are most likely to be mislabeled as someone else's account?" — the assistant can keep refining without you starting over.

---

**Next:** [Build a Live Dashboard](https://docs.apexti.com/tutorial/part2/build-dashboard.md)
