web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to Make Copilot St...
Copilot Studio
Answered

How to Make Copilot Studio Agents Read Excel Files for Answer Generation?

(1) ShareShare
ReportReport
Posted on by 8

I’m trying to achieve the following workflow in Copilot Studio, but I’m running into issues:

What I want to do:


  • Based on the user’s input prompt, the AI should determine filtering conditions for an Excel (or CSV) file
  • Use the Code Interpreter capability to apply those filters
  • Extract the necessary information from the Excel file
  • Generate an answer while referencing that extracted data

What I’ve tried so far:


  • Uploaded an Excel file under Copilot Studio > Agent > Knowledge, but it doesn’t seem like the Code Interpreter is reading it
  • On the other hand, when I upload a CSV file as an attachment, the Code Interpreter appears to read and process it correctly

What I want to achieve:


  • Avoid using attachments and instead have the agent reference only the Excel file stored in Knowledge
  • Specifically, I want the agent to directly read the Excel file from Knowledge, apply filtering, extract data, and use that data in its response

Questions:


  1. Is it possible for Copilot Studio agents to read Excel files stored in Knowledge using the Code Interpreter?
  2. If yes, what is the correct setup or best practice to make this work?
  3. If not, what alternative approach would you recommend?
Categories:
I have the same question (0)
  • Verified answer
    bscarlavai33 Profile Picture
    752 Super User 2026 Season 1 on at
    Code Interpreter does not work with uploaded Knowledge files but it looks like you should be able to add SharePoint as a Knowledge source and Code Interpreter can then read Excel files that are stored in SharePoint.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 827

#2
Vish WR Profile Picture

Vish WR 294

#3
Haque Profile Picture

Haque 249

Last 30 days Overall leaderboard