Best answer

I cannot upload a CSV from Gmail into Amazon S3 Bucket

  • 26 November 2021
  • 3 replies
  • 242 views

Userlevel 2
Badge

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!!

icon

Best answer by Troy Tessalone 26 November 2021, 22:30

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.

3 replies

Userlevel 7
Badge +14

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

 

Userlevel 2
Badge

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!

Userlevel 7
Badge +14

@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.