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 / copy event notes to On...
Power Automate
Unanswered

copy event notes to OneNote from Outlook calendar

(0) ShareShare
ReportReport
Posted on by 21

Hello,

 

I am trying to setup flow , that copy all event from now to all future event from Outlook Calender to OneNote (My Notes) section. 

 

some how its not working

 

here are the snapshot

 

flow 1.jpg

 

Thank you!

Categories:
I have the same question (0)
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @spatel , thank you for your post.

    From your description, you say you want to "copy all event from now to all future event".

    Based on this, it doesn't sound to me that you would need your condition.

    Could the Flow you want just be the following perhaps?Capture-431.png

    I have tested this and it is working, although when I edit an existing event this happens:Capture-432.png

    So I have made the following changes:Capture-433.png

    Just some food for thought above, but in simple terms ... When you say:

    "I am trying to setup flow , that copy all event from now to all future event from Outlook Calender to OneNote (My Notes) section. "

     

    I cannot see any need for the condition you are using. To copy "All" events, thre is no need for a condition.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

  • spatel Profile Picture
    21 on at

    Hello Alan,

     

    Thank you!

     

    could you please advice on following question?

    condition.jpg

     

    Thank you

  • spatel Profile Picture
    21 on at

    Hello Alan,

     

    Well i followed the same path that you have provided and it work well with first event creation and i added other event to calender and it failed and error message says "

    An item with this name already exists in this location" is there a way tha if can keep loop running even the event is not updated the exsisiting one. 
     
    and it only grabbing the current date event not the all event that we laready created for future event.
     
    Please advice, if i am doing incorrect steps!
     
    Thank you very much

     

     

    conflict with error.jpg

  • AlanPs1 Profile Picture
    2,471 on at

    Hi @spatel 

    In your OneNote notebook, what are the names of the sections you have in there at present?

    Is there a section called "Test Event" already perhaps?

     

    Maybe post a picture of your onenote so I can see the names of the sections you have in there already.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

  • spatel Profile Picture
    21 on at

    Hello Alan,

     

    Please see snapshot of OneNote.

     

    Note: it takes a while to create a section, is there a condition that i can add as soon as event created it create a OneNote section.

     

    Test Event.jpg

     

    Thank you!

  • AlanPs1 Profile Picture
    2,471 on at
    Hi Spatel.

    Forgive me if I am missing anything. But you have a section called “Test Event”. It can’t create another with the same name hence the error.

    Thanks, Alan.
  • spatel Profile Picture
    21 on at

    Hello Alan,

     

    From outlook it only one "Test Event" created from calender and through FLOW it create a OneNote Section, as soon as it created if i test run and it failed with conflict error "

    An item with this name already exists in this location". now my question is, is there a way that if i can avoid these conflict error and let the exsisting event from outlook to update to OneNote. in this case if my event fromoutlook updated or not updated then still FLOW look will run and check if necessary to update the exsisitng event or not but still it will not throw any error. it jusy the sync cycle will continue. and once the evet date expire then it will close the connection and flow will start to sync event from outlook caleder on next date.
     
    Please advice!
     
    Thank you
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @spatel , thank you for the clarification ... 2 things to consider.

    1) when testing, as there is already a section, the test will always fail as you are trying to recreate a section with the same name.

    2) Please see the further enhancement I have made, it creates a page within the section if the section is found to exist.Capture-445.png

    When I do this using the same section name, let's say test event, I get the following in OneNote:Capture-446.png

    It creates a new page called "untitled page" within the existing section:

    The value I have used in "Notebook Selection" is:

    items('Apply_to_each')?['pagesUrl']

    The action to use in the "No" branch is called "Create page in a section". I can't see a way to name these pages (OOTB) but at least there is a way to add multiple updates to a section and also avoid the conflict.

     

    Please give it a try.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

  • spatel Profile Picture
    21 on at

    Hell Alan,

     

    Thank you very much for help!

     

    Still it's not working see below snapshot!

     

     

    Updated flow error.jpgUpdated flow.jpg

  • AlanPs1 Profile Picture
    2,471 on at

    Hi @spatel 

    The error is on the left hand side, it is showing conflict againCapture-447.png

    Can you please try creating a completely new email with a completely diferent subject and allowing the Flow to trigger normally.

    Once you have done that, run the test flow again and see what happens.

    It is working for me when I do this.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard