
q5nrb (q5nrb) asked a question.
Workflows OneDrive Search Files or Folders - how?
Hi,
How does one use the OneDrive Search Files or Folders action card. E.g. list the content in a folder named "Flowgrammers Advanced Lab 12"? I guess I need to write a query, but where can I find the syntax?

@q5nrb (q5nrb) - Based on the MS documentation it is a "string" value
https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_search?view=odsp-graph-online
From the article:
Name, Value, Description
q, string, "The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content."
I only have 1 file in my drive (_1_importTest.csv)
If I set the query to be "import" ( Or even uppercase "Import") it finds the file. If I used "imported" it is not found. So it appears to be a simple "in" type search. Is imported IN _1_importTest.csv.
Custom it is...
MS Documentation: https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_list_children?view=odsp-graph-online
Hmm, yeah, I see. I guess I hoped for a way to specify the path as well, but doesn't seem to be supported. Thanks Tim