notion.getSession retrieve a Notion agent session and its current state.
Example
automations/notion-get-session.automation.ts
Inputs
session_id is required. Every input accepts a compatible signal, and an optional second argument can select a named account.
Output
Returns the fullsession, including status, timestamps, pending actions, and provider error details when present.