Skip to main content

In-Chat Data Analysis

Your chatbot's end users can upload Excel and CSV files directly in the chat for instant, on-the-fly analysis — no knowledge base setup required.

How It Works

  1. User clicks the "+" menu in the chat input
  2. Selects "Upload Document"
  3. Picks an Excel (.xlsx, .xls) or CSV (.csv) file
  4. The file processes automatically (a status indicator shows progress)
  5. Once ready, the user asks questions about the data in natural language

The chatbot analyzes the data using Python (pandas) and returns answers as text, tables, or interactive charts.

Supported File Types

FormatExtensions
Excel.xlsx, .xls
CSV.csv

File size limit: 50 MB

What Users Can Ask

Value Lookups

"What was the revenue in Q3?" "How many employees are in the London office?"

"Show the trend for monthly sales over the last year" "How has headcount changed quarter over quarter?"

Comparisons

"Compare expenses across all departments" "Which region had the highest growth?"

Explanations

"Why did profit change from 5M to 3M?" "What drove the revenue increase between Q1 and Q2?"

Aggregations

"What's the average order value by category?" "Sum up all transactions for 2024"

Multi-Sheet Workbooks

For Excel files with multiple sheets, the chatbot automatically selects the most relevant sheet based on the question. Users don't need to specify which sheet to query — the AI figures it out.

Follow-Up Questions

The chatbot remembers context within the conversation. After an initial question, users can ask follow-ups without repeating details:

  1. User: "What was the net profit for 2024?"
  2. User: "Break that down by quarter" (chatbot remembers we're talking about net profit)
  3. User: "Why did Q3 drop?" (chatbot remembers the metric and time context)

Visualizations

Query results are presented with interactive visualizations:

Charts

  • Bar charts — for categorical comparisons
  • Line charts — for trends and time series
  • Doughnut charts — for proportional breakdowns (5 or fewer categories)

Users can toggle between chart types using buttons above the visualization. Charts can be downloaded as PNG.

Tables

  • Sortable columns (click to sort)
  • Exportable as CSV, JSON, or formatted JSON
  • Shows row count and query execution time

Users switch between Chart and Table views using tabs.

In-Chat Uploads vs Knowledge Base

In-Chat UploadKnowledge Base
Who uploadsEnd users during a conversationChatbot owner via dashboard
PurposeTemporary analysis of a specific filePermanent searchable knowledge
Available inOnly the current conversationAll conversations
RetentionTemporary (per-plan limits)Permanent (until you delete)
Setup neededNone — just upload and askUpload via dashboard, wait for processing

Limitations

LimitationDetails
File size50 MB maximum
FormulasValues only — formulas are not evaluated
Pivot tablesExpanded data only
Charts in fileNot extracted
Images in cellsNot processed
Password-protectedNot supported