Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Suggested answer

Getting Activity.Attachments file name and extension from Copilot Studio bot / agent

(0) ShareShare
ReportReport
Posted on by 13
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
Categories:
  • llyrjones Profile Picture
    llyrjones 13 on at
    Getting Activity.Attachments file name and extension from Copilot Studio bot / agent
    Hi @Artur Stepniak. Is there a way to see the Copilot Studio preview? Is it available for us to opt-in and try it out?
     
    Thanks
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    Getting Activity.Attachments file name and extension from Copilot Studio bot / agent
    Hello,
     
    this feature is still in preview, as you can see it's not ready yet. Let's wait a bit!
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard

Featured topics