- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 03:18 AM
Hi All,
I have a requirement. While submitting a catalog item, I am uploading a CSV file. I need to compress the CSV file in Flow Designer and then convert to base64.
How to compress the CSV file in Flow Designer?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 03:51 AM
you can use Zip operation from flow, create the zip file and store it on RITM or some record
then you can get base64 encoded data of that file easily
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 12:28 AM
your code will get bas64encoded data of that zip and not for the file within it.
that's the expected behavior.
If you are planning to send this base64encoded data to 3rd party they can decode it, they will get zip file, when then unzip they will get the actual file.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 08:29 AM
Hi @Ankur Bawiskar ,
Thanks it worked. After sending the base64encoded data to 3rd party they are able to decode it, after they unzip it.