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 / Is there a way to have...
Power Automate
Unanswered

Is there a way to have pre-entered comment in the approval comment section?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey guys, I have a flow that sends an approval when a form is submitted, which requires the approver to insert an email inside the comments. After pressing approve, it will send an email to that person and add a row in an excel sheet with the information from the form. 

 

Right now, the approver has to enter the entire email address of the person in the comments, I want the comments section to already have the domain name, so the approver only has to enter the first part of the email.

For exmaple, if the email is jsmith@gmail.com, I want the comments to already have '@gmail.com' in there.

 

Like this:

flow comment.png

 

Is there a way to do this? Is there a specific formula that I can put in the comments?

 

Thanks in advance.

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous:

     

    Unfortunately, Flow does not support pre-populating the approval comments section with any text.

     

    Sorry.....

     

    Scott

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Aw, that's alright. The approver just needs to not make a typo or the email won't be sent! 

     

    That reminds me, is there a way to send an email back to the approver to let them know that the email they've entered is incorrect?

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

     

    @Anonymous:

     

    Once the approver takes action, you have access to the comments that they provided and you still have access to the approvers email address.

     

    There is nothing "out of the box" with Flow that allows you to validate an email address within a string.

     

    Theoretically, you could use the string expressions to create some type of expression that could look for an email address in the comments and validate it.  It won't be easy or pretty.....

     

    If this adddresses your issue, please mark your post as Solved

     

    Scott

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @ScottShearer

     

    Thank you, I guess I will just take the comments and have a condition is if the comments do not include the correct domain name, then resend the approval.

     

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    It is currently not possible to have pre-entered comments in the approval comment section. You could feel free post your request on Flow Ideas Forum so that it could be considered in future releases:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

    Besides, I assume it is possible to take the comments and have a condition to check if the approver entered the correct domain name. Let’s say that the approver will only enter an email address into the Comments section.

    I have made the following test, please check it for a reference.

    The following function will return the domain from the comment:

    first(skip(split(body('Start_an_approval')?['comments'],'@'),1))

    Then add a Condition to check if the Compose Output is not equal to “gmail.com”, send out the email:

    @not(equals(outputs('Compose'), 'gmail.com'))

    Please check the screenshot of the flow:

    1.PNG

     

    Best regards,

    Mabel

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard