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 / System.Activity.Attach...
Copilot Studio
Unanswered

System.Activity.Attachments - How to work with the table

(1) ShareShare
ReportReport
Posted on by 14

Hi everyone,

I’m looking to read the contents of Activity.Attachments in Copilot Studio. Currently, I receive a table as the result. I’m not sure how to handle this table object or data type in my Copilot project. My goal is to forward this table (referred to as @Attachments) to a webhook. Alternatively, I would also consider storing these attachments or information somewhere and then just providing the URL.

Has anyone dealt with something similar or have any suggestions on how to approach this?

Thanks!

I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at
    Hi @WillM83
    You can convert the table object to a Record, using the following expression:
    Set(
        recordObject,
        First(Activity.Attachments)
    )
    
    Where recordObject is a record variable you should create before assigning the value. Once you have the recordObject, you can access the values in each column like: recordObject.email for instance.
     
    Hope that helps!
    Ferran
  • CU23011457-0 Profile Picture
    2 on at
    Hello everyone,
     
    have you been able to find out more since your question?
     
    I'm trying to attach a file in the chat and then extract the information using AI Prompts. So far I have the problem that I can't process the file that I think is in ‘System.Activity.Attachments’ because many PowerFx formulas are not supported. 
    At the moment I'm trying to get on with the blob obtained with ‘First(System.Activity.Attachments).Value’.

    Do you have any other ideas? 

    Many thanks in advance!
     
  • DougM_Barhead Profile Picture
    25 on at
    I can get the content of the file using First(System.Activity.Attachments).Value
     
    But, I can't pass that blob on to Power Automate - same as OP
     
    BTW @fchopo Set does not seem to work in PowerFX for Copilotstudio.

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard