web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Getting Activity.Attac...
Copilot Studio
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
I have the same question (0)
  • Suggested answer
    Artur Stepniak Profile Picture
    1,539 Moderator on at
    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!
  • llyrjones Profile Picture
    13 on at
    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 436

#2
chiaraalina Profile Picture

chiaraalina 145 Super User 2026 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 98 Moderator

Last 30 days Overall leaderboard