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 / Sending an email from ...
Power Automate
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 :-)
Capture.JPG
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
    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.
     
  • CH-08102040-0 Profile Picture
    4 on at
    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

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard