Question

Detecting files in Google Drive and matching and assigning them to the correct folder name

  • 3 February 2024
  • 1 reply
  • 22 views

Userlevel 1

Hello Zapier Community,

I want to set up an automation that does the following:

  1. Monitors a specific folder for new files.
  2. When a new file appears, extracts a person's name from that file.
  3. Checks if a folder already exists with that person's name in the same directory.
  4. If the folder exists, places the file inside it.
  5. If the folder doesn't exist, creates a new folder with the person's name and then puts the file in it

I was able to create a zap that detects new Google Drive files within a folder, but I’m not sure how to assign the new files to the correct folder. Any help would be much appreciated, thank you.


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

1 reply

Userlevel 7
Badge +14

Hi @Johncher 

For us to have more context, please post screenshots with how your Zap steps are outlined and configured.

 

  • When a new file appears, extracts a person's name from that file.
    • Do you mean from the file name or from within the file?