Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Auto-reply for specific dates

(0) ShareShare
ReportReport
Posted on by

We have created a flow for holidays that we turn on when one is upcoming. We have run into an issue though as we have made the flow too simplistic I suspect.  We have set the trigger to be a day of the week which the holiday happens to fall on and simply turn the flow on the day before, but this is causing the flow to trigger on emails already in the inbox which were there from previous Wednesdays in this case.  Is there a variable we can put in here for a specific date, say December 25 2020 instead of 'day'?

Micah_0-1605728282916.png

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Auto-reply for specific dates

    Thanks for the assist Espiscornovus.  I honestly don't know a whole lot about flows but you lead me in the right direction.  I was able to work with a co-worker to change the format of our day variable to include a full date instead of just the day format.

     

    Sincerest thanks.

  • Verified answer
    Expiscornovus Profile Picture
    31,635 Most Valuable Professional on at
    Re: Auto-reply for specific dates

    Hi @Anonymous,

     

    I suspect you already use a formatDateTime function since you have a variable called day?

     

    You could use a different format:

     

     

    formatDateTime(utcNow(), 'M')

     

     

    The output of this format is like this:

    formatdatetime_M.png

     

    Other date time formats can be found over here:

    https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow