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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow that send an Emai...
Power Automate
Unanswered

Flow that send an Email with all the Outlook calendar appointmets of the next day.

(0) ShareShare
ReportReport
Posted on by 293

Hi! as the tittle says, I'm working on a flow that sends you an email with all your appointmets for the next day at 18:00 every day.

 

I'm currently creating 2 time stamps, one that is the next day at 08:00, and the other one 18:00.

Then I use get calendar to get all my calendar items, I use a condition that checks if the start time of the calendar items is equal or greater than 08:00 and the end time is equal or less than 18:00.

 

If positive send me an email with the event data. No succes so far, sometimes it sends me a few but I don't know why sometimes works and sometimes doesn't. Maybe some events that have recurrency have a problem with the start and end dates? Here's the flow.

 

fist partfist partlast partlast part

 

 

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @FacundoGorla 

    Hi there.  So, when you say "No success so far..." what is happening?  Looking at what you have so far, it looks like you might be getting a single email for each event, is that the case?

     

    If so, you may want to consider the same structure, but instead of the send email, have a step to Append to an Array variable.

     

    Then, outside of your Apply to Each loop, you can send the email with the variable as the body of the email.

     

    Just a thought, but please keep us posted.

    -Ed-

     

     

    If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • FacundoGorla Profile Picture
    293 on at

    Right now even when I have a calendar full of events it's not sending me anything, it all goes into false in the condition. Sometimes one or two events pass as true and i get the email.

     

    Yeah I know currently it sends me one for each event, I'll try what you suggested when I can make it work.

     

    Here's the condition in case I did something wrong there:

     

    flow3.png 

    Should send me for every event that starts time is equal or greater than 08:00 and end time is equal or less than 18:00 of tomorrow.

    I even tried to put the future time that compares to the end far away like a week and still only get like 3 events from more than 25 that should be there.

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    One issue I've bumped into with dates, is that if the number of ticks is too large, Flow/PA gets weird.

     

    Take a look at this article which suggests dividing the number by a constant to make the number more manageable.

     

    Not certain if that's the cause of your issue, but let's start there.

    -Ed-

     

    If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • FacundoGorla Profile Picture
    293 on at

    Good article, thanks. Just divided de ticks but still. I put the range of time of a week and only have the same 3 events. do start and end take their dates from the hole event if it's a recurrence event?

  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @FacundoGorla ,

     

    The flow could only check the first time of the recurrence event and there is no any way to check the recurrence event except the first time.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • FacundoGorla Profile Picture
    293 on at

    isn't there a way around?

     

    Is weird that PowerApps for example do take all the events when using the same start value of the event and shows them correctly as you can see here:

     

    calendar screencalendar screenitems values of that galerry using the start statement of the calendar events.items values of that galerry using the start statement of the calendar events.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard