App Logo
docs.google.com

Google Docs: suggest edits (find and replace in Suggesting mode)

Automatically suggest edits (find and replace in Suggesting mode) on docs.google.com. Edit an existing Google Doc in Suggesting mode: each find/replace pair becomes a tracked suggestion the owner can accept or reject, rather than a direct edit. Returns, per pair, how many matches were found and whether a suggestion was created, plus the Google account that made the suggestions. Matching is literal and case-sensitive by default. Accents count, so "café" does not match "cafe". Use dryRun to count matches without changing anything. Needs comment or edit access to the document.

Input

url required

Link to the Google Doc (https://docs.google.com/document/d/<id>/...) or the bare document id.

replacements required

Applied in order. Each pair becomes one suggestion covering all its matches.

dryRun optional

Count matches only; no suggestion is created.

Default: false
account optional

Google account email to act as when the browser has several Google accounts signed in. The run stops if the editor is signed in as someone else.

matchCase optional

Case-sensitive matching (default true).

Default: true

Output

dryRun required
documentId required
accountUsed required

Email of the Google account the suggestions are attributed to, read from the editor.

replacements required
totalMatches required
suggestionsCreated required
matchCase optional
verifiedAfterReload optional

True when the new suggestions were still there after reopening the document; null when nothing was applied.

FAQ

Edit an existing Google Doc in Suggesting mode: each find/replace pair becomes a tracked suggestion the owner can accept or reject, rather than a direct edit. Returns, per pair, how many matches were found and whether a suggestion was created, plus the Google account that made the suggestions. Matching is literal and case-sensitive by default. Accents count, so "café" does not match "cafe". Use dryRun to count matches without changing anything. Needs comment or edit access to the document.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/edit_in_suggestion_mode, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/edit_in_suggestion_mode
You do not need one. "Google Docs: suggest edits (find and replace in Suggesting mode)" drives the real docs.google.com pages in a browser, so it works whether or not docs.google.com offers an API for this.
Required: url, replacements. Optional: dryRun, account, matchCase.
It returns dryRun, matchCase, documentId, accountUsed, replacements, totalMatches, suggestionsCreated, verifiedAfterReload.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It makes changes on docs.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/edit_in_suggestion_mode, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/edit_in_suggestion_mode
It is part of Reduck's official curated catalogue.

Start building not clicking