Skip to main content

Notifications

Power Automate - General Discussion
Answered

Creating sections in a OneNote after Sharepoint site creation

(0) ShareShare
ReportReport
Posted on by 7

Good evening all.  Like the subject line states what I'm trying to do....

 

Trigger is initiated off of 'When a HTTP request is received' which is a Sharepoint site creation.

 

Then the flow gets file XML file content and provisions template to the newly created site.

 

After that...  I'm stuck.  I can 'Get notebooks' and it see's all the notebooks.  But what I want to do is create a few sections in that newly created OneNote 'notebook'.  I feel like this should be straight forward but I've been at it all day and my eyes are starting to go cross eye'd....  HA!

 

Any assistance is greatly appreciated!  TIA

  • Verified answer
    v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Creating sections in a OneNote after Sharepoint site creation

     

    Hi @ACinOKC ,

     

    I'm afraid I can't know if there are any parameters in the request that can be used to filter out the newly created notebook. Is there any relationship between them?

     

    If it has one, you can use the Filter array to filter the notebooks in the Get notebooks action and get the expected one through the filter conditions.

    Then configure the Create section in a notebook with the obtained notebook key.

     

    Because the Get notebooks action can only get the key and file name, excluding parameters such as creation time, it is not possible to obtain the newly created notebook by created time.

    Image reference:

    105.PNG

     

    Best Regards,

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard