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

Limit the email frequency for user

Hello,

 

I'm wondering if there is a way to set up a frequency cap for emails users receive with 'Send an email' step?

In other words, I want to control how often users can receive emails, for instance once in 30 days. 

If the user meets the criteria for an email every day, I want to send an email on the first day and not send an email to that user for the next 30 days even if they meet the criteria.

 

Thank you

4 REPLIES 4
Hardesh15
Super User
Super User

@mikhailry  What is your data source? if it is SharePoint then i can explain you how to achieve this.

Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

@Hardesh /Gopenly.in

mikhailry
New Member

@Hardesh15 It's a Sql Server DB. 

@mikhailry  i did not try in SQL DB but if idea works for you please try. You need to store some default value for each row consider as 'No' then use condition in which you need to compare that row column value if it is No then send email. And update the row column value as 'Yes' so that next time if flow runs it will not send email specific to that row.

Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

@Hardesh /Gopenly.in

mikhailry
New Member

@Hardesh15 Thanks for sharing your idea. I'm not sure where should I store my temporary table with the date when the last email was received by the particular user. I was expecting such a feature to be available in the UI. 

I could probably do it in SQL before bringing this data in, it will just make it more complicated and not as flexible as it could be with the UI feature.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,827)