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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an all day even...
Power Automate
Unanswered

Create an all day event in google when an all day event is created in outlook

(0) ShareShare
ReportReport
Posted on by 10

I would like to create an all day event in Google calendar when an all day event is created in Outlook. Currently if an all day event is created in Outlook, it becomes a 2 day event with start and end times in Google calendar.  This is using the Sync events from Office 365 Outlook Calendar to Google Calendar template.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @fclifton,

     

    When testing with the All day event, I got the same issue with you.

     

    Then I tried to convert the timezone from UTC to Pacific Standard time using the ConvertTimeZone function.

     

    First, using the Compose action to convert time with the following code:

    converttimezone(triggerBody()?['End'],'UTC','Pacific standard time')

     

    Second, in the Google calendar action Create an event, enter the following code for the End time field:

    formatDateTime(actionOutputs('Compose'),'yyyy-MM-ddT00:00:00.0000000+00:00')

    1.PNG

     

    When an All day event is created in Outlook calendar, it will be created on the Google calendar without issue.

     

    Please have a try with it on your side.

     

     

    Best regards,

    Mabel Mao

  • fclifton Profile Picture
    10 on at

    Thanks for the reply. I finally got around to trying it. Unfortunately my flow looks to be a little different and I could not make your solution work for it.  The flow I have is "Sync events from Office 365 Calendar to Google Calendar" so it runs whenever any event changes take place in Outlook.  Creating an all-day event is just one thing.  So I do not have the place to add a start and end time to the event.  I tried to add a screenshot of my flow but could not figure out how to do so.

     

  • amsw Profile Picture
    26 on at

    wondering if you ever figured this out? having the same issue. 

  • fclifton Profile Picture
    10 on at

    No, I have not figured it out.  I have just put up with it.  I keep hoping someone more familiar with Flow templates will make one that does not have the issue.

  • yseleah Profile Picture
    20 on at

    I ran into this issue myself and was able to come up with a solution that seems to work perfectly.

     

    Immediately after the "Check if it is a google calendar" action (If yes), I added a new condition for "Check if all day event". For the first value, I used the Dynamic content "Is all day event?" from the Dynamic content, then "is equal to" the value "TRUE".

     

    From that, I cloned the original "Html to text" and "Create an event" actions under both the Yes and No conditions. For the "Create an event" action on the "Yes" side (i.e. for O365 all-day events), I updated the substring to make sure it was using the appropriate Html to text output (since they have unique names), then set the last option for "Is all-day" to "Yes".

     

    I then did the same thing on the "No" side of the "Is all day event?" condition, with the only difference being that the last setting is then set to "No".

     

    I found that once the "Is all-day" setting was set correctly for Google Calendar, the event started showing up on the correct day (as it completely ignores start and end time).

     

    Updated Flow Template

    I hope this helps!

  • amsw Profile Picture
    26 on at

    hmmm what flow exactly are you using? It seems there are a couple similar ones - asking because I don't see the action for check if google calendar.  Mine is "Sync events from Office 365 Calendar to Google Calendar."

  • amsw Profile Picture
    26 on at

    so I switched to the flow you all are using and trying to follow your steps... please hold!

  • fclifton Profile Picture
    10 on at

    The flow I have is "Sync events from Office 365 Calendar to Google Calendar" so it runs whenever any event changes take place in Outlook. 

  • amsw Profile Picture
    26 on at

    thanks for your instructions! You are more advanced than I. I can't figure out how to clone the action other than manually, and also not sure about your next instructions. If you happen to have a moment, further detalis would be really helpful! Thanks again.

  • fclifton Profile Picture
    10 on at

    @yseleahwhich flow are you using?

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 170 Super User 2025 Season 2

Last 30 days Overall leaderboard