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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem z wykonaniem p...
Power Automate
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?

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard