Hello,
Has anyone had any luck extracting the actual file name from the Activity.Attachments table in Copilot Studio?
I can get the file content to save into SharePoint easily via something like this;
Set variable "Attachment" as Index(Activity.Attachments, 1)
I can then use the "Create file" connector and save the File Content using "Topic.Attachment.Value".
However, I can't find anyway to get the Topic.Attachment.Name at all. What also confuses me is that the file name is displayed in the bot when you upload it;
Is there a way to extract "Text File.xlsx" from the Activity.Attachments table at all? Without this, the file is saved without it's original name or extension.
Thanks