Google Docs: request eSignatures on a document
Input
url requiredLink to the Google Doc (https://docs.google.com/document/d/<id>/...) or the bare document id.
signers requiredSigner emails, one per signer role, in order: the first is Signer one, and so on. When the document has fields already, the count must match its signer roles; when it has none, one role and one Signature field per email are added.
dryRun optionalTrue fills in the request and reads it back, then cancels: nothing is added to the document and nothing is sent. Pass false to send.
Default: trueaccount optionalGoogle account to act as when the browser is signed in to several.
message optionalMessage in the email to signers. It does not appear in the signed document.
reminders optionalSend automatic reminders to signers who have not signed.
Default: falsedocumentName optionalName of the PDF to sign. Google's default is the document title with the date and time.
allowExternal optionalTrue when the user agrees to share the PDF with signers outside the sender's organisation, which Google asks to confirm. Without it, such a request stops and nothing is sent.
Default: falseOutput
id requiredsent requiredTrue when the request was sent.
pdfUrl requiredLink to the PDF sent for signature; null in a dry run.
signers requiredfieldAdded requiredTrue when a Signature field was added at the end of the document (or, in a dry run, would be).
accountUsed requiredsignerRoles requiredThe signer roles the document has fields for, as Google names them.
pdfId optional