Sage_AI Doc Edits
Apply a list of edits to a Google Doc from a menu inside the Doc, after you see exactly what will change.
What it does
Sage_AI Doc Edits lets you apply a prepared list of edits to a Google Doc. You review the changes with Sage_AI in chat. Sage_AI then writes the list as a JSON file, and you paste it into a dialog in your Doc.
The dialog previews each edit and changes nothing. Nothing is applied until you click Apply. After each edit, the script reads the Doc again and checks the result.
What it does not do
- It does not run on its own. You run it. Sage_AI does not run it and never holds your Google credentials.
- It does not roll back. You name the current version first, and that version is your rollback.
- It edits paragraphs and list items in the body of each tab. It does not edit tables, headers, or footers. You edit header fields and the Versions table by hand.
- It is not the right tool for a whole section or a whole tab. A copy and paste is faster there. The script earns its place on surgical edits: a delete, a short swap, or a line or two added to a list.
How to use it
- Review the changes with Sage_AI in chat. When you approve them, Sage_AI writes the edits from a live read of your Doc.
- In your Doc, name the current version. Choose File, Version history, Name current version.
- Open the Sage_AI Edits menu, choose Apply edits, paste the list, and click Preview.
- Read the result for each item. When the list is clean, click Apply.
- Scroll your Doc to look at it. Version history lets you compare in detail or go back to the earlier version.
Where to get it
The Product Management Infrastructure template carries the script. When you copy that template in Start Here, step 2, the Sage_AI Edits menu comes with it. The first time you use the menu, Google asks you to authorize the script. It asks for access to Google Docs and for permission to show a dialog.
The other templates will carry it as each one is updated.
New to the System? Start with Start Here. The templates are listed on the Growth Factors page.
Current version
Version 1. First release.