Tools to Capture and Convert the Web
GrabzIt's Online Community

Store generated PDF on s3 with Ruby active storage

Ask questions on how to capture or convert web pages or HTML into images, CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.

The title actually says it all...


How do I send a generated PDF to Amazon S3, using Rails active storage?


Ideally asynchronously.



Asked by anonymous on the 13th of May 2020


I haven't used Rails Active Storage before. However I believe you would need to get the capture then upload it so you would need to use our Ruby callback handler. This would ensure it is asynchronous.

Note that if you want to just export to Amazon S3 you can use our built in export functionality

Answered by GrabzIt Support on the 22nd of May 2020