Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Sending an email from a Form responses

(1) ShareShare
ReportReport
Posted on by 4
Hi,
 
I'm in need of some help, i've got a flow that works with fetching responses and then emailing them out.
 
The problem i am having is being able to create the body of the email with the question in the form and the response to that question.
 
There are multiple questions and not every question is answered so while the email only returns the answered questions, it leaves huge blank spaces in between where questions aren't answered.
 
I currently use this if(outputs('Get_response_details')?['body/r55447d5e8e3b4535a457a145b6bac5cc']='','0',outputs('Get_response_details')?['body/r55447d5e8e3b4535a457a145b6bac5cc'])
 
I've attached an example of what i have, so in essence if only the last question is answered, there is a huge gap until the correct answer reflects.
 
Help :-)
  • CH-08102040-0 Profile Picture
    4 on at
    Sending an email from a Form responses
    Thank you for coming back to me Mike.
     
    I am only learning so if you are able to give me specific exact details, that would be amazing.
     
    P.S i wish i had all the answers :-)
     
    I've got about 60 questions, so i imagine they would all need to be present in the array?
     
    Thanks
    Chez
  • Suggested answer
    Michael E. Gernaey Profile Picture
    43,479 Super User 2025 Season 1 on at
    Sending an email from a Form responses
    Hi
     
    I'd like to make a suggestion. Add your items to an Array instead. That way you can verify that it has real data and add it to the Array or if its null don't add it.
    In addition, you can add the headers to the array when you define the array (instead of it being blank)
     
    Lastly , you can then use the Create HTML Table, in conjunction with CSS to make it look how you want.
     
    This way you never have spaces :-)
     
    Let me know if you need specific exact details.
     
    Examples:
     
    Since you already have all the Answers etc.
     

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