Skip to main content

List Section Groups

Lists section groups in Microsoft OneNote 365.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
Notebook IDinNotebookIDThe ID of the notebook. If not provided، lists all section groups across all notebooks

Outputs

PropertyFieldDescription
Section GroupsoutSectionGroupsArray of section group objects

Options

PropertyFieldDescription
CredentialsinCredentialsMicrosoft 365 credentials (OAuth2 or Service Account)

Requirements

  • OAuth2 (Delegated) — Authorize via browser to access OneNote on behalf of a user. Note: Microsoft OneNote API only supports delegated authentication - app-only (client credentials) authentication is not supported.
    • _redirect_url — Redirect URL (readonly, optional). Add this to your Azure app's Redirect URIs
    • tenant_id — Tenant ID (text, required). Azure AD tenant ID، or 'common' for multi-tenant
    • client_id — Application (Client) ID (text, required). Azure AD application (client) ID
    • client_secret — Client Secret (password, required). Azure AD application client secret

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Get Section Group · Create Section Group

Elsewhere in the package: List Notebooks · Get Notebook · Create Notebook · List Sections · Get Section · Create Section · List Pages · Get Page · Create Page · Update Page and 3 more

See also