1. Add Dependencies to your Project
2. Add my block to your Block/Screen you want to Add Attachment to PDF
3. Set up Input Parameter
4. Block event will return PDF Added Attachment in Binary Data. You can add Download Widget or use this Binary.