FeaturesDepositClearUpdated March 12, 2026
Deposit Released — Tenant Email Notification
Deposit Released — Tenant Email Notification
Overview
When a deposit release is initiated, all tenants on the associated tenancy are automatically notified by email. This workflow is event-driven and requires no manual intervention from landlords, agents, or platform administrators.
How It Works
- Release is initiated — A landlord or agent calls the
initiateReleasemutation to begin the deposit release process. - Event emitted — On success,
initiateReleaseemits adeposit/release.releasedevent. - Workflow triggered — The platform listens for
deposit/release.releasedand invokes thedepositReleasedEmailFnhandler. - Emails sent — The handler resolves all tenants linked to the tenancy (via
tenancyTenants) and sends each one atenancy/deposit.releasedemail.
Trigger
| Property | Detail |
|---|---|
| Trigger type | Event-driven |
| Event name | deposit/release.released |
| Emitted by | initiateRelease mutation |
Recipients
The email is sent to every tenant on the tenancy at the time the event fires. Tenant records are resolved through the tenancyTenants join entity.
Email Template
| Property | Value |
|---|---|
| Template identifier | tenancy/deposit.released |
| Handler | depositReleasedEmailFn |
Entities
The following entities are accessed during this workflow:
depositReleases— the release record that was createdtenancies— the parent tenancytenancyTenants— join table linking tenants to the tenancytenants— individual tenant records and contact detailsproperties— property details included in the notification
Notes
- The
deposit/release.releasedevent is a new event introduced in this release. Any other workflows or subscribers that need to react to a deposit release should listen on this event. - The
depositReleasedEmailFnhandler is an existing handler reused by this workflow; no new email template was introduced.