Privacy policy

Last updated: November 2026

This page explains in plain words how LEXA keeps and protects data. For our legal capacities and your rights see the privacy notice (KVKK); for our contract with customer companies see the data processing agreement.

This is an English translation for convenience; the Turkish text is the binding version.

1. Scope

This policy covers the LEXA service provided by Ulong, LLC (the web app and the LEXA Saha mobile app) and the lexasatis.com website. A customer company owns its data in LEXA and is its controller; Ulong processes it on the company's behalf (privacy notice, data processing agreement).

2. What we keep

CategoryContents
User accountsName, username, e-mail, phone, role, language, active or not, last sign-in. Passwords are never stored in plain text; an irreversible PBKDF2 hash is kept.
Rep personnel detailsIf the company enters them: Turkish ID number, date of birth, start and leaving dates, commission rate, targets; the monthly cost if the company enters it.
Pharmacies and wholesalersPharmacy name, GLN, address and phone numbers, the pharmacist's name and contact details; a wholesaler contact's details.
OrdersPharmacy, rep, wholesaler, date, status, note, product lines, quantities, free goods, prices at the time of the order, discount, revenue.
Bonuses and commissionsAmounts calculated per rep, rates, tiers, commission requests.
VisitsThe outcome and note of a visit (at most 2000 characters), at most 4 photos per visit.
LEXAThe text of questions, conversations, confirmation cards, LEXA Memory notes, usage. A file attached to a question is not stored.
Change historyFor every insert, change and delete in the business tables: who did it, when, the old and new value; a full copy of a deleted record (to bring it back from the Archive). Password hashes are not copied.
TechnicalSession cookies, the mobile device's push address and session key, server and error logs.
BillingBilling name, address, tax office and number, billing e-mail, invoices; only the card's brand and last four digits.

3. Where data lives

The application, the database and uploaded files are on Railway's servers in Amsterdam (Netherlands, EU). Every night an encrypted backup goes to Cloudflare R2 (Western Europe). When LEXA is asked a question, the records the answer needs go to Google; e-mail leaves from Resend's EU region; notifications go through Expo; errors are reported to Sentry's servers in Germany. The full list, with what each provider receives, is on the sub-processors page.

4. Who can see what

  • A rep sees only the pharmacies in the areas assigned to them (or a province a manager opened to them), their own orders and their own bonuses and commissions. About colleagues they see as much as the company chooses (by default: quantities only, in the ranking).
  • A manager sees all of the company's data; approving, dispatching and cancelling orders is the manager's right.
  • A viewer (e.g. a partner or accountant) sees what a manager sees and can change nothing.
  • Costs and profit (purchase prices, the profit report, wholesaler rebates, rep costs) are visible only to the people the company names.
  • Questions asked to LEXA: the text of the questions reps ask LEXA is visible to the company's managers and, where the company's setting allows it, its viewers, even after the conversation is deleted; the company can limit this to named people or turn it off. The same people see, in the LEXA usage report, the questions asked and the answers that got a thumbs-down. Beyond that, a user's conversations are not shown to anyone else. Notes a manager writes to LEXA Memory about a rep are not shown to that rep.
  • A user of another company cannot see your data in any role.
  • Ulong's team accesses data only for support, maintenance and security, under a duty of confidentiality. When urgent support is needed, it can sign in to the company's account with a support account, with the company's agreement; the company sees that account's actions under the name "LEXA Destek".

5. How companies are kept apart

  • In the application, every request is tied to the requesting user's company and every query is limited to that company; permissions are enforced on the server, never by a screen hiding a button.
  • In the database, PostgreSQL row-level security (RLS) policies separate each company's rows; a query without a company returns no rows at all.

6. Security measures

  • Passwords are hashed with PBKDF2; password rules (length, common passwords, similarity to personal details) are enforced on the server.
  • Sign-in attempts are limited: after many failed sign-ins to an account, signing in is closed for 15 minutes; a password reset never says whether an address is registered.
  • All traffic is encrypted with HTTPS (TLS); session cookies are sent only over secure connections and cannot be read by JavaScript; cross-site request forgery and framing are blocked.
  • Visit photos are never at a public address; they are given only to a user who may see the record, through a signed address valid for 5 minutes.
  • The company's wholesaler login passwords are stored encrypted.
  • Every change is written to the history; a deleted record can be brought back from the Archive.
  • The database is backed up continuously; every night an encrypted copy goes to another provider, and each night it is checked that the copy can be read and decrypted.
  • Only team members who pass Cloudflare Access can reach Ulong's internal management panel.

