Automatically batch update Google Drive sources (Docs/Sheets/Slides) in NotebookLM. 自动批量更新 NotebookLM 中的 Google Drive 资料(文档/表格/幻灯片)。
Batch Update Google Drive Sources in NotebookLM
Combining NotebookLM with Google Docs, Sheets, and Slides is a game-changer, as it allows the tool to function as a natural language interface for databases in long-term projects.
The catch is that NotebookLM captures a static snapshot of your files when they are first added. Syncing updates requires a manual process, and since there is no "Update All" feature, you’re forced to click into each source's settings individually—a massive time sink.
This script automates that workflow. It scans your source list for all Google Workspace files and triggers an update for each one, handling the entire process in a single click.
NotebookLM 快捷更新Google Drive资料内容
NotebookLM 和 Google Docs/Sheets/Slides 配合使用有奇效,因为这些文档的更新,可以反映到 NotebookLM 中。这使得 NotebookLM 可以被当做自然语言的数据库检索工具,用于需要持续更新数据的长期项目。
但是 NotebookLM 实际上会在添加资料时把当时的内容固化下来。资料的更新,在 NotebookLM 这边不手动操作无法同步过来。NotebookLM 的界面上没有全部更新的功能,更新按钮在资料的详情里,一个个点进去非常耗费精力。
于是有了这个脚本,从资料列表中找出所有 Docs/Sheets/Slides 资料,逐个进入详情更新。全程一键搞定。
Video below:
https://github.com/user-attachments/assets/782674f3-912f-42a4-bf28-0d53dccf66ce
Created by Victor_42