Best answer

How do I replace daily Gmail attachment in Google Drive with consistent URL?

  • 6 December 2023
  • 7 replies
  • 32 views

Userlevel 1

Hi everyone

the setup shhould be staight forward, but is unfortuantely no working.

My trigger is a new attachement in a specific folder in Gmail, which is daily a “Data.csv”

This should be replaced at Gdrive in order to keep the same URL. In the action I’ve chosen Replace File in Google Drive, the according folder and file “Data.csv.”

Then I have to chose, which file I want to upload and there are a bunch of options, which I don’t understand or are not self explaining to me. I’ve tried “Attachments (no data)” or “Attachement (exists, but not shown)” and some more, but nothing works. Which is the correct one to choose or where do I do the mistake?

Thanks and KR

icon

Best answer by Troy Tessalone 6 December 2023, 20:05

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.

7 replies

Userlevel 7
Badge +14

Hi @MarkusR 

Good question.

For us to have full context, please post detailed screenshots with how your Zap steps are configure along with any encountered errors.

Userlevel 1

Please let me knwo, if you need more:

 

 

Userlevel 7
Badge +14

@MarkusR 

Use this field.

These are temp files that expire.

So you may need to refresh your Zap trigger to get more current examples to use to test the steps.

 

Userlevel 1

Thanks @Troy Tessalone 

It looks good in the first place, but the file is finally not updated in Google Drive:

 

 

 

last change in Google Drive:

 

 

Userlevel 7
Badge +14

@MarkusR 

Make sure to refresh GDrive before checking.

Can you post updated screenshots with how your Zap step is configured?

Do you have the correct “File to Replace” selected? (check the File ID in the dropdown)

Check the DATA IN/OUT from your Zap Runs to help you troubleshoot: https://zapier.com/app/history/

 

 

Userlevel 1

Hi @Troy Tessalone 

I have no idea how to check the FileID, but there was another Data.csv.

with this one it’s now working. Thanks for your help!

KR

Userlevel 7
Badge +6

That’s awesome news @MarkusR! Big shoutout to Troy here for pointing you in the right direction.

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