7. The LEXA assistant

LEXA uses Google's Gemini model. When a question is asked, only the records the answer needs are sent to Google; what is sent is listed on the sub-processors page. Ulong uses the Gemini API under Google's paid service terms, under which Google does not use the content sent to improve its own models. Ulong does not train models on customer data either.

LEXA only writes within the asking user's own permissions. It creates, changes, cancels or deletes an order, and adds a new pharmacy, product, wholesaler, area or user, only after the user confirms the card it shows on screen. Other changes the user explicitly asks for (e.g. a manager asking it to approve or dispatch an order) it makes without a card. When it finds a pharmacy's location it saves the pharmacy's Google place id and location; when a user teaches it something it adds a note to LEXA Memory. Every change it makes goes into the change history.

LEXA looks only at the company's own data and never shows the asker a record they could not see. Its answers can be wrong; check the relevant screen before a decision that rests on a figure.

8. The mobile app

  • Location is used only when you tap "Near me", for that search; it is not stored and is not written to records or to LEXA.
  • Camera and photos are used only when you add a visit photo; before it is sent, the photo is scaled down to 1280 pixels and its location data (EXIF) removed; a photo can be at most 2 MB.
  • Notifications arrive if you allow them; you can withdraw that in the phone's settings.
  • Face or fingerprint unlock works through the phone's own lock; biometric data never leaves the phone and never reaches Ulong.
  • Maps are drawn with Apple Maps on iPhone and Google Maps on Android; the map loads directly from those providers to the phone and is subject to their privacy terms.
  • The session key is kept in the phone's secure storage and expires after 90 days without use; unfinished order drafts are kept on the phone.

9. Keeping and deleting

DataPeriod
The Customer's business data (orders, pharmacies, products, bonuses, commissions, visits, users)For the term of the contract; when it ends, 30 days of read-only access and handover, then deletion within 30 days
Change history and copies of deleted records (Archive)While the company's account is open; on the Customer's request a person's rows are deleted from the history too
The text of questions asked to LEXA (usage log)12 months; then the text is deleted and only the figures (usage) remain
LEXA conversationsUntil the user deletes the conversation or the contract ends
LEXA confirmation cards30 days
Files sent for a setup (exports from the old system, lists)30 days after the import is finished, and at most 90 days after they arrive
The mobile app's session keyExpires after 90 days without use
Visit photosUntil the visit, the pharmacy or the company is deleted; the file goes with the record
BackupsAt most 400 days (details below)

End of the contract. However the contract ends: (1) for 30 days from the day it ends, the Customer's users can sign in to LEXA read-only, see their records and export them to Excel; within that time, on request, all of the Customer's data is handed over as an Excel/CSV package together with its photos (no database dump or backup file is handed over); (2) when that time is up the account is closed and the data is deleted from the live systems within 30 days; (3) copies in backups are deleted when the backup itself expires (below). Keeping commercial books and records for the periods the law requires is the Customer's obligation; the Customer keeps the handed-over package for that.

Backups. The database's continuous backup is kept with the same provider (Railway, Amsterdam): it can be restored to any moment; the daily base backup is kept for 6 days and the weekly one for 27 days. On top of that, every night an encrypted copy of the database and the uploaded files goes outside Railway, to Cloudflare R2 (Western Europe); only Ulong holds the key. The nightly copy is kept for 35 days and the copy taken on the first of each month for 400 days, then deleted automatically; nobody can delete one in its first 30 days. The backup copy of a deleted file (e.g. a visit photo) is deleted after 35 days. Extra backups taken by hand for maintenance are also deleted before 400 days. So a deleted record stays in backups for at most 400 days, and is used in that time only to recover the whole system.

10. Data breaches

When a personal data breach is noticed, the affected customer company is told without delay and given what it needs to meet the 72-hour notification period in the Personal Data Protection Board's decision 2019/10 of 24 January 2019. For data Ulong controls, Ulong notifies the Board and the people affected (KVKK art. 12(5)).

11. Changes and contact

This policy is updated as the service changes; the current version is on this page.

destek@lexasatis.com · Ulong, LLC · 131 Continental Dr, Suite 305, Newark, DE 19713, USA