DraftNames and numbers are made up

Agency templates

Each agency makes its agreements on its own template. Agents with no agency keep the Zurely template, the same as today. Below, every flow is shown screen by screen.

MeiZurely staff Harmoni Realtyagency ARAinaHarmoni owner DLDanielHarmoni agent CWChennew agent BKBenno agency Puncak Propertiesanother agency
Click a step or press Next. The pulsing ring shows what gets tapped.
Flow 1

Zurely staff set up an agency

Mei adds Harmoni Realty in the portal, uploads its Word template and adds its owner. Later, agencies could do this themselves.

zurely-portal › admin › agencies
Admin

Agencies

+ New agency
AgencyLPPEH firm no.MembersTemplatesStatus
Puncak PropertiesE (1) 593012ResidentialActive
Bayu HomesE (1) 61024Residential, CommercialActive

Flow 2

An agent joins an agency

There are two ways in. Either way, the agent's licence must be verified, because that's how we know their firm.

9:415G
Profile
CW
Chen WeiAgent · +60 16-000 4455
Agency
Not in an agency yet Join your agency to use its agreement template. Join your agency
Account
e-KYCVerified
LicenceNot verified

Flow 3

Creating an agreement

The agent doesn't choose a template. Zurely picks it from their agency, and it never changes after that.

9:415G
Hi, Aina Harmoni Realty
+ New agreement
Recent
#1038 · Residensi Contoh B-3-1Stamping
Harmoni
#1035 · Jalan Contoh 12Completed
Harmoni

The same review screen for three agents

AR
Aina · HarmoniResidential
Harmoni Residential v1

She's in Harmoni, and Harmoni has a residential template.

DL
Daniel · HarmoniCommercial
Zurely Standard Commercial

Harmoni has no commercial template yet, so he gets Zurely's.

BK
Ben · no agencyResidential
Zurely Standard Residential

Not in an agency. Same as every agent today.

Rule

Agency template if the agent is in an agency and it has an active template for that type. Otherwise the Zurely template. The server decides, so an edited request can't pick another agency's template.

Flow 4

An agent leaves or moves

Agreements stay with the agency they were made under. Only new agreements follow the agent. Pick how it starts.

zurely-web › agency › members

What happens to Daniel's things

In-progress agreementsStay with Harmoni and go to the agent Aina picks. Template and PDF unchanged.
DraftsHanded over with the rest, or left to expire. Never moved to another agency's template.
Completed agreementsStay with Harmoni. View-only for Daniel if the team agrees (D3).
New agreementsZurely template, then Puncak's once he joins.
CreditsStay in his own wallet, as today (D2).
Flow 5 · Later phase

What landlords and tenants see

The signing page shows the agency's logo and colour. The PDF already gets the agency's look from its Word file, so that part needs no code.

9:415G
Harmoni Realty

Aina Rahman from Harmoni Realty sent you a tenancy agreement to sign

PropertyB-12-3, Residensi Contoh
Your roleTenant
Sign by14 Dec 2026
Review & sign Secured by Zurely
Signing page, Harmoni
9:415G
Puncak Properties

Daniel Lim from Puncak Properties sent you a tenancy agreement to sign

PropertyJalan Contoh 5
Your roleLandlord
Sign by24 Dec 2026
Review & sign Secured by Zurely
Same page, Puncak
HARMONI REALTY SDN. BHD.E (1) 4821 · Kuala Lumpur
TENANCY AGREEMENT
The PDF, from Harmoni's Word file
For developers

What we store

Two new tables, and one new column each on templates and agreements.

1 : many many : 1 1 : many 1 : many 1 : many 1 : 1 same LPPEH firm number → suggest this agency usersEXISTING idfullName · phoneNumberroles [Agent, …]wallet (credits) agent_profilesEXISTING userId → userslicenseNumber (REN…)agencyNameagencyRegistrationNo agency_membersNEW idagencyId → agenciesuserId → usersrole Owner|Admin|AgentstatusjoinedAt · endedAtendReason agenciesNEW id · namelegalNamefirmRegistrationNossmNo · contactstatuslogo · brandColoursettings (JSON) agreement_templates id · name · typeversion · statusisDefault (Active)fileKey (Word file)+ agencyId (empty = Zurely) agreements id · statuscreatorId → userscoBrokeId → usersagreementTemplateId+ agencyId (saved once)
New table New column Existing table Matched by the LPPEH firm number

Membership has its own table

Each join is a row with start and end dates and a status (Invited, Requested, Active, Ended). Leaving ends the row; rejoining adds a new one, so history stays.

Agreements save their agency

agencyId and agreementTemplateId are set once at create and never recalculated. That's why a move never changes an old PDF.

Licence is needed to join

Verification stays optional for everything else. Without it, an agent simply keeps the Zurely template.

For the team

Decisions to make

Highlighted options are the suggestion.

D1Who owns an agreement when its agent leaves?
The agencyThe agent

A REN acts for the firm, which points to the agency.

D2Who pays for credits?
Agent's wallet (today)Agency walletEither, set per agency

Agency billing can come in a later phase.

D3Does a departed agent keep view-only access?
Yes, own deals onlyNo

Useful if questions come up about past deals.

D4Who uploads an agency's template?
Zurely staff firstAgency admin

Word tagging still needs help.

D5Register shows another firm when joining?
Warn, admin decidesBlock

The register can lag behind a real move.

Also to plan

Phases

Phase 1

Agency templates work

  • Flow 1, staff link agents by hand
  • Flow 3 with the server check
Phase 2

People flows

  • Flow 2: ask, invite, approve
  • Flow 4: leave, remove, hand over, register check
Phase 3

Brand and billing

  • Flow 5: logo and colour
  • Agency wallet and dashboard
Phase 4

Self-serve

  • Agencies sign up themselves
  • Agency admins upload templates