web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Maile merge flow

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

 

I am in the middle of trying to build flow which triggers a mail merge when a teacher has written some feedback in a row.  I am aware that I need to pass only the rows which trigger the condition down the chain but I can't quite work out how to do it.

Any help would be appreciated. Currently, the Flow below emails all of the students and writes Done! in all of the rows, but I just want it to send emails from the rows which have feedback in.

 

Thank you in advance,

 

Iain 

First, it gets rows.

get rows.PNG

Then it checks if 'Feedbackcheck' cell contains 'Done!'. If it does, then do nothing.

 If yes do nothing.PNG

If it doesn't, it checks 'Feedback column'.

 Send and email and update row.PNG

If that is not empty, then send an email and update the row.

 Send and email and update row.PNG

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    I have made a test on my side and the flow works well. Please take a try with the following workaround.

    You mentioned "Then it checks if 'Feedbackcheck' cell contains 'Done!'. If it does, then do nothing.", so the first condition may need to use contains instead of equals to.

    Then use the expression -empty() function in the advanced mode of the second condition to determine if the Feedback column contains a value.

    Expression: 

    @empty(items('Apply_to_each')?['Feedback'])

    Finally, by populating Email Dynamic content  in the Send email action, you could send the email to the email corresponding to the row containing the value in the Feedback column.

    22.PNG

    23.PNG

    Please take a try.

     

    Best Regards,

    Barry

  • Community Power Platform Member Profile Picture
    on at

    Hi Barry,

     

    It works! Thank you!

     

    So it was really the 

    @empty(items('Apply_to_each')?['Feedback'])

    which I didn't really get. 

     

    So is this what it does?

    @look for empty (which things?(what array?) [which column?]

     

    Best,

    Iain

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard