Skip to content

eSign ​

eSign lets a company send PDFs for signature. You upload a PDF, add signer roles such as Client and Company, and put fields on the pages. Then you send it. Each signer gets an email with their own link. A signer needs no account. When everyone has signed, eSign makes the signed PDF with a signing certificate at the end.

Part of OpenAct Director

eSign is a paid app. It needs a Director or Producer plan. Without a plan, eSign is locked: the Apps page shows it with a Director badge and an Upgrade button, and the signing links stop working until the company has a plan again. Your data stays saved.

eSign has its own icon in the app rail. It works without Docs. When Docs is on, you can send a PDF from the Docs library, and eSign saves each signed PDF back to Docs.

Install eSign ​

On sites that MarketGrowth runs, eSign is already installed. On your own deploy, you need a license key and access to the private Director repository. Read Get the Director apps.

bash
npm run openact -- add esign
npm install
npm run deploy

eSign is a new app. It is not a copy of DocuSeal or of any other product, and it has none of their code.

Who does what ​

RoleWhat they doPermission
SenderMakes templates, sends documents, and sees, reminds and voids the documents they sentSend documents for signature (esign.send)
ManagerSees, reminds and voids every document, changes every template, and chooses where signed PDFs goManage all documents (esign.manage)
SignerOpens the link from the email, agrees to sign electronically, fills in their fields and signsNo account. The link is the access.

By default, owners, admins and members can send. Owners and admins manage. Change this in Company settings, on the Permissions tab. Guests do not see eSign.

Templates belong to the company. Everyone who can send can use every template. Only the person who made a template, or a manager, can change it.

Send a document ​

  1. Choose eSign in the app rail, then New document.
  2. Choose one:
    • Use a template: the send form opens.
    • Upload a PDF: up to 25 MB. eSign makes a template from it and opens the editor.
    • From Docs: choose a PDF in the Docs library. This shows when Docs is on and you can see docs.
  3. In the editor, name each signer role, such as Client and Company. A template can have up to 10 roles.
  4. Choose a role, then a field type, then click on a page. Hold Shift to place more than one field.
  5. Drag a field to move it. Drag its corner to resize it. The panel on the right changes its role, type, label and choices.
  6. Choose Save, then Send for signature.
  7. Type a name and an email for each role. Turn on Sign in order if the second signer must wait for the first. Add a note if you want. Choose Send.

Every role needs at least one signature or initials field before you can send.

Field types ​

FieldWhat the signer does
SignatureDraws, types or uploads a signature. One signature fills every signature field of that signer.
InitialsThe same, for initials
Full nameTypes their name. It starts with the name the sender typed.
EmailNothing. eSign fills in the signer's email.
Date signedNothing. eSign fills in the date of signing (UTC).
TextTypes one line of text
CheckboxChecks it. Optional by default.
ChoicePicks one of the choices

Keyboard ​

KeysWhat they do
Arrow keysMove the selected field. Hold Shift for bigger steps.
Delete or BackspaceRemove the selected field
Ctrl+D or Cmd+DCopy the selected field
Ctrl+S or Cmd+SSave
EscapeStop placing fields, or clear the selection

Sign a document ​

The signer opens the link in the email. The page shows the PDF with their fields in yellow. Other signers' fields show as dashed boxes with the role name.

  1. Fill in each field. Next field goes to the next field that is not done.
  2. Choose Sign here to add a signature: draw it, type it or upload a picture.
  3. Check the box to agree to sign electronically.
  4. Choose Finish and sign.

A signer can also choose Decline and give a reason. Then the document closes for everyone, and the sender gets an email.

The signing token is in the hash of the link (/esign/sign#<token>). The browser never sends the hash to a server, so the token stays out of server logs. The page sends it to the API in a header. eSign stores only a hash of the token, and a copy sealed with AUTH_SECRET so that reminders can use the same link.

When everyone has signed ​

The Worker makes the signed PDF:

  • It draws each value on the pages.
  • It locks the PDF's own form fields, if it has any, into the pages.
  • It adds a signing certificate at the end: the document ID, the SHA-256 hash of the original PDF, each signer's name, email, role, times (sent, opened, agreed, signed), IP address and device, their signature, the agreement text, and the full audit log.

Then eSign:

  • stores the signed PDF and its SHA-256 hash,
  • saves a copy to Docs, when Docs is on and Save signed PDFs to Docs is on,
  • emails each signer a link to download it, and emails the sender the hash.

If making the PDF fails, the job that runs every 10 minutes tries again, up to 5 times. The sender can also choose Try again on the document page.

Check a copy ​

On the document page, Check a copy compares a file with the hash of the signed PDF. The browser computes the hash. The file does not leave the computer. A copy that matches is the signed PDF with no changes.

The document page ​

ActionWhat it does
RemindEmails the signers who can sign now and have not signed, with the same link. At most once an hour for each signer.
VoidCloses the document. The signing links stop working. Signers who got the email get a short notice.
Signed PDFDownloads the signed PDF with its certificate
DeleteDeletes a voided or declined document and its audit log. A completed document stays as a record.

A template that was sent cannot be deleted, so its documents keep their PDF. Archive it instead. Documents sent from an archived template keep working.

Company settings ​

Company settings has an eSign tab:

  • Save signed PDFs to Docs: on by default. It works when Docs is on for the company.
  • Docs folder: where signed PDFs go. The default is the top of the library.

In the US, the ESIGN Act and UETA accept an electronic signature when the signer shows intent to sign and agrees to do business electronically. eSign records both: the signer checks the agreement box, and each signature has a time, an IP address and a device in the audit log. Other countries have their own rules.

MarketGrowth is not a law firm. Ask a lawyer to check the agreement text and your use before you send contracts with eSign. Some documents, such as wills and some court papers, cannot be signed electronically in many places.

How it works ​

PartWhere
Tablesesign_templates, esign_submissions (a document sent for signature), esign_submitters (one signer), esign_events (the audit log), esign_settings, esign_state
FilesR2 under esign/<company id>/: t/<template id>.pdf for templates, s/<document id>/<file id>.pdf for signed PDFs
Signed-in API/api/apps/esign/... in apps/esign/src/server/routes.ts
Signing API/api/apps/esign/public/... in apps/esign/src/server/public.ts. The token comes in the X-Esign-Token header.
PDF workapps/esign/src/server/pdf.ts, with pdf-lib (MIT)
Pages in the browserpdf.js (Apache 2.0) draws the pages. It loads only on eSign pages.
Docs linkappService("docs", "library"). Without Docs, eSign works the same and skips the Docs parts.

A document keeps a copy of the template's fields from the moment it was sent. A later change to the template does not change a document that people are signing.

Not in eSign yet ​

  • A digital signature with a certificate (PAdES), so that PDF readers show the file as unchanged
  • An API and webhooks for other systems
  • Bulk send from a list
  • Reminders on a schedule, and links that expire
  • Fonts for characters outside Western European languages on the signed PDF. Such characters show as "?" today.
  • Text fields with more than one line

Open source under the MPL 2.0. Made by MarketGrowth.