Skip to main content

Leasing, Showings & Field Inspections

Incoming webhook

DocuSign & Tenant Office

While Tenant Office includes built-in electronic lease signing at zero per-envelope fee, commercial landlords and specialty portfolios sometimes require DocuSign (docusign.com) for custom legal packets or lender-mandated templates. Using DocuSign Connect with HMAC-SHA256 verification (`X-DocuSign-Signature-1`) and hidden `property_id` / `unit_id` custom fields lets your automation relay archive executed PDFs and alert leasing teams cleanly when envelopes complete.

Estimated setup time
20–30 minutes
Required role
Organization administrator or leasing operations lead
Connection method
Incoming webhook

Setup path: Connects via DocuSign Connect HMAC-SHA256 webhooks (docusign.com) routed through your HTTPS relay alongside Tenant Office unit metadata and resident PDF attachments.

What connects

What flows between DocuSign and Tenant Office.

  • DocuSign Connect HMAC-SHA256 verified envelope events (`envelope-sent`, `envelope-completed`, `envelope-voided`)
  • Envelope custom fields (`property_id`, `unit_id`) matched deterministically to Tenant Office inventory
  • Executed lease PDFs and DocuSign Certificates of Completion archived to Google Drive or Dropbox
  • Team alerts prompting staff to attach executed packets and activate reviewed rent schedules in Tenant Office

Before you start

Prerequisites for setting up DocuSign.

Confirm these items before starting so your setup completes cleanly in 20–30 minutes.

  • A DocuSign account (docusign.com) with DocuSign Connect enabled for outbound HTTPS webhooks and HMAC-SHA256 signing keys.
  • An HTTPS webhook receiver (n8n, Make, Zapier, or custom Node.js endpoint) that verifies the `X-DocuSign-Signature-1` HMAC-SHA256 header.
  • Read-only Tenant Office Customer API credentials if your receiver resolves property and unit metadata from envelope custom fields.
  • Staff permissions in Tenant Office to attach executed lease PDFs to resident records (or use Tenant Office’s built-in e-signature with zero per-envelope fee).

Step-by-step tutorial

4 steps to set up DocuSign.

Follow these steps as an organization administrator or leasing operations lead to configure and test your DocuSign workflow.

  1. Add property & unit custom fields to DocuSign templates

    Configure hidden `property_id` and `unit_id` Envelope Custom Fields in docusign.com using Tenant Office’s immutable IDs.

  2. Enable DocuSign Connect with HMAC-SHA256

    Create a DocuSign Connect HTTPS subscription pointing to your n8n, Make, or custom receiver and enable HMAC signing keys.

  3. Verify `X-DocuSign-Signature-1` over raw bytes

    Validate the Base64 HMAC-SHA256 signature in constant time over the exact raw request body before archiving PDFs or alerting Slack/Teams.

  4. Attach executed lease PDF in Tenant Office

    Archive the finalized PDF and Certificate of Completion to cloud storage and attach the executed lease to the resident record in Tenant Office.

End-to-end example workflow

How property teams run DocuSign day to day

A mixed commercial-and-multifamily operator uses DocuSign for complex commercial lease amendments while running core operations in Tenant Office. Each DocuSign template carries `property_id` and `unit_id` custom fields. When all signers complete an envelope, DocuSign Connect sends an HMAC-signed `envelope-completed` webhook to the operator’s n8n workflow, which verifies `X-DocuSign-Signature-1`, archives the executed PDF and Certificate of Completion to Google Drive, and alerts leasing in Slack to attach the final packet in Tenant Office.

Field mapping & reference

Exact fields, endpoints, and data mapping.

Reference how Tenant Office records, headers, or API endpoints align with DocuSign before running your first live workflow.

