What You’ll Build
By the end of this guide, you will have an automation that:- Generates a personalized contract from a template
- Sends the contract to one or more signers for electronic signature
- Tracks signing status and sends reminders
- Saves the fully signed PDF back to your data source
Prerequisites
- A DocsAutomator paid plan with the eSign add-on enabled
- A Google account for creating the template
- A data source (this guide covers API, but the same principles apply to Airtable, Google Sheets, and other sources)
Step-by-Step Setup
Create the Contract Template
Create a Google Doc with your contract text and add placeholders for dynamic content and e-signature fields.Data placeholders:
E-signature placeholders:
Place the signature placeholders where you want them to appear in the final document, typically at the bottom of the contract.
| Placeholder | Purpose |
|---|---|
{{client_name}} | Client’s full name |
{{client_email}} | Client’s email address |
{{company_name}} | Your company name |
{{contract_date}} | Date of the contract |
{{contract_id}} | Unique contract identifier |
{{scope_of_work}} | Description of services |
{{total_amount}} | Contract value |
| Placeholder | Purpose |
|---|---|
{{esign.signature_1}} | Client’s signature |
{{esign.date_1}} | Client’s signing date (auto-filled) |
{{esign.text_1_printedname}} | Client’s typed name or title |
{{esign.signature_2}} | Your company’s signature |
{{esign.date_2}} | Your company’s signing date |
The number after each e-sign placeholder (1, 2, etc.) corresponds to the signer number. Signer 1 sees fields tagged with
_1, signer 2 sees fields tagged with _2, and so on.Create the Automation
- Click + New Automation in your DocsAutomator dashboard
- Name it “Client Contracts”
- Select your data source:
- API for programmatic contract generation
- Airtable, Google Sheets, or another source for UI-based workflows
- Select your contract template
Map Fields to Placeholders
Connect your data source fields to the template placeholders.
- API
- Airtable / Google Sheets
When using the API, placeholders are mapped automatically from the
data object in your request. No additional mapping is needed in the UI.Enable E-Signatures
In your automation’s output settings, enable the E-Signature section. DocsAutomator automatically detects e-sign placeholders in your template.Configure signers:For each signer, provide:Signing order:
- Email: Where the signing invitation is sent (use a placeholder like
{{client_email}}for dynamic values) - Name (optional): Displayed in the signing portal
- 2 Signers (Client + Company)
- 1 Signer (Client Only)
- Signer 1: Client — email from
{{client_email}}, name from{{client_name}} - Signer 2: Your company representative — enter a static email and name
Parallel (Default)
Both parties receive the signing invitation simultaneously and can sign in any order.
Sequential
Signer 1 receives the invitation first. Signer 2 receives theirs only after Signer 1 completes.
Customize Signing Emails
Customize the three email types sent during the signing workflow:
- Invitation email: Sent when a signing request is created
- Reminder email: Sent to signers who haven’t completed signing
- Completion email: Sent to all parties once everyone has signed
{{documentName}}— the contract name{{signerName}}— the recipient’s name{{signButton:Sign Now}}— a call-to-action button (invitation/reminder only){{downloadButton:Download}}— download link (completion email only)
- DocsAutomator Mail: Sent from DocsAutomator’s infrastructure (default)
- Gmail: Sent from your connected Gmail account for a branded experience
Configure Additional Output Actions
Beyond e-signatures, set up additional post-generation actions:
- Save signed PDF to data source: Automatically saves the completed signed PDF back to your Airtable attachment field, Google Sheets column, etc.
- Save to Google Drive: Archive signed contracts in a specific Drive folder
- Notify webhook: Send a POST request with the signed PDF URL and signer details when signing completes
Test the Workflow
Generate a test contract to verify the full flow:
- API
- Airtable / Google Sheets
Send a test request:The response includes:
Monitor Signing Status
Track signing progress in the DocsAutomator dashboard or via the API:
- Dashboard: View all signing sessions with status indicators (Pending, In Progress, Completed, Declined, Expired)
- API: Call
GET /esign/sessions/{sessionId}for detailed status - Webhooks: Receive automatic notifications when signing completes
| Status | Meaning |
|---|---|
| Pending | Created, waiting for signers to open |
| In Progress | At least one signer has started |
| Completed | All signers have finished |
| Declined | A signer declined to sign |
| Expired | Signing link expired before completion |
Delivery Methods
DocsAutomator supports two ways to deliver signing requests:- Email Delivery (Default)
- Link Delivery
Signers receive an email with a link to the signing portal. This is the simplest approach and works for most use cases.
- Invitation emails are sent automatically when the document is generated
- Reminders can be configured to follow up with unsigned parties
- Completion emails notify all parties when signing is done
Next Steps
eSign API Reference
Programmatic control of signing sessions
Compliance & Legal Validity
Legal standards and compliance details
E-Sign Date Formats
Customize date formats in signed documents
Notify Webhook
Receive notifications on signing completion