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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email the assigned for...
Power Automate
Unanswered

Email the assigned for the upcoming week

(0) ShareShare
ReportReport
Posted on by 10

Hi,

We have a list in SharePoint where each worker has a week with kitchen duties. I want a workflow to notify the person who has the next week, by email. In the list we have week number, from date, to date and assigned to. 

I want the workflow to send a email on Friday 3 days before the upcomming week. 

 

Example:

If i have kitchen duty in week 25, I want a email saying "You have kitchen duty next week!" on Friday week 24. 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at
    Re: Email the assigned for the upcoming week

    Hi @JAF,

     

    Could you please share a bit more about your SharePoint list?

    Does the Week number column store all weeks number of a year within your SharePoint list?

     

    I have created a SharePoint list on my side and the data structure of it as below:8.JPG

    Note: The Week number column store all week numbers of this year, current week is week 11 of this year. The From date and To date column are both date type column. The Assigned to column is a Person or Group type column.

     

    If the Week number column store all weeks number of a year within your SharePoint list, please take a try with the following workaround:

    • Add a Recurrence trigger, Interval set to 1 and Frequency set to Week, On these days field set to Friday.
    • Add a "Get items" action, specify Site Address and List Name.
    • Add a "Filter array" action, From set to output of "Get items" action, click "Edit in advanced mode", type the following formula:
    @equals(item()?['Week_x0020_number'], add(int(div(dayOfYear(utcNow()), 7)), 1))
    • Add a "Apply to each" action, input parameter set to output of "Filter array" action.
    • Within "Apply to each" action, add a "Send an email" action, To field set to following formula:
    item()?['Assigned_x0020_to']?['Email']

    Image reference:9.JPG

     

    10.JPG

    The flow works successfully as below:11.JPG

     

     

    More details about using expression in flow actions, please check the following article:

    https://flow.microsoft.com/en-us/blog/use-expressions-in-actions/

     

     

    In addition, you could also take a try with the following workaround:12.JPG

    Within Condition box of "Filter array" action, type the following formula:

    @and(equals(formatDateTime(addDays(utcNow(), 3), 'MM/dd/yyyy'), formatDateTime(item()?['From_x0020_date'], 'MM/dd/yyyy')),equals(formatDateTime(addDays(utcNow(), 9), 'MM/dd/yyyy'), formatDateTime(item()?['To_x0020_date'], 'MM/dd/yyyy')))

     

     

    Best regards,

    Kris

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard