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 / Need your help with cr...
Power Automate
Suggested Answer

Need your help with creating an automated flow from MS Forms- Urgent!

(1) ShareShare
ReportReport
Posted on by 2
Hey everyone,
 
I have created a form in MS forms which has totally around 10 questions.
Please note that out of these 10 questions, there are 2 questions where the user needs to upload files and only 1 of them is mandatory.
I am trying to create a flow in Power automate where:
  • I receive automated email in outlook at a specific email address 
  • This email should contain only the questions and answers which were attempted
  • The excel/pdf/word files uploaded by the user should be visible in the email as a short descriptive and clickable hyperlink
I could really use some detailed guidance here as I have tried a whole bunch of stuff which chat gpt has suggested so far, but haven't been successful in meeeting all the above mentioned requirements. Tried Copilot too but that was a disaster.
 
Thanks a ton in advance and looking forward to your suggestions.
 
Categories:
I have the same question (0)
  • Suggested answer
    Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at
    Hi,
     
    A. Trigger
    When a new response is submitted
    Form ID: Your Form
    B. Get response details
    Get response details
    Form ID: Your Form
    Response ID: Response ID
    C. Parse the uploaded files questions JSON
    For each file upload question, the answer is a JSON array string.
    Example:

    [
      {
        "name": "filename1.pdf",
        "link": "https://yourtenant-my.sharepoint.com/..."
      },
      ...
    ]
    Use Parse JSON action on the file upload question response.
    Use the following sample schema (adjust according to your JSON):

    {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "link": {
            "type": "string"
          }
        },
        "required": ["name", "link"]
      }
    }
    D. Compose the email body step-by-step
    Initialize a variable, say emailBody, string type, set it initially empty.
    Use Append to string variable action conditionally for each question:
    If question answer is not empty:
      Append:
      <b>Question 1:</b> Answer 1<br>
    For file upload question, after parsing JSON, append clickable links like:
    html:
    <b>Uploaded files:</b><br>
    <a href='filelink1'>filename1</a><br>
    <a href='filelink2'>filename2</a><br>
    E. Send email action
    Use Send an email (V2) action,
    To: your specific email,
    Subject: e.g. "New Form Submission from [Responder Name or ID]",
    Body: use the emailBody variable,
    Make sure Is HTML option is set to Yes.
     
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
    Regards,
    Riyaz

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 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard