Skip to main content
Question

How to remove duplicate file extensions when uploading files to Google Drive

  • February 12, 2025
  • 1 reply
  • 6 views

I have the following:

  1. New file in Google Folder
  2. Upload new file - makes a copy and moves the file to a new folder
    • File name - change the name of the file - this works

This flow works as intended. However, the copied file now has the extension appended to the file name, eg XX-Filename.xlsx.xlsx.

How do I remove the appended extension?
 

Did this topic help you find an answer to your question?

1 reply

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30916 replies
  • February 12, 2025

Hi ​@elg11215 

For the File Name field, try using a different variable from Zap step 1 that is the actual file name, instead of mapping the file object variable.