cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fclifton
Regular Visitor

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

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.

27 REPLIES 27

Unfortunately, I can't export my flow due to the visibility of my work email address, but I'll try to lay out all of the steps I followed here. I also figured out a slightly easier way to do it that saves a few steps.

 

  1. From the original Flow template, expand the Create events in Google Calendar action, then click the Check Action Type for insert, update and deleted action to expand it (this will show you the "If yes" and "If no" branches of that condition).
  2. Under the If yes branch, click Check if it is a google calendar to expand the step.
  3. Add an action above the "Html to text" action. For the action, choose Condition.
  4. For the first condition value, use the "Dynamic content" search to find the Outlook content option Is all day event?.
  5. Set the operator to is equal to, then for the second value, use the "Expression" search to find the value true.
  6. This will create two branches for your new condition. First, drag the existing Html to text action (which up until now has followed after the condition you added, rather than being a part of it) up into the newly created If yes branch/box. (Note: if you have trouble getting it to drag, try doing step #7 first, then this step.)
  7. Similarly drag the existing Create an event Google Cal action into the same If yes branch/box so that it immediately follows the Html to text action (like it did before you moved them).
  8. Click to open your Create an event action. The last field in that action should be called "Is all-day"; set the dropdown for this field to Yes.
  9. In the If no branch, add a new Html to text action, followed by a Create an event Google Cal action. You should now exactly replicate all of the entries that you have for the matching actions in the If yes branch (i.e. choose the same Dynamic Content options, message description text, etc), with two key exceptions:
    1. In your original Create an event action (the one under the "If yes" branch), click on the substring function you see in the Description field. You may need to click it more than once, but the pop-up should open to Expression tab, and you will see the full substring expression in the fx text field. Copy the substring expression, then paste this as a substring expression for the Description field of the new Create an event 2 action in your "If no" branch. HOWEVER, because the "Html to text" action you created for this branch was automatically renamed to something like Html to text 2, you will need to scroll through that expression and change the TWO instances of 'Html_to_text' to 'Html_to_text_2' (or whatever you may have renamed it to).
    2. In the last Is all-day field of your Create an event 2 action, change the dropdown to No.
  10. Once you have completed these steps, test your flow! All day events in O365 should now be created as matching all-day events in Google Calendar, and partial-day events should still appear at their correct times.

 

I've included another screenshot of what my flow looked like after editing (showing everything after the "Check if it is a google calendar" condition). Just to note, I did set custom names for my "Html to text" and "Create an event" actions, so the action names won't match yours exactly, but everything else should look essentially the same.

 

Updated Flow

 

I hope this helps!

 

I also have screenshots for most of those individual steps if any are needed; I just didn't want to include them all right away and fill up the page 🙂

amsw
Regular Visitor

It worked!!! It's a miracle. CANNOT THANK YOU ENOUGH! seriously I didn't think I was going to figure it out. Thank you so much for taking the time to walk me through this!

Anonymous
Not applicable

@yseleah thanks so much for putting the time into the step-by-step explanation. Very easy to follow. My only problem (and it's the keystone here) is there's no field in my Google Cal actions that lets me choose all-day status. It almost seems like once the condition is based on the all-day status from Outlook, this field automagically appears in the Google one. I'm not seeing that. And unfortunately, I'm trying to get this step working in a different context: a Flow that takes each line from an Excel spreadsheet and creates an all day event in Google Cal. So if it requires input from Outlook, I won't be able to offer it (unless I do some roundabout solution building, I guess). Below is what I see. You can see I don't have that option in either the exhisting Google Cal action that we drag-and-dropped nor the new one that was added in the No condition. Any ideas?Flow Screenshot.png

What flow are you using? there are a few that are very similar in names, but different flows. The one we are using is "
Sync events from Office 365 Calendar to Google Calendar"

@Anonymous, How long ago did you start using this Flow? I wonder if the field for the "Is all-day" was added to the "Create an event" Google Cal action more recently, and perhaps you are seeing an older version of that action (I don't know how MS Flow manages those types of updates, so this is just a guess).

 

I don't believe it's contingent upon the condition check, though—I just tested by building a new Flow from scratch, starting with a simple "Manually trigger a flow" trigger, and the "Create an event" action that I added after that did have the "Is all-day" field visible under the "Location" field.

Anonymous
Not applicable

I followed the steps in this example and created a new Flow from the referenced template late last week. Probably on Friday. Weird that you get options that I don't.

Anonymous
Not applicable

We must be soooo close to solving this 🙂

I have the same problem, not getting the "Is all-day" field in the "Create an event" action. When I import the calendar posted earlier in this thread ( by amsw, message 20 ) I have to move the "Check if all day event" around a bit. ( with the current import, two events are created ). When I do, a field appears in the "Create an all-day event" action called "isAllDay", and with no drop down.

 

IsAllDay.png

If I delete this event, and replace it with a new "Create an event", that field is gone.

I can also not find the "Is all-day" back in the list of actions for the "Create an event" description ( https://docs.microsoft.com/en-us/connectors/googlecalendar/#actions ).

 

What am I missing ?

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (977)