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 email -- condi...
Power Automate
Answered

Sending email -- conditionally have contents

(0) ShareShare
ReportReport
Posted on by 80

Hi 

 

Here, I want to conditionally have 'Comment from previous approver'. 

The comment is stored in sharepoint list, and I want to have that comment there, but if the comment column is empty, I want to put some text something like 'The previous approver didn't leave the comment'. 

 

Is there a way to achieve this?

Screenshot 2023-07-28 at 10.55.16 PM.png

Categories:
I have the same question (0)
  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @pinball2 

     

    Pls add an expression using if() function:

    if(empty(item()?['Commentfrompreviousapprover']),'Default commnet',item()?['Commentfrompreviousapprover'])

    in the above expression, I have taken the item from the loop so have used item()?['Commentfrompreviousapprover'], pls replace it with the actual field as per your need.

    ManishSolanki_0-1690614499916.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard