Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 4OUNE9itirUP0orGAFK0Uk
Copilot Studio - General
Unanswered

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

Like (1) ShareShare
ReportReport
Posted on 8 Jul 2024 11:10:02 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.....
  • CU02071532-1 Profile Picture
    on 11 Jul 2024 at 15:12:46
    Automatic process to Delete and add files from knowledge source copilot studio
    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?
  • HenryJammes Profile Picture
    on 08 Jul 2024 at 12:01:33
    Automatic process to Delete files from knowledge source copilot studio
    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

Overall leaderboard