Best answer

Google Drive "Find a File" Search for an exact match

  • 6 October 2021
  • 6 replies
  • 2221 views

Userlevel 3

My experience with the Find a File in Google Drive action is that the search will return non-exact matches.  For example, I am running a search for the file name ‘A&B - 5 - A.pdf’, but the search returns any variation of this that might also be in the same folder (e.g. ‘A&B - 58 - A.pdf’ or ‘A&B - 55 - A.pdf’).  Is it possible to only search for an exact match?  Is there something in the same or query that is allowing this?

 

Thanks.

icon

Best answer by SamB 19 June 2024, 17:37

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

Userlevel 7
Badge +14

Hi @msandrew 

Try putting double quotes around the searched file name.

e.g. “File Name”

GDrive help article: https://support.google.com/drive/answer/2375114?hl=en&co=GENIE.Platform%3DDesktop#zippy=%2Cadvanced-search-in-google-drive

 

 

Userlevel 3

@Troy Tessalone Yes, I tried that already.  Here is response from Zapier if anyone is interested:

I've done some digging into this on our end and found an existing bug report open for an issue similar to what you are describing. The way the Find a File search action is implemented, it looks if file name contains specified words instead of doing a full match.  
 
I don't have the timeframe on a fix but I've added your email address to the bug report so that you can be notified when the issue is resolved.”

 

Userlevel 7
Badge +9

Thanks for keeping the Community updated with your findings, @msandrew! I’ve made a note of that on our end so we’ll be sure to post in this thread as soon as we know more. 🙂

Userlevel 1

I tried setting the serach term in “searchterm” but it still locates a match that is not exact.  Has anyone found a workaround for this?

Userlevel 1

I am having the same problem for folder names as well.  There is no way to find the exact match, only a similar match.

 

Userlevel 7
Badge +11

Hey folks, just stopping by with a quick update to share that the bug report for the issue of the Find a File match not performing an exact match has since been closed! 🎉

In case you didn’t see the email notification that went out here’s the key details from it that you need to be aware of:

we're glad to report that the integration now offers a choice between exact search matching, and "fuzzy" search matching when finding Files and Folders.

By default, the integration will defer to the original, "fuzzy" behaviour of matching search results if the title *contains* the provided search term, meaning your existing Zaps will continue functioning uninterrupted.

However, if you'd prefer to see the File or Folder search only return a result if the provided search term *exactly matches* the entity's name/title, then this option is now available to you in the Zap Editor.

We hope you’ll able to test out this new exact match Search Type soon and do let us know if you run into any issues with it. 

In the meantime, happy Zapping! ⚡