Skip to main content
Best answer

Inbound email attachment expiry

  • September 30, 2020
  • 3 replies
  • 246 views

Hi, I noticed that inbound emails linked to webhooks can process attachments as direct links to Zapier.


I was wondering if anybody knew how long the email details and attachment link would be valid for?

(e.g. if I store this link in my DB and try to access that file in a year from now, would it still work?)

Best answer by Troy TessaloneBest answer by Troy Tessalone

Here’s the response I got from Zapier Support about this topic:

 

Are you looking at this from a dev perspective, or as a customer (as it can be different, based on how a dev uses our hydration routines.) I'll try to cover both.

If you are a dev, and using stashing, these s3 links/files will live for 30 days - more on that process here: https://github.com/zapier/zapier-platform-cli#stashing-files. As a customer, these links would also live for 30 days... :smile:

If your app or the app you are using doesn't stash a file, then you won't see an S3 link, but a hydration object, and that time is less than a week, but also the file it points to might only be available for even a shorter time (it would be up to the app to determine).

View original
Did this topic help you find an answer to your question?
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
Forum|alt.badge.img+14
  • Zapier Expert
  • 31481 replies
  • Answer
  • September 30, 2020

Here’s the response I got from Zapier Support about this topic:

 

Are you looking at this from a dev perspective, or as a customer (as it can be different, based on how a dev uses our hydration routines.) I'll try to cover both.

If you are a dev, and using stashing, these s3 links/files will live for 30 days - more on that process here: https://github.com/zapier/zapier-platform-cli#stashing-files. As a customer, these links would also live for 30 days... :smile:

If your app or the app you are using doesn't stash a file, then you won't see an S3 link, but a hydration object, and that time is less than a week, but also the file it points to might only be available for even a shorter time (it would be up to the app to determine).


  • Author
  • Beginner
  • 1 reply
  • October 1, 2020
Troy Tessalone wrote:

Here’s the response I got from Zapier Support about this topic:

 

Are you looking at this from a dev perspective, or as a customer (as it can be different, based on how a dev uses our hydration routines.) I'll try to cover both.

If you are a dev, and using stashing, these s3 links/files will live for 30 days - more on that process here: https://github.com/zapier/zapier-platform-cli#stashing-files. As a customer, these links would also live for 30 days... :smile:

If your app or the app you are using doesn't stash a file, then you won't see an S3 link, but a hydration object, and that time is less than a week, but also the file it points to might only be available for even a shorter time (it would be up to the app to determine).

 

Thanks @Troy Tessalone , regarding the Hydration Object is there a guaranteed minimum retention period?


Troy Tessalone
Forum|alt.badge.img+14

That’d be a question for Zapier Support, but when in doubt, don’t count on it, and better to host somewhere you know will retain the files.