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 Platform Community / Forums / Power Automate / Manual trigger from a ...
Power Automate
Unanswered

Manual trigger from a PowerApp to send emails to respective departments depending on columns status / value in a SharePoint list

(0) ShareShare
ReportReport
Posted on by 1,146

Hi,

I've been asked to enable emails to be sent to certain departments mailboxes, with specific information, which is stored in a SP list.  Email are triggered when the user selects a button in a PowerApp.

The conditions for the emails to be sent are determined by the Request Status displays the value 'Completed'
And depending on the Request Value column will determine which department or departments get the email with the additional information in the body of the email.

I've used the 'Get Items' filter query to sort the records that match the criteria above.  As the SP list can have multiple values in the 'Request Status' field

PowerApp screen shot

ClarkyPA365_0-1712915342857.png

 

 Flow screen shot

ClarkyPA365_1-1712915513186.png

 

ClarkyPA365_2-1712915575132.png


I ran a test and it succeed, but no emails were sent????

Hopefully I'm on the right track?????

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @ClarkyPA365 

     

    The system field 'Modified' also contains time stamp but as you are comparing it with 00:00 midnight (UTC time) for current date so you are not getting any result. You could below filter query to get the records which are modified today:

    Modified ge '@{startOfDay(utcNow())}'

     

     

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

     

  • Chris1968 Profile Picture
    1,146 on at

    Hi @ManishSolanki 

    I made that change to the Expression.  Re ran a Failed flow and this error message appeared

    ClarkyPA365_0-1712919412612.png


    Would it be best to start the process from a fresh new query???

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @ClarkyPA365 

     

    The query I shared earlier could be directly copied & pasted in the filter query textbox. But you can also enter it from the expression box as shown below:

    ManishSolanki_0-1712919789585.png

    startOfDay(utcNow())

     

     

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

     

  • Chris1968 Profile Picture
    1,146 on at

    Hi,

    Do I not need the additional query filter of Completed??

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Yes, pls append the additional filter criteria with 'and' keyword as you did initially.  The filter query which I had suggested was just the replacement of Modified part.

     

     

     

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

     

     

  • Chris1968 Profile Picture
    1,146 on at

    Hi,

    Just a quick question.

    This 'button' could be pressed a number of time during the same day...  Will this mean that duplicate emails could be sent out as the query will look for any that have 'completed' and the Request type

    For example

    Completed Change of Hours - Email sent out a few mins later a Completed Change of Manager - email sent would this also send out another email for the Change of Hours.  So a loop will be in affect????

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard