Hi John,
Are you getting filename with extension in API response? If yes then, after successful API call you can add a change object activity and change the name attribute of file document object to the filename that you are getting from API response.
Update:
As you can see in the below microflow, you can retrieve the http headers after REST call and add list operation activity > use find to get filename. Than add a change object activity and change NewDocument object > name attribute as $Filename/Value.
Hope this helps!
Hi Mohammed!
That works like a charm!
Thank you very much!
Cheers,
John