Skip to main content
Question

custom plugin to use dedicated sharepoint folder and response only based on certain keywords

  • November 11, 2025
  • 5 replies
  • 67 views

I want to ingest files in sharepoint folder and build custom plugin to search dedicated folder using compund action. As per the Agent Architect, this is feasible but i am not able find the steps suggested by tool.

Step 1-- I cannot find so please help me navigate and also verify if this solution will work or any better solution if you have.

 

5 replies

Forum|alt.badge.img+2

hey ​@ritessin , i can’t find any documentation on “mw.search” either and also when i attempt to use it in the compound action editor, it won’t autofill so i wonder if the action exists...alternatively, i’m not sure what the payload looks like from Sharepoint if you were to, for example: send a GET call to the file’s location to list the contents of the folder, but you could use the FILTER() lambda on the return payload to look for a file of the same or similar name that the user was requesting? maybe you could share a bit more about the technicalities of how you want this process to look like?

also have you considered just ingesting the Sharepoint as a Knowledge Source and allowing the bot to return files to users that way?


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • November 11, 2025

Hey ​@ritessin - This is a complete hallucination on the Agent Architect, and I have reported this internally.

You will need to use the SharePoint APIs to be able to look up the files you are requesting. We currently don’t have a built-in action to search through your ingested knowledge.

 

@chaney.zimmerman’s approach is a good one to try out!


  • Author
  • New Participant
  • November 11, 2025

Hello ​@Kevin Mok  @chaney.zimmerman Thank you for your response. Here is my use case:

We have ingested many sharepoint folders but i have one folder that i want to allow selected users to search in that folder if they will mention specific keyword in thier prompt and during this time, no other pluging or Forms data need to display for user.

For this, i was thinking to use custom plugin with defined keyword to trigger and if have any mechanism to call ingested folder data via Action to get the response.
Let me know if need more info.. I am looking this for my one of demo so if you can help then would be great.

Thank You!!!


Forum|alt.badge.img+2

@ritessin i understand, so this folder specifically needs to be restricted to only some users to search through? it sounds like trying out what i mentioned above could work. i would setup a connector in MW Setup to Sharepoint or the necessary system, then build the GET call for the items in the folder based on what APIs are available from Sharepoint/Microsoft and probably add a $filter operator in the query params to include an input arg for the “name” of the article. in the Conversational Process you could collect the name of the article as a slot and use some static or dynamic resolving depending on the number of files in the folder.

give it a shot and let me know if you have any specific technical questions along the way, i’ll do my best to help :)


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • November 12, 2025

We do not have an action to call ingested data at this time (good idea!).

@chaney.zimmerman’s approach is most likely your best bet at this time