Automate AppFolio Lease Renewal Signing With DocuSign
Stop chasing renewal signatures across systems. Design an AppFolio and DocuSign workflow that tracks every envelope, flags exceptions, and keeps leasing staff in control.

TL;DR: what you'll build. Leasing operations teams that send renewals through DocuSign still chase signatures by hand and update records from memory. This guide shows how to automate lease renewal signing in AppFolio's ecosystem: a Major app tracks every renewal-to-envelope mapping, DocuSign Connect pushes status events, deterministic rules confirm that every required signer completed, and a leasing manager approves before anything is marked renewed.
The lease-renewal signing handoff that needs automation
To automate lease renewal signing in AppFolio, you need to close one specific gap: the time between sending a renewal and knowing that every required signer actually finished. The process owner is usually leasing operations or the property-management compliance lead at a residential portfolio. The tools are AppFolio for the property record and DocuSign for the signature. Major sits between them as the durable app layer that remembers which envelope belongs to which renewal.
AppFolio's own leasing and marketing pages describe bulk renewal offers, renewal automation and mobile e-signing inside the platform. If your team runs renewals entirely there, that is the right place to start. This article covers the other case: renewal paperwork or addenda go out through DocuSign, and someone still has to reconcile the result.
Where the week breaks down
The pattern is familiar to anyone who has run a renewal cycle:
- A lease approaches expiration and the manager approves new terms.
- Paperwork is prepared and sent to the resident and the property manager.
- Days pass. Someone opens DocuSign, scans a list, and checks who has signed.
- A partially signed envelope sits unnoticed until the lease end date is close.
- Records get updated by hand, sometimes before every signer has finished.
The fear is not slowness alone. It is marking a lease renewed when one signer is still pending, or handing an integration credentials that nobody governs. Both are fixable with a small amount of state and a clear approval step.
Why this belongs in an app, not a prompt
A pure agent that re-reads the inbox every morning would reason about the same question hundreds of times. Major's approach is to reason once and run forever: the repeatable status logic becomes a deterministic app with its own database, and the model is reserved for judgment calls. This is the same shape as our DocuSign post-signature workflows and the pattern in tracking DocuSign signatures against a system of record. For wider context, see our guide to AI workflows for real estate.
Systems, API access, and the records that move
Two systems are involved, and they could not differ more in how open their APIs are. Being honest about that difference shapes the whole design.
AppFolio Stack API: partner-gated, and no documented webhook
AppFolio's Stack API page lists the resources available through its partner program. The list includes Properties, Units, Tenants, Tenant Ledgers, Rental Applications, Vendors and Work Orders, along with accounting and community association objects. Access is partner-gated: you apply to AppFolio's Stack partner program for credentials.
The public page does not document authentication details, webhooks or rate limits, and it does not list a lease-renewal resource or a lease-update operation. So this guide makes three conservative choices:
- Treat Units and Tenants as the likely sources of lease and expiration context, and confirm the exact fields with AppFolio once you have partner access.
- Use scheduled polling, because no webhook is documented publicly.
- Write back to AppFolio only through an object your credentials are authorized to update. The Work Orders resource is documented, so a renewal follow-up task can live there. Otherwise the final step is a tracked manual handoff.
If your account has more than the public page shows, great. Build against what AppFolio confirms in writing.
DocuSign eSignature REST API: public, OAuth, event-driven
DocuSign publishes its Envelopes reference. The pieces this build uses are the envelope create, get and list status changes operations, plus the envelope recipients operations (create, list, update, delete) for per-signer checks. Authentication is OAuth 2.0, with an integration key tied to your account, as described in the DocuSign quickstart.
For status events, use DocuSign Connect. The reference documents connect configurations (create, get, list, update, plus secret management) and a Connect events log with failure listing and retry operations. A per-envelope subscription uses an event notification block on the envelope itself. DocuSign's guidance is to use Connect rather than polling for status.
Rate limits matter for the fallback path. Per the rules and limits page, each account defaults to 3,000 API calls an hour shared across every integration, with a 30-second burst limit of 200 calls in developer and 500 in production. A single envelope should not be polled more often than every 15 minutes, and DocuSign recommends 20.
The records the Major app keeps
The minimum data model has three tables, described in the architecture section below. The key fields on the main renewals table are:
- renewal_id: the app's own primary key
- property_id, unit_id, resident_ref: references back to the AppFolio records
- envelope_id: the DocuSign envelope for this renewal
- required_signers and recipient_statuses: who must sign, and where each one stands
- lasteventat, approval_status, exception_reason
- appfolioworkorder_id: nullable, set only if a work order is created
A comparison helps place each layer:
- AppFolio native renewals: the vendor's own offer and e-sign features, best when the whole renewal stays inside AppFolio.
- Custom AppFolio Stack integration: partner-gated reads and writes against documented objects, only as far as your credentials reach.
- Major-tracked cross-system workflow: state, events, exceptions and approvals across AppFolio and DocuSign, held in an inspectable app.
Architecture: app, agent, and workflow
The build splits cleanly into three parts. Each exists because it is the right tool for one kind of work.

