🔬 Automate full agreement lifecycle with JotForm, approvals, Signwell e-signatures & tracking

⚡ 288 views · 🔬 Document Extraction & Analysis

Description

Client Form → Draft → Approve → Sign → Deliver, fully automated

This workflow automates the entire agreement lifecycle from client form submission to signed document delivery. It generates personalized agreements from templates, manages internal approvals, orchestrates e-signatures via Signwell, and delivers fully executed documents with complete audit trails in n8n Data Tables.

Good to know

Who’s it for

Service businesses, consultants, agencies, and freelancers who send agreements to clients regularly. Perfect for anyone wanting to avoid other costly e-signature platforms with limited API and automation capabilities. Signwell has an affordable entry level tier with generous API limits. If you’re looking to eliminate manual document preparation, have an approval workflow, and track signatures while maintaining professional client communication, then this solution is a good fit.

How it works

Phase 1: Draft Creation

  1. JotForm trigger captures client submission (company name, address, contact details, position)
  2. Standardizes form data and duplicates Google Doc template with custom filename
  3. Replaces template variables with client information (company name, address, full name, position, dates)
  4. Creates clean document URL and logs initial record to Data Tables
  5. Emails internal team with draft review link and client details

Phase 2: Approval & Preparation

  1. Gmail monitors inbox for “Approved” reply email
  2. Fetches agreement record from Data Tables and marks as approved
  3. Downloads Google Doc as PDF and uploads to Drive folder
  4. Grants temporary public sharing access (required for Signwell file import)
  5. Creates Signwell document with embedded signature fields and signing URL
  6. Emails client with personalized signing link
  7. Revokes public sharing access for security and updates Data Tables with Signwell details

Phase 3: Signature & Delivery

  1. Gmail monitors for Signwell completion notification
  2. Extracts signed document download link from notification email
  3. Downloads fully executed PDF from Signwell
  4. Uploads to “Final Versions” folder in Google Drive
  5. Updates Data Tables with completion status and final document URLs
  6. Sends confirmation email to client with signed PDF attached
  7. Deletes document from Signwell to free up storage

Requirements

How to set up

  1. Add credentials: JotForm API, Gmail OAuth2, Google Drive OAuth2, Google Docs OAuth2, Signwell API key
  2. Create JotForm: Build form with fields: Company Name, Company Address (address field), Full Name (name field), Your Position/Job
    Title, Email
  3. In “JotForm Trigger” node: select your form
  4. Create Google Doc template: Add variables {{clientCompanyName}}, {{clientFullName}}, {{clientNamePosition}}, {{clientCompanyAddress}}, {{agreementDate1}}, {{agreementDate2}}
  5. In “Copy and Rename File” node: select your template document and update folder ID to your “Drafts” folder
  6. Create Data Table: Name it “Services Agreements” with columns: documentFileName, clientEmail, clientFullName, clientNamePosition, clientCompanyName, clientCompanyAddress, documentUrl, approvalStatus, sentDocumentPdfUrl, sentDate, signwellUrl,
    signwellDocID, docSigned, finalExecutedDocGDrive, finalExecutedDocSignwellUrl
  7. In “Insert Row” and all “Get/Update Row” nodes: select your Data Table
  8. Create Gmail labels: “_AGREEMENTS” with 2 nested (sublabels) Agreement-Approvals” and “Agreement-Completed” for filtering
  9. In “Check for Email Approval” node: select your approval label and update internal email address
  10. In “Check Email for Completed Notification” node: select your completed label
  11. In “Create Document in Signwell” node: update API key and adjust signature field coordinates for your document
  12. Set Signwell to live mode: Change "test_mode": true to "test_mode": false when ready for production
  13. Activate workflow

Customizing this workflow

Quick Troubleshooting

Sample Outputs

File References

đź”— Nodes Used

HTTP Request, Google Drive, Jotform Trigger, Gmail, Google Docs, Gmail Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup