Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Copilot Studio Skills Development
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!

Categories:
  • DougM_Barhead Profile Picture
    25 on at
    System.Activity.Attachments - How to work with the table
    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.
  • CU23011457-0 Profile Picture
    2 on at
    System.Activity.Attachments - How to work with the table
    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!
     
  • fchopo Profile Picture
    7,968 Super User 2025 Season 1 on at
    System.Activity.Attachments - How to work with the table
    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 132

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 81 Super User 2025 Season 1

#3
Pablo Roldan Profile Picture

Pablo Roldan 61