App Logo
docs.google.com

Get current Google Docs/Sheets user

Automatically get current Google Docs/Sheets user on docs.google.com. Report which Google account Google Docs/Sheets is signed in as in this browser: display name and email. When the browser is not signed in to Google, the run fails with a signed-out error that says to sign in, so it can be used to check a session before running other Docs or Sheets scripts.

Input

None

Output

loggedIn required
name optional
email optional

FAQ

Report which Google account Google Docs/Sheets is signed in as in this browser: display name and email. When the browser is not signed in to Google, the run fails with a signed-out error that says to sign in, so it can be used to check a session before running other Docs or Sheets scripts.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/get_current_user
You do not need one. "Get current Google Docs/Sheets user" drives the real docs.google.com pages in a browser, so it works whether or not docs.google.com offers an API for this.
Nothing. It takes no input.
It returns name, email, loggedIn.
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 only reads. It looks things up on docs.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/get_current_user
It is part of Reduck's official curated catalogue.

Start building not clicking