Skip to main content
Question

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

  • February 12, 2025
  • 1 reply
  • 31 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?
 

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

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 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.