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 / Automatic process to D...
Copilot Studio
Unanswered

Automatic process to Delete and add files from knowledge source copilot studio

(1) ShareShare
ReportReport
Posted on by 14
Hi Team,
 
We need a assistance to create a flow in power automate to delete the existing file and add new files in copilot studio knowledge source. This flow should trigger when a file is updated in sharepoint folder.
Please give me suggestions on this.
 
Thanks in adavnce.....
Categories:
I have the same question (1)
  • HenryJammes Profile Picture
    Microsoft Employee on at
    Hi,
     
    I believe you can do that by doing the below actions on the Chabot Subcomponent (botcomponent) table in Dataverse, that holds the uploaded file (along with other copilot types, like topics, entities, so be sure to filter correctly and only delete the ones you don't want)
    1. Retrieve the record you wish to record (either with List Rows or Get Row by ID)
    2. Use the Dataverse unbound action called DeleteFile to delete the file(s).
    3. Delete the Chabot Subcomponent record
    Henry
  • CU02071532-1 Profile Picture
    on at
    I can see that this may work well in an employee-facing enterprise setting, where updates to the knowledge base (ie. files in sharepoint gets updated very infrequently).
     
    But what if this is used in a SaaS customer end-user facing scenario with constant CICD deployments (ie. knowledge base gets generated from sources everytime -- api reference docs, swagger, etc).
     
    What would the impact be for updating the underlying data inside the chatbot directly in dataverse?  What happens to existing conversations/actions?  Will there be an outage for a few seconds?

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!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 612

#2
chiaraalina Profile Picture

chiaraalina 161 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 116

Last 30 days Overall leaderboard