How to get filename from Multi Part Reader Snap?

I am trying to expose snaplogic pipeline as an API. Whenever an excel file is received i should save it in the same name? Please can you help, thanks in advance!

I tried this and it worked!!!

$[ā€˜content-dispositionā€™].substring($[ā€˜content-dispositionā€™].indexOf(ā€œfilenameā€) +10)

Thanks Everyone.

1 Like