The problem
Before this project, the legal team drafted most commercial agreements by copying a previous contract and editing it by hand. Each draft then moved between drafters, reviewers and signatories by email. Versions multiplied, clauses drifted from the approved wording, and nobody could say with confidence which file had been signed or who had approved a change. The legal work was careful, but the process around it was fragile.
The workflow we designed
We did not start with software. We first mapped how a contract actually moves through the team, then built five stages around that map:
Template intake: a short structured form captures the parties, contract type, governing law and key commercial terms, so drafting starts from data rather than from an old file.
Clause library: approved clauses are stored once, with an owner and a review date, and templates reference them instead of copying text.
Approval routing: rules send each draft to the right reviewers based on the contract type and the deviations requested, and every decision is recorded.
E-signature: once approved, the final version is locked and sent for electronic signature, which UAE law recognises under Federal Decree-Law No. 46 of 2021 on electronic transactions and trust services.
Audit trail: every step, from intake to signature, writes an entry that cannot be edited later.
Implementation choices
Bilingual templates. Many agreements in the UAE need English and Arabic versions. We modelled each clause as one record with two language fields, so the English and Arabic text are reviewed and versioned together. Right-to-left layout, Arabic fonts and mixed-direction text such as party names and dates had to be tested in the generated documents, not only on screen.

Data residency. Contracts hold personal data and commercially sensitive terms. We hosted the platform and its document storage in the UAE and kept the personal data in each record to what the workflow actually needs, in line with the UAE Personal Data Protection Law, Federal Decree-Law No. 45 of 2021.
Access control. Roles follow the legal team's real responsibilities: requesters, drafters, reviewers, approvers and signatories each see only the matters and actions they need. Changes to templates and to the clause library need a second approver.
Lessons learned
Map the process before writing code. Most of our early design questions were answered by following one contract from request to signature.
Treat Arabic as a first-class language from day one. Adding it later would have meant rebuilding the clause model.
Lawyers trust what they can trace. The audit trail and version history did more for adoption than any automation feature.
Keep people at the decision points. Automation handles routing, reminders and document assembly; lawyers still approve deviations and sign.
Start with a small set of frequently used templates, learn from real use, then extend.
For developers working with GCC legal teams, the technology is rarely the hardest part. The hard part is understanding how lawyers work and building a system they can check, explain and rely on.
What are the stages of the contract-automation workflow?
Template intake, a clause library, approval routing, e-signature and an audit trail that records every step from intake to signature.
How were bilingual contracts handled?
Each clause was modelled as one record with English and Arabic fields, so both texts are reviewed and versioned together. Right-to-left layout and mixed-direction text were tested in the generated documents, not only on screen.
Does UAE law recognise the electronic signature step?
Yes. UAE law recognises electronic signature under Federal Decree-Law No. 46 of 2021 on electronic transactions and trust services.
What did the project teach about adoption?
Lawyers trust what they can trace. The audit trail and version history did more for adoption than any automation feature.



