You can find your OneNote application credentials by visiting your Microsoft Azure Portal.You’ll need the following information to set up your OneNote app with Paragon Connect:
Client ID
Client Secret
Scopes Requested
This is an API-only integration - workflow actions for this integration are still in development. You can still connect user accounts, build workflows, and access the API for this integration.
Under Integrations > Connected Integrations > OneNote > App Configuration > Configure, fill out your credentials from the end of Step 1 in their respective sections:
Client ID: Found under Essentials > Application (client) ID on your Microsoft Azure Portal app page.
Client Secret: Found under Manage > Certificates & secrets on your Microsoft Azure Portal app page.
Permissions: Select the scopes you’ve requested for your application. For a list of recommended scopes, please view this integration within your Paragon dashboard. View dashboard.
Press the purple “Save Changes” button to save your credentials.
Note: You should only add the scopes you’ve requested in your application page to Paragon.
Once your users have connected their OneNote account, you can use the Paragon SDK to access the OneNote API on behalf of connected users.See the OneNote REST API documentation for their full API reference.Any OneNote API endpoints can be accessed with the Paragon SDK as shown in this example:
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// Retrieve a Pageawait paragon.request('onenote', '/groups/<Group-ID>/onenote/pages/<Page-ID>', { method: 'GET'});// Create a Pageawait paragon.request('onenote', '/me/onenote/sections/<Section-ID>/pages', { method: 'POST', body: ` <!DOCTYPE html> <html> <head> <title>A page with a block of HTML</title> </head> <body> <p>This page contains some <i>formatted</i> <b>text</b>.</p> </body> </html>`});
Once your OneNote account is connected, you can add steps to perform the following actions:
Create a Page
Update Page
Get Page by ID
Delete Page
Search Pages
You can also use the OneNote Request step to access any of OneNote API endpoints without the authentication piece.When creating or updating records in OneNote, you can reference data from previous steps by typing {{ to invoke the variable menu.