Update the content of a specified page by its inner element IDs.
External DocumentationTo learn more, visit the Microsoft OneNote documentation.

Parameters

ParameterDescription
Content CommandsAn array of content command objects to modify specific elements on the page. Each command must specify a target element ID, an action (insert, append, replace, prepend, delete), and the new HTML content.

Use the “Get Page Content” action with “Include Element IDs” enabled to find target IDs.

For example:
[
{
“target”:“#para-id”,
“action”:“insert”,
“position”:“before”,
“content”:"Image above the target paragraph"
},
{
“target”:“#list-id”,
“action”:“append”,
“content”:“
  • Item at the end of the list

  • }
    ]
    For additional information regarding to creating content commands, refer to Microsoft OneNote API documentation.
    Notebook IDThe ID of the OneNote notebook to interact with.

    Note: This parameter’s fetcher depends on the selected notebook location. When location is not specified, the fetcher will retrieve all notebooks from the account.
    Notebook LocationChoose whether to access OneNote from your account, OneDrive, or from a SharePoint site.
    Page IDThe ID of the page to interact with.
    Section IDThe ID of the section to interact with.
    Site IDThe ID of the SharePoint site that contains the OneNote notebook. Can be obtained by using the SharePoint List Sites action.
    User IDThe ID of the user whose OneDrive contains the OneNote notebooks.

    Note: Using the delegated (OAuth) connection type will only allow to insert the connected user’s ID.

    Workflow Library Example

    Update Page Content with Microsoft Onenote and Send Results Via Email
    Workflow LibraryPreview this Workflow on desktop