Figure 1: AppFolio and DocuSign renewal signing on Major, from daily trigger to manager review.
The workflow: deterministic steps and approvals
The workflow owns everything that should run the same way every time:
- A daily schedule polls AppFolio for leases nearing expiration.
- It creates renewal rows, and after policy approval creates the DocuSign envelope.
- A Connect webhook triggers a second run for each incoming status event.
- It deduplicates events, updates recipient statuses, and checks completion.
- It opens a review task for the leasing manager when all signers are done.
A workflow is a checklist that runs itself. It does not get tired, and it does not skip a step on a busy Friday.
The agent: judgment only on messy cases
The agent handles the small share of work that code cannot decide. It compares the signer on an event with the expected resident, explains why a signer's email does not match the lease record, and drafts a reminder for a stalled envelope. It never marks a lease renewed and never sends an envelope on its own. Those actions belong to the workflow and a person.
The app: state and the human screen
The Major app holds three managed tables and two screens:
- Renewals: one row per renewal, with the fields listed above.
- EnvelopeEvents: every Connect event received, keyed by event identifier so duplicates are harmless.
- Exceptions: declined, voided, expired, stalled or mismatched cases, with an owner and a reason.
- Screens: a renewal board for leasing staff and an exceptions queue for the manager.
The app is the control surface for people and the execution layer for the agent. Because the state lives in a database instead of a chat, the work resumes the next morning exactly where it stopped.
Build it on Major, step by step
Connectors are connected once by IT. Credentials stay in Major's central credential store, scoped per connector, and every app, agent and workflow reuses them. Nothing sits in code or prompts.
- Connect the connectors. Ask IT to add DocuSign as a connector using OAuth 2.0 with your integration key, and add AppFolio as a custom API connector using the partner credentials AppFolio issued, only after your Stack access is approved. You should see both connectors listed as healthy and scoped to this project.
- Build the app. Describe the three tables and two screens to Major and let it generate the app. You should see a renewal board with a status column and an empty exceptions queue.
- Add the agent. Give it read access to the app's endpoints and the DocuSign recipient list, with no write access to envelopes. You should see it return a short explanation when you feed it a sample mismatched signer.
- Set the workflow trigger. Create a daily schedule for the AppFolio poll and an authenticated webhook for DocuSign Connect, then register that webhook URL in a Connect configuration. You should see a test event land in the EnvelopeEvents table.
- Test in a sandbox. Use a DocuSign developer account and a handful of sample renewals, including one declined and one stalled. You should see the declined case appear in the exceptions queue and the complete case produce a review task.
- Roll out with permissions. Assign leasing staff read and edit access to the board, the manager approval rights, and IT ownership of connectors. You should see each person only the screens their role allows.
Example prompt for the app
Build a renewal tracker app with three managed tables: Renewals (renewalid, propertyid, unitid, residentref, envelopeid, requiredsigners, recipientstatuses, lasteventat, approvalstatus, appfolioworkorderid nullable, exceptionreason), EnvelopeEvents (eventid unique, envelopeid, recipient, status, receivedat) and Exceptions (renewalid, reason, owner, opened_at). Add a renewal board for leasing staff and an exceptions queue for the manager. Expose endpoints to upsert a renewal, record an event idempotently, and list exceptions.
Example prompt for the agent
You review renewal exceptions. Read the renewal row, its event history and the DocuSign recipient list. Explain in two sentences why the case is flagged, say whether the signer matches the residentref, and draft a reminder. Never change approvalstatus and never create or void envelopes.
What the workflow looks like in practice
Behind the prompts, the workflow is a short list of nodes: a schedule trigger, an AppFolio read, a policy check, a DocuSign envelope creation, an app write, and a human approval node. The Connect branch is separate: webhook in, deduplicate, update, check, then route. Keeping the two branches apart makes each one easy to test and easy to explain to an auditor.
This is what a governed software factory produces: leasing staff describe the process, and IT keeps control of credentials, access and audit without writing the tracker themselves.
Governance and IT control
Renewal data includes resident names, emails and lease terms. The governance model should treat it that way from day one.
- SSO and role-based access. Leasing staff see their properties, the manager sees the approval queue, and IT sees configuration. Nobody shares a login.
- Scoped secrets. The DocuSign OAuth token and the AppFolio partner credentials live in the central credential store. The app calls connectors through a proxy, so the model never sees a raw key.
- Audit logs. Every status transition, approval and agent suggestion is recorded with who or what did it and when.
- Managed database and storage. The three tables and any stored signed-document references sit in Major's managed database and file storage, not in a spreadsheet.
- Versioned deploys. A change to the completion rule is a reviewable version with a rollback, not an edit nobody remembers.
- Approvals. Sending an envelope after policy approval and marking a renewal complete both require a named person.
On legal and records questions, be careful. Signature validity, retention rules and resident consent depend on your jurisdiction, document type and operator policy. Major does not provide legal advice, and counsel should approve lease terms and retention periods. The software requirement that matters here is a defensible trail: who sent what, when each signer completed, and who approved the handoff.
Failure handling and edge cases
The happy path is easy. The value of a tracker is in the other cases, so decide each one in advance.
Duplicate and out-of-order events
A webhook is a doorbell that sometimes rings twice. Store each event under its identifier and skip any you have already recorded. For ordering, never let an older event overwrite a newer recipient status: compare timestamps before updating.
Declined, voided and expired envelopes
A declined, voided or expired envelope opens an exception with the reason and an owner, preserves the event history, and leaves the renewal unfinished. The agent drafts a follow-up, and a person decides whether to reissue.
API errors and rate limits
If DocuSign returns an error or you approach the account limit, back off and retry later. Remember that the 3,000 calls an hour are shared across every integration on the account, so the tracker should rely on Connect events rather than polling each envelope. Use the Connect events failure list and retry operations to recover events that were not delivered.
Permission failures and mismatched identifiers
If AppFolio rejects a read or a work order write because the credential lacks permission, stop and create an exception for IT instead of retrying forever. If a signer's email does not match the resident reference, the agent explains the mismatch and a person confirms identity.
What the agent must never do
- Mark a renewal complete on partial signatures.
- Send, void or modify an envelope.
- Write to AppFolio.
- Change an approval decision.
The fallback for every failure is a person on the exceptions queue.

