App Logo
docs.google.com

Google Docs: sign a document sent for eSignature

Sign a Google Docs / Drive eSignature request addressed to the signed-in account: fills every field the signer has, on any page. Signature and initials are generated from the full name and initials you give, name fields print the full name, text fields take your values by field id (from get_signature_request), and date fields fill themselves. Then it completes the signing and checks the text Google received. Returns the account that signed, each field with its page (and text values), and how many other signers are still pending. Refuses when the account is not a signer, has already signed, or the request was cancelled, and when initials or a text value are needed but not given. Google asks the signer to accept its eSignature terms before completing: pass acceptTerms only when the user agrees to them, otherwise nothing is signed. When the browser is signed in to several Google accounts, pass the account to act as.

Input

url required

Link to the PDF to sign (https://drive.google.com/file/d/<id>/..., as list_signature_requests or request_signatures return) or the bare file id.

fullName required

Full name of the signer; Google draws the signature from it and prints it in name fields.

account optional

Google account to sign as when the browser is signed in to several.

initials optional

The signer's initials. Needed when the document has initials fields (get_signature_request lists them).

textFields optional

Values for the document's text fields, one per field, by the fieldId get_signature_request returns. Needed when the document has text fields.

acceptTerms optional

True when the user agrees to Google's eSignature terms of service, which Google asks to accept before completing a signature. Without it, the script stops at that step and signs nothing.

Default: false

Output

title required
fileId required
signed required
signedAs required

Email of the account that signed.

otherSignersPending required

Signers who have not signed yet, besides this account. When 0, Google emails the signed copy to everyone.

url optional
fields optional

This signer's fields, from Google's data: type, page number, and for text fields the value Google received.

fieldsSigned optional

Fields filled by this run (signatures, initials, names and text); date fields fill themselves and are not counted.

FAQ

Sign a Google Docs / Drive eSignature request addressed to the signed-in account: fills every field the signer has, on any page. Signature and initials are generated from the full name and initials you give, name fields print the full name, text fields take your values by field id (from get_signature_request), and date fields fill themselves. Then it completes the signing and checks the text Google received. Returns the account that signed, each field with its page (and text values), and how many other signers are still pending. Refuses when the account is not a signer, has already signed, or the request was cancelled, and when initials or a text value are needed but not given. Google asks the signer to accept its eSignature terms before completing: pass acceptTerms only when the user agrees to them, otherwise nothing is signed. When the browser is signed in to several Google accounts, pass the account to act as.
Required: url, fullName. Optional: account, initials, textFields, acceptTerms.
It returns url, title, fields, fileId, signed, signedAs, fieldsSigned, otherSignersPending.
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/sign_document, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sign_document
It is part of Reduck's official curated catalogue.

Start building not clicking