Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Trigger email flow when sharepoint list date is today

(0) ShareShare
ReportReport
Posted on by 19

I have a SharePoint list that has 3 different date fields and a Choice field. The date fields are 

1. "Letter Sent Date"   (Date and Time column - manually updated with each entry)

2. "3 months from 'Letter Sent Date' column"  {Calculated column: =DATE(YEAR([Letter Sent Date]),MONTH([Letter Sent Date])+month,DAY([Letter Sent Date]))}

3. "Fortnight before 3 months from 'Letter Sent Date' column"  {Calculated column: =[3 Month date]-(7*2)}

4. Choice field "Decision for Re-registering"  (Choices are Yes, No)

 

I would like a flow to trigger if the choice field is Blank (null) AND the date within the "Fortnight before 3 months from 'Letter Sent Date' column"  {Calculated column: =[3 Month date]-(7*2)}"  is today's actual date. 

 

I would like an email to be generated and sent at around 9am if both criteria is met.  I am in Brisbane Australia time zone.

 

Any help would be appreciated. 🙂

 

 

  • v-yujincui-msft Profile Picture
    on at
    Re: Trigger email flow when sharepoint list date is today

    Hi @Kelley ,

     

    I am glad to see that you solved the problem, and I also thank you for your recognition and sincere reply. 🙂

     

    Best Regards,

    Charlie Choi

  • Kelley Profile Picture
    19 on at
    Re: Trigger email flow when sharepoint list date is today

    Dear Charlie,

    It has worked!!! Thank you

    Thank you for your patience, thank you for your time and thank you for being attentive to solving my problem. 
    You have assisted me greatly and I am forever grateful. 
    Is there a way I can send your manager/leader an email to pass on my feedback? You truly deserve to be recognised for what you have done. 

    Thank you Charlie... really and truly thank you

  • Verified answer
    v-yujincui-msft Profile Picture
    on at
    Re: Trigger email flow when sharepoint list date is today

    Hi @Kelley ,

     

    You should use the internal name of your List's column.

    vyujincuimsft_0-1642501216444.png

     

    Best Regards,

    Charlie Choi

  • Kelley Profile Picture
    19 on at
    Re: Trigger email flow when sharepoint list date is today

    Hi Charlie, 

    We seem to be getting closer... 

    Array Filter 4 now has data within the output.  Hooray! However....

    Kelley_1-1642494228660.png

     

    It failed at the HTML table.

    Kelley_0-1642494205870.png

    Kelley_5-1642494760732.png

    Here are screen shots of the HTML table- showing each expression.

    Kelley_2-1642494290633.pngKelley_3-1642494304120.png

     

    Kelley_4-1642494321196.png

    The error code talks about "addhours".


    Please don't give up on me and this issue now.  We are nearly there 🙂 

    thank you thank you thank you 🙂 

     

  • v-yujincui-msft Profile Picture
    on at
    Re: Trigger email flow when sharepoint list date is today

    Hi @Kelley ,

     

    Is that the right logic?

    ‘Fortnightbefore3monthsfromLetter’<=utcnow()<=’3monthsfromLetterSentDate’

     

    It seems that there are no eligible records in your data source.

    Try adding a new record with a 'LetterSentDate' column value of 28/10/2021 and run Flow again.

     

    Best Regards,

    Charlie Choi

  • Kelley Profile Picture
    19 on at
    Re: Trigger email flow when sharepoint list date is today

    Hi Charlie,

     

    Yes there is data within the SharePoint list.

    Kelley_0-1642479263150.png

    Kelley_1-1642479292613.png

    thank you 🙂

  • v-yujincui-msft Profile Picture
    on at
    Re: Trigger email flow when sharepoint list date is today

    Hi @Kelley ,

     

    Could you please double check your data source? It seems that the data source has no eligible records.

    vyujincuimsft_0-1642468588295.png

     

    Best Regards,

    Charlie Choi

  • Kelley Profile Picture
    19 on at
    Re: Trigger email flow when sharepoint list date is today

    Hi Charlie, 

    I have added the 'Send an email(V2) Action into the If yes branch of the Condition'.

    The Filter array 4 is still empty. []

    Kelley_1-1642456807517.pngKelley_2-1642456827522.png

    What am I doing wrong?

  • v-yujincui-msft Profile Picture
    on at
    Re: Trigger email flow when sharepoint list date is today

    Hi @Kelley ,

     

    Yes, you should select the Body of Filter array 4 in the 'Create HTML table' action.
    Have you checked the outputs of Filter array 4? Is it empty?
    Try putting the Send an email(V2) Action into the If yes branch of the Condition.

    vyujincuimsft_0-1642413039058.png

     

    Best Regards,

    Charlie Choi

  • Kelley Profile Picture
    19 on at
    Re: Trigger email flow when sharepoint list date is today

    Hi Charlie,

    I am most grateful for your assistance, but the email is still coming through without the table. See below.

    Kelley_0-1642397530378.png

    Here is the flow at a high level.

    Kelley_1-1642397596348.png

    Here are the filter arrays

    Kelley_2-1642397648292.png

    this is the full expression/condition in the Filter Array 4

    @And(lessOrEquals(item()?['OData__x0031_4_x0020_days_x0020_before'], utcNow()),greaterOrEquals(item()?['OData__x0033__x0020_MONTH_x0020_DATE'], utcNow()),equals(item()?['Re_x002d_Registering_x0020_Compa/Value'], null))

     

    This is the condition:

    Kelley_3-1642398159454.png

     

    Which 'Body' do I select in the 'Create HTML table' - from which filter Array? Currently it is Filter array 4

    Kelley_4-1642398244460.png

     

    May I please trouble you for your assistance. thank you very much 🙂

     

     

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1