Figure 2: What passes through automatically and what a person reviews.
A worked example with numbers
For example, a residential operator has 40 renewals due in a month. Each uses a two-signer envelope: the resident and the property manager. These are illustrative numbers, not a customer result.
What the workflow does
On day one the schedule finds 40 expiring leases and creates 40 renewal rows. After the manager approves terms and signer routing, the workflow creates 40 envelopes and stores each envelope identifier. Over the following days Connect delivers roughly 160 events, and each is stored once.
What the agent decides
One envelope shows the resident as pending for several days while the property manager has signed. A second shows a signer email that differs by one character from the resident reference. The agent summarizes both cases. For the first it drafts a reminder. For the second it flags the possible typo and asks a person to confirm.
What the human approves
Thirty-eight renewals complete with both signers. The manager opens a review task for each, glances at the recipient statuses, and approves. The two exceptions stay in the queue until resolved.
Before and after arithmetic
Suppose manual checking takes about 6 minutes per renewal across several look-ups, so 40 renewals cost about 240 minutes, or 4 hours. With the tracker, review takes about 1 minute for each of the 38 clean renewals and about 10 minutes each for the 2 exceptions: 38 + 20 = 58 minutes. The illustrative difference is roughly 3 hours. Your numbers will differ, so measure your own baseline first.
What to measure
Choose a few metrics the owner already cares about, and record a local baseline for each one before launch. Without a baseline you cannot tell whether the tracker changed anything, and the numbers below only mean something against your own history. Pull them from the Renewals and EnvelopeEvents tables, since both carry timestamps.
- Send-to-complete cycle time per renewal, split by resident signing time and manager signing time, so you can see which side stalls.
- Exceptions per cohort, grouped by reason: declined, expired, stalled, mismatched.
- Manual touches per renewal before the review step.
- Renewals fully executed before the lease end date, as a share of the monthly cohort.
- Duplicate events skipped, as a health check on the webhook path.
These are measurements of your process. They are not promised savings, and a rising exception count in the first month often just means the tracker is surfacing cases that used to go unnoticed.
Frequently asked questions
How do you automate lease renewal signing in AppFolio?
Identify expiring leases through your approved AppFolio Stack access, create a DocuSign envelope after policy approval, and track status through DocuSign Connect in a Major app. A rule confirms every required signer finished, then a leasing manager approves. Stack access is partner-gated, so confirm eligibility with AppFolio first.
Does AppFolio have an API for lease renewals?
AppFolio's public Stack API page lists resources such as Properties, Units, Tenants, Vendors and Work Orders, but does not list route-level lease-renewal operations. Access is partner-gated, so ask AppFolio which fields and operations your credentials can reach before you design the integration.
Can DocuSign update AppFolio after a lease is signed?
Only through an authorized integration and a supported target record. This guide does not assume a lease-update endpoint. If your credentials allow Work Orders updates, a work order can carry the follow-up. Otherwise the tracker creates a verified manual handoff for staff.
How do you know every tenant has signed?
Check each required recipient's status on the envelope, not the envelope status alone. Correlate Connect events to the stored renewal mapping, and hold any case with a missing, declined or mismatched signer for operator review instead of marking it complete.
What happens if a resident declines or an envelope expires?
The renewal stays in an exception state, the assigned leasing owner is alerted, and the event history is preserved. The workflow never marks the renewal complete. A person decides whether to reissue the paperwork.
Before you go live
Copy this checklist into your rollout ticket and confirm each item with the named owner before the first real renewal cohort goes out. Items are ordered from access, to testing, to approvals, to ongoing operations.
- [ ] AppFolio Stack partner access is approved and the credential scope is documented
- [ ] DocuSign integration key and OAuth consent are in place, stored in the central credential store
- [ ] Connect configuration points to the authenticated webhook and a test event arrives
- [ ] Sandbox run covers complete, declined, expired and mismatched cases
- [ ] Event deduplication confirmed by replaying the same event twice
- [ ] Manager approval is required before any renewal is marked complete
- [ ] Alerts are on for failed API calls and undelivered Connect events
- [ ] Counsel has approved the lease template, retention and consent language
- [ ] A named owner exists for the exceptions queue
This guide is part of our AI agents for legal & compliance series.
More use cases by tool: More DocuSign use cases.
More real estate AI automation use cases
- AI agents for real estate: every use case by tool
- AI agents for legal & compliance: every use case by tool
- Automate Ironclad contract renewal alerts to Slack with AI
- Automate Ironclad DocuSign contract execution tracking with AI
- Automate claim-document e-signature tracking from Guidewire ClaimCenter with DocuSign
Start building on Major
Build a governed AppFolio and DocuSign renewal tracker where every signature is confirmed per signer, every exception has an owner, and IT controls the credentials.
Related articles
- Automate NetSuite Cash Briefs to Slack with AI
- Automate Procore RFI Responses with an AI Agent
- Gainsight Zendesk Integration for Customer Health Alerts
About the author
Ritvij Gautam is Head of Growth at Major.
Last reviewed November 26, 2026 by Ritvij Gautam.
Frequently asked questions
- How do you automate lease renewal signing in AppFolio?
- Identify expiring leases through your approved AppFolio Stack access, create a DocuSign envelope after policy approval, and track status through DocuSign Connect in a Major app. A rule confirms every required signer finished, then a leasing manager approves. Stack access is partner-gated, so confirm eligibility with AppFolio first.
- Does AppFolio have an API for lease renewals?
- AppFolio's public Stack API page lists resources such as Properties, Units, Tenants, Vendors and Work Orders, but does not list route-level lease-renewal operations. Access is partner-gated, so ask AppFolio which fields and operations your credentials can reach before you design the integration.
- Can DocuSign update AppFolio after a lease is signed?
- Only through an authorized integration and a supported target record. This guide does not assume a lease-update endpoint. If your credentials allow Work Orders updates, a work order can carry the follow-up. Otherwise the tracker creates a verified manual handoff for staff.
- How do you know every tenant has signed?
- Check each required recipient's status on the envelope, not the envelope status alone. Correlate Connect events to the stored renewal mapping, and hold any case with a missing, declined or mismatched signer for operator review instead of marking it complete.
- What happens if a resident declines or an envelope expires?
- The renewal stays in an exception state, the assigned leasing owner is alerted, and the event history is preserved. The workflow never marks the renewal complete. A person decides whether to reissue the paperwork.