cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cindy0908
New Member

How to use Power Automate to send emails to a group of people (query)? It probably is a scheduled flow/action. I am not sure.

Hi Expert,

 

Recently, our business department requires that if the customer status meets certain conditions, send an email after 2 hours

E.g

John Smith’s record was created at 12:00 PM, his status is new, and the stream should run at 2:00 PM to send him an email.

Joanne White record was created at 12:01 PM, her status is new, and the stream should run at 2:01 PM to send her an email.

 

Thank you!

Cindy

 

 

 

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @Cindy0908,

 

You could use a delay until action and use an expression which adds 2 hours to the created on date/time value of the record.

 

Below is an example of that approach.

 

formatdateTime(addHours(triggerOutputs()?['body/createdon'], 2), 'yyyy-MM-ddTHH:mm:ssZ')

 

delayuntil2hours.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,972)