cancel
Showing results for 
Search instead for 
Did you mean: 

How to Convert Stream Data Back to Raw (text) Data for Processing?

Bhagya_pola
Deputy Chef II
Deputy Chef II

I'm using Workflow Apps to store a PDF or DOC file in a Data Table. When I retrieve the file, its contents appear in a stream format. I need to convert this stream back into raw data (text) so I can process it further. Is there any approach to achieve this in Workato? Screenshot 2025-03-31 112353.png 

2 REPLIES 2

gary1
Executive Chef III
Executive Chef III

Try .to_s

shivakumara
Executive Chef III
Executive Chef III

Hi @Bhagya_pola ,
Below are my observations:
1. Extracted file content from drive are encoded hexdecimal + it is ZIP file format signature
where we cannot simply decode it .
2. If say your file of type ".TXT" then we can simply use .to_s formula to decode the message.

Thanks and Regards,
Shivakumara K  A