Install
openclaw skills install gemini-deep-research-notionTrigger Gemini Deep Research via browser and save results to Notion. Use when the user asks to "deep research" a topic, says "gemini deep research", or wants an in-depth research report. Execute ALL steps in the main session (browser tool requires main session access).
openclaw skills install gemini-deep-research-notionRun ALL steps in the MAIN SESSION. Do NOT spawn a subagent.
The browser tool (OpenClaw managed profile) is only available in the main session. Subagents cannot access the browser, so all browser automation must happen here.
Reply first: "🔬 Deep Research starting for: [topic]. This takes ~25 min. I'll update you when done."
Then execute all phases below sequentially.
Complete ALL steps below in the main session.
browser action=open profile=openclaw targetUrl="https://gemini.google.com/app"page_info icon) → click "Deep Research" in the menu(() => { var btn = Array.from(document.querySelectorAll('button')).find(b => /Start research|开始研究/.test(b.textContent.trim())); if (btn) { btn.click(); return 'clicked'; } return 'not found'; })()exec("sleep 1200") (20 minutes) + process(poll, timeout=1200000)(() => { var el = document.querySelectorAll('message-content')[1]; return el ? el.innerText.substring(0, 200) : 'NOT_FOUND'; })()document.querySelectorAll('message-content').lengthmessage-content element (usually index 2)document.querySelectorAll('message-content')[2]?.innerText?.lengthdocument.querySelectorAll('message-content')[N]?.innerText?.substring(START, END)/tmp/deep_research_<timestamp>.mdParent page ID: 31a4cfb5-c92b-809f-9d8a-dd451718a017 (Deep Research Database)
cat ~/.config/notion/api_key# → heading_2/heading_3 blockscurl -s -X POST "https://api.notion.com/v1/pages" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{"parent":{"page_id":"31a4cfb5-c92b-809f-9d8a-dd451718a017"},"icon":{"type":"emoji","emoji":"🔬"},"properties":{"title":{"title":[{"text":{"content":"TOPIC"}}]}},"children":[BLOCKS]}'
/v1/blocks/{page_id}/childrenReport back with:
https://www.notion.so/<page_id_without_dashes>profile="openclaw" for browser