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 / Ms Form to Email Autom...
Power Automate
Answered

Ms Form to Email Automation

(0) ShareShare
ReportReport
Posted on by 3

Attempting to automate MS forms to trigger an email sent with the answers to the fields in the body of the email.

Fails at the first step after the form is submitted, "foreach"

 

The execution of template action 'Foreach' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/value']' is of type 'Null'. The result must be a valid array.

 

Appreciate any tips or help on this.

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,129 Most Valuable Professional on at

    After triggering the flow using the When a Form is Submitted trigger you need to use the Get Response Details action to get the answers submitted on the form. Check the settings of the trigger. If Split On is turned on you don't need a For Each Loop. After the Get Response Details step runs you'll have the answers to each question available in the dynamic content and can then add them to an email.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard