How to get/download attached document from pega case using pega robotics?

In my pega case I have some attached documents and I want to read those documents for further process, so how can I download those documents from pega robotics?

@ShreeHarshaN16839089 There is a new component in the latest release designed for exactly this.

https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/properties-methods-events/pega-api-attachment-component.html