Question

Google Drive "New File in Folder" not reading file name correctly

  • 12 July 2023
  • 3 replies
  • 97 views

I am trying to read a file from google drive using “New File in Folder” event. It is reading when new file is added but the name of the file is not the one I see on google drive. I have named the files with specific data so I can map it to a contact in pipedrive but the file name read is [datetime].pdf.

I need to read the name of the file so I can map using the identifier using which I have set the file name.


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

3 replies

Userlevel 7
Badge +14

Hi @stephanie.verify 

Good question.

Not all my files are triggering my new file in folder Zap.

The New File in Folder trigger has some nuance about what it will trigger on:

Google Files (e.g. Google Doc, Google Sheets etc)

  • If a file was created within the folder, the Zap will trigger
  • If a file was modified fewer than 4 days ago and moved to the folder, the Zap will trigger
  • If a file was modified greater than 4 days ago and moved to the folder, the Zap won't trigger

Non-Google files (e.g. pdf or jpg):

  • If a file is directly added to the folder, the Zap will trigger
  • If a file is directly added to the folder but was modified/created greater than 4 days ago, the Zap won't trigger
  • If a file is moved to the folder (even if it was added to Google Drive in the last 4 days), the Zap won't trigger

Also, you can't trigger or act upon a folder shared with you, so files added to folders you don't own will not trigger the Zap. The connected account must be the owner.

Hi Tory,

I do not have issue with trigger but I am having issue with the data related to the file specifically the name of the file. In Zapier it is not reading the file name but instead shows me datetime as file name.

Actual name: pratik@veritymarketing.agency.pdf

What I get in Zapier is: 

Hope that explains the issue.

Userlevel 7
Badge +14

@stephanie.verify 

Try turning the Zap ON and testing live.

Then check the Zap Runs for the history details to see the DATA IN/OUT for each step.

https://zapier.com/app/history/