Tenant Office field / endpointDocuSign field / targetMapping notes
property.id, unit.id & lease external referenceDocuSign Envelope Custom Fields (`property_id`, `unit_id`)Carries Tenant Office identifiers inside every DocuSign envelope so completion webhooks match deterministically.
Resident & co-tenant full names and emailsDocuSign Envelope Recipients (Signers & Routing Order)Tracks individual signer completion timestamps before final landlord countersignature.
Lease signature status milestoneDocuSign Connect Event (`envelope-sent` / `envelope-completed` / `envelope-voided`)Triggers verified Slack/Teams alerts and archival automation when all parties finish signing.
Webhook HMAC verification secretDocuSign Connect `X-DocuSign-Signature-1` (HMAC-SHA256)Verified in constant time before processing any envelope payload or downloading executed PDFs.
Resident record PDF attachmentExecuted Lease PDF + DocuSign Certificate of CompletionArchived to your cloud folder and attached to the Tenant Office resident record for audit readiness.

Verification & troubleshooting

How to verify DocuSign is working.

Run through these checks after completing setup to confirm clean delivery, scoping, and audit trails.

  • Send a test DocuSign envelope with `property_id` and `unit_id` custom fields and confirm your webhook receiver verifies `X-DocuSign-Signature-1`.
  • Verify that `envelope-completed` triggers both your archival workflow and a team notification without duplicating on retries.
  • Confirm the executed lease PDF and Certificate of Completion are attached to the resident record in Tenant Office before activating recurring rent charges.
  • Verify that `envelope-voided` or `envelope-declined` events alert leasing staff so the unit is not held off-market indefinitely.

Common issues & fixes

Quick symptom, cause, and resolution guidance for the edge cases property teams encounter most often with DocuSign.

  • Your webhook receiver rejects valid DocuSign Connect events with HTTP 401.

    Likely cause
    HMAC-SHA256 verification ran against re-serialized JSON instead of the raw HTTP request body bytes.
    How to fix
    Compute the Base64 HMAC-SHA256 digest over the exact raw request body using your DocuSign Connect key and compare with `crypto.timingSafeEqual`.
  • Executed lease arrives from DocuSign, but the automation cannot tell which unit it belongs to.

    Likely cause
    The DocuSign template did not include `property_id` and `unit_id` envelope custom fields.
    How to fix
    Add required hidden Envelope Custom Fields to your DocuSign lease templates and populate them from Tenant Office’s property/unit IDs.
  • Leasing team wants to eliminate per-envelope fees on routine residential renewals.

    Likely cause
    DocuSign plans often cap annual envelope volume or charge per-envelope overages.
    How to fix
    Keep DocuSign for specialized commercial or custom legal packets while using Tenant Office’s built-in electronic lease signing (included at no per-envelope fee) for standard residential leases.

Questions (5)

DocuSign FAQ

Detailed answers covering workflow scope, role permissions, pricing, edge cases, and data ownership.

Do we need DocuSign to sign residential leases in Tenant Office?

No. Tenant Office ships built-in electronic lease signing with no per-envelope fee. Teams connect DocuSign when commercial counsel, lenders, or outside brokerage forms specifically require DocuSign envelopes.

Why must `X-DocuSign-Signature-1` be verified against the raw request body?

Re-serializing JSON alters whitespace or key ordering, which invalidates the HMAC-SHA256 digest. Always compute the signature over the exact raw HTTP payload bytes using constant-time comparison.

How does the automation know which Tenant Office unit a completed DocuSign envelope belongs to?

Populate hidden `property_id` and `unit_id` Envelope Custom Fields on your DocuSign templates using Tenant Office’s immutable IDs from `GET /api/v1/customer/properties`.

What happens if a prospective tenant voids or declines a DocuSign lease?

Subscribing to `envelope-voided` and `envelope-declined` alerts your leasing channel immediately so staff can follow up or return the unit to market.

Does a completed DocuSign envelope automatically start recurring rent billing in Tenant Office?

No. Recurring charge schedules in Tenant Office always require explicit human review before posting so no unverified lease terms bill automatically.