Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Problem z wykonaniem przepływu PowerAutomate

(0) ShareShare
ReportReport
Posted on by 15

Hello, I am creating a flow in Power Automate.
What I mean is that I create a form using MS Forms, which is sent to Chat in MS Teams using power autoamte. All text fields pass correctly, but the attachment added to MS Forms is displayed as text and not an attachment file.

I remember that I need to add some variables in power automate but I don't remember how. Can you tell me what I need to do to ensure that the attachment added in MS Forms is also transferred to the chat message?

  • v-jefferni Profile Picture
    on at
    Re: Problem z wykonaniem przepływu PowerAutomate

    Hi @SebastianSzyrok ,

     

    It doesn't relate to variables, you need to leverage Parse JSON. Please refer to below thread:

    Adding attachment from Form to Teams - Power Platform Community (microsoft.com)

     

    1) Get response details

    2) Parse the content of the file question (in this case, "Business justification"). The parse json schema would be:

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "name": {
     "type": "string"
     },
     "link": {
     "type": "string"
     },
     "id": {
     "type": "string"
     },
     "type": {},
     "size": {
     "type": "integer"
     },
     "referenceId": {
     "type": "string"
     },
     "driveId": {
     "type": "string"
     },
     "status": {
     "type": "integer"
     },
     "uploadSessionUrl": {}
     },
     "required": [
     "name",
     "link",
     "id",
     "type",
     "size",
     "referenceId",
     "driveId",
     "status",
     "uploadSessionUrl"
     ]
     }
    }

    3) Then, you could select link property to get the url of the file, and name to get its name, and use those actions to get the content and copy it to the Sharepoint document library related to Teams. 

     

    Best regards,

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492