# Export Chat Conversations for Your Team

> Exports your chat assistant sessions as a CSV, plus the full messages of the conversations you want to review.

- Job: [Reporting & insights](https://storeagent.ai/mcp-recipes/job/reporting/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~10 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan)
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/export-chat-conversations/

## The prompt

```text
Export my chat assistant conversations from [the last 30 days] as a CSV, with the date, last message, message count and rating for each session. Then export the full messages of the [5] longest conversations as separate files so my team can review them.
```

## What happens when you paste it

You: Export my chat assistant conversations from [the last 30 days] as a CSV, with the date, last message, message count and rating for each session…

Assistant: Found 214 conversations in the last 30 days. The longest has 18 messages. Calling: `storeagent/list-chat-conversations`, `storeagent/export-chat-conversations`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Here is the CSV of all 214 sessions, plus the full messages of the 5 longest conversations.

## Abilities this recipe calls

- **List shopper chats** (`storeagent/list-chat-conversations`, read only, from StoreAgent): Lists recent conversations shoppers had with your chat assistant, by date.
- **Export chat conversations** (`storeagent/export-chat-conversations`, asks first, from StoreAgent): Exports recent chat sessions, or one conversation's messages, as CSV or JSON.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Export as JSON instead of CSV.
- Only export conversations with a thumbs down.

## Related recipes

- [Did My Emails Sell Anything This Month?](https://storeagent.ai/mcp-recipes/mail-mint-monthly-email-report.md): Your Mail Mint numbers for the last 30 days next to your WooCommerce orders, with the campaigns that worked and the ones that did not.
- [Do Overseas Orders Cover Their Costs?](https://storeagent.ai/mcp-recipes/extra-fees-international-check.md): Compares what overseas customers pay for shipping with a suggested country handling fee, so you can decide if a fee is fair.
- [Monthly Delivery Performance Report](https://storeagent.ai/mcp-recipes/trackship-monthly-delivery-report.md): Delivered rate, transit days and problem carriers for last month, compared with the month before.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
