Skip to main content
Best answer

I cannot upload a CSV from Gmail into Amazon S3 Bucket

  • November 26, 2021
  • 3 replies
  • 305 views

Forum|alt.badge.img

Hi Community! I have seen some other Zapier users post this question but I am unable to piece together a solution for my use case. I am hoping someone can take a look at my Zap and identify what I am doing incorrectly. 

What I am trying to do: is set up a trigger in gmail to (new attachment) and an action in Amazon S3 (upload the file, which in this case is a CSV.

This workflow seems to work but when I test it my file in S3 is a txt file, and not a csv. Below is a screenshot of S3. I need the TYPE to equal CSV.




​​​

This is my trigger, which generated a successful test

 

 

Here is my Action (which is generating a succseful test, but not giving me the right file in S3. Again, I am trying to generate the CSV from my original email.

Can someone please help?

 

 

THANK YOU!!

Best answer by Troy Tessalone

Hi @ababab608 

This needs to be a mapped variable for the file object/url, not a static value.

Help article for using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

 

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

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • November 26, 2021

Hi @ababab608 

This needs to be a mapped variable for the file object/url, not a static value.

Help article for using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

 


Forum|alt.badge.img
  • Author
  • Beginner
  • November 27, 2021

Thanks Troy! This worked. It seems like Attachments (Exists but not shown) is good for most of the zaps I have tried. Is this the most used mapped variable? Can you provide the definition for this input and maybe a bit of context as to why it works so well? Thanks!


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • November 27, 2021

@ababab608 

Check this help article about the file object: https://zapier.com/help/create/basics/different-field-types-in-zaps#step-4

Zapier creates a temp file object to use in the Zaps.