<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Swetha M</title>
    <description>The latest articles on DEV Community by Swetha M (@swetha_m).</description>
    <link>https://dev.to/swetha_m</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2917078%2F3ccdb086-d786-4765-baea-a19377428493.jpg</url>
      <title>DEV Community: Swetha M</title>
      <link>https://dev.to/swetha_m</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swetha_m"/>
    <language>en</language>
    <item>
      <title>How to send a Reminder Mail using Power Automate</title>
      <dc:creator>Swetha M</dc:creator>
      <pubDate>Thu, 06 Mar 2025 11:28:13 +0000</pubDate>
      <link>https://dev.to/swetha_m/how-to-send-a-reminder-mail-using-power-automate-4jcc</link>
      <guid>https://dev.to/swetha_m/how-to-send-a-reminder-mail-using-power-automate-4jcc</guid>
      <description>&lt;p&gt;In most of the organization, sending reminders is a necessary option to indicate employee to complete the pending approvals, tasks and do the follow-ups. From this blog post, I’ll Walk through the steps on how to send a reminder to approvers based on timely manner. &lt;/p&gt;

&lt;p&gt;I have a SharePoint List with the list of items along with the status column. The following workflow helps to send the reminders to approvers every 3 days if the status is Open. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Connect the Scheduler Flow:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Create a Scheduled cloud flow and provide the name for workflow.  &lt;/p&gt;

&lt;p&gt;Then set up the scheduler flow to run every day by adjusting the recurrence settings. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk1ddh0x3v47pxduo3tnx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk1ddh0x3v47pxduo3tnx.png" alt="Image description" width="796" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Use Get Items with a Filter Query:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Add a Get items action to fetch only the items with an Open status from your SharePoint list.  &lt;/p&gt;

&lt;p&gt;Example: &lt;br&gt;
&lt;code&gt;OData filter query: Status eq 'Open'&lt;/code&gt; &lt;br&gt;
Note: This ensures that only the open items are retrieved. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Check the Date Condition:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After retrieving the items, add a Condition to check the difference between “today’s date” and the “Created Date” for each item &lt;/p&gt;

&lt;p&gt;Expression in Power Automate formula &lt;/p&gt;

&lt;p&gt;&lt;code&gt;div(sub(ticks(utcNow()), ticks(items('Apply_to_each')?['Created'])),864000000000)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Use Mod Function to identify the 3-day interval:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you want to send reminders intervals (e.g., every 3 days), you can use the mod function: &lt;/p&gt;

&lt;p&gt;Expression in Power Automate formula to identify 3-day interval &lt;br&gt;
&lt;code&gt;mod(div(sub(ticks(utcNow()), ticks(items('Apply_to_each')?['Created'])),864000000000), 3)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Check the condition:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxwdunadk83kf1lwibzb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxwdunadk83kf1lwibzb.png" alt="Image description" width="800" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This condition checks the mod value is zero, then send a reminder mail. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Send Email to the Supervisor:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Under the Yes block, add the Send an email (V2) action and set the below properties, &lt;/p&gt;

&lt;p&gt;To: Supervisor's email (stored in a column or manually added) &lt;/p&gt;

&lt;p&gt;Subject: Reminder - Pending Open Items &lt;/p&gt;

&lt;p&gt;Body: Mention details like Title, created date, and the reason for the reminder. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82irfcm908021pdwets2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82irfcm908021pdwets2.png" alt="Image description" width="800" height="552"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;This Power Automate uses the filter queries, date calculations, and the mod function to automate periodic reminders for approvers regarding pending open items. This improves tracking of tasks, timely follow-ups without the need of manual intervention. &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
