Below is the code snippet:
importedSaveAs(blob, 'somefile.txt');
I'm currently facing an issue with hard-coding the file name in the above code. I would like to make it dynamic based on the response header. However, I'm unable to access the file name from the response header in this context.