Draft for counsel review. This text is not final and is not legal advice.
This page still has 37 open items, marked TODO below. They are being finalised.
Data Processing Agreement
DRAFT for counsel review. Not legal advice. Not final.
Template, last updated: 30 October 2026
This agreement sets how CodingMind Private Limited handles the personal data of a restaurant's callers when the restaurant uses vocoloco. It is a template. The parties fill in every box marked TODO and sign. It is written for India's Digital Personal Data Protection Act, 2023 (the DPDP Act) and the Digital Personal Data Protection Rules, 2025 (the DPDP Rules). Clauses marked EU and Switzerland apply only when the restaurant is in the EU, the EEA or Switzerland, under Article 28 of the GDPR or Article 9 of the Swiss FADP. The India privacy notice tells callers the same story in plain words.
[TODO: counsel to check every section and rule number in this template against the Act, the notified Rules, the GDPR and the Swiss FADP.]
1. Parties
The restaurant, the Data Fiduciary (under the GDPR, the controller):
[TODO: legal name, address and registration details of the restaurant]
CodingMind Private Limited, trading as vocoloco, the Data Processor (under the GDPR, the processor):
Flat No. 2, RR Veeshal Apartments, Bharathiar University Post, Coimbatore 641046, Tamil Nadu, India
CIN U72900TZ2016PTC028234
[email protected]
This agreement is part of the agreement under which the restaurant uses vocoloco. [TODO: name that agreement. The repository has no terms of service yet.]
2. Words used
- Personal data, Data Principal, Data Fiduciary, Data Processor and personal data breach mean what they mean in the DPDP Act. For the GDPR, read data subject, controller, processor and personal data breach.
- The service is vocoloco: a virtual assistant answers the restaurant's phone, books, checks and cancels tables, takes requests, and shows the calls to staff.
- A sub-processor is another processor that CodingMind uses for the service.
3. What is processed
- Subject matter: the service.
- Duration: while the restaurant uses the service, and after that until the data is returned and deleted under clause 12.
- Nature and purpose: answering calls; making, changing and cancelling bookings; taking requests; recording calls and keeping transcripts; showing the call log to staff; checking quality and fixing errors in the service.
- Data Principals: people who call the restaurant.
- Personal data: phone number (caller ID), name, booking details, allergy or dietary remarks, requests for large groups, the language spoken, call recordings, transcripts and the call log.
- Sensitive data: allergy or dietary remarks can reveal health. Under the GDPR they are special category data (Article 9).
Annex 3 says where each kind of data is kept and for how long.
4. Instructions
- CodingMind processes the personal data only on the restaurant's documented instructions. They are this agreement, the agreement for the service, the settings the restaurant chooses in vocoloco, and written instructions sent to [email protected].
- CodingMind does not use the data for its own purposes. It does not sell it and does not use it for advertising.
- CodingMind may use recordings and transcripts to check the quality of the service it gives this restaurant and to fix errors. [TODO: owner to confirm that no recording or transcript is used to train models for other customers, and what the voice AI provider's terms allow.]
- If CodingMind thinks an instruction breaks the law, it tells the restaurant.
- If a law makes CodingMind process the data in some other way, it tells the restaurant first, unless that law forbids it.
5. Confidentiality
Everyone at CodingMind who can reach the data must keep it confidential. They reach it only when the service needs it: for support, maintenance and fixing errors.
6. Security
CodingMind takes reasonable security safeguards to prevent a personal data breach (section 8(5) of the DPDP Act; Article 32 of the GDPR). Annex 1 lists the measures in place today and the ones still planned. CodingMind keeps the logs the DPDP Rules ask for. [TODO: counsel to confirm the one-year log rule in the DPDP Rules.]
7. Sub-processors
- The restaurant allows CodingMind to use the sub-processors in Annex 2.
- CodingMind tells the restaurant by email at least [TODO: number] days before it adds or replaces a sub-processor. The restaurant may object on reasonable grounds within that time. If the parties cannot agree, the restaurant may end the service without a penalty.
- CodingMind gives each sub-processor data protection terms no weaker than this agreement, as far as that provider's standard terms allow. [TODO: counsel to review; several providers only offer their standard terms.]
- CodingMind stays responsible to the restaurant for its sub-processors.
8. Help with requests from Data Principals
- If a caller asks CodingMind directly for access, correction or erasure, wants to nominate someone, or raises a grievance, CodingMind passes it to the restaurant within [TODO: number] working days. It does not answer on its own unless the restaurant asks it to.
- CodingMind helps the restaurant answer. Today staff can see, change and cancel bookings in the book. On request, CodingMind finds a caller's data and exports or deletes it. A self-service export is planned.
- CodingMind helps the restaurant give notice. The assistant says at the start of every call that it is a virtual assistant and that the call is recorded, and the India privacy notice explains the rest. The restaurant links that notice where its callers can find it, for example on its website. [TODO: counsel to confirm this meets section 5 of the DPDP Act.]
9. Other help
CodingMind helps the restaurant with its other duties where the service is involved: security, breach notices and, EU and Switzerland, data protection impact assessments and prior consultation (Articles 32 to 36 of the GDPR).
10. Personal data breach
- CodingMind tells the restaurant without undue delay, and within [TODO: number] hours at the latest, after it becomes aware of a personal data breach that affects the restaurant's data.
- The notice says what happened, when and where, which data and about how many callers are affected, the likely effects, what CodingMind has done, and who to contact. CodingMind adds details as it learns them.
- This lets the restaurant tell each affected caller and the Data Protection Board of India in time. The DPDP Rules ask for a detailed report to the Board within 72 hours. EU and Switzerland: the controller tells its supervisory authority within 72 hours (Article 33 of the GDPR). [TODO: counsel to verify both deadlines.]
- CodingMind does not tell callers or any authority about a breach of the restaurant's data without the restaurant's agreement, unless a law requires it.
11. Audits and information
- CodingMind gives the restaurant the information it needs to show that this agreement is kept.
- The restaurant may audit once a year, with [TODO: number] days' written notice, during business hours, at its own cost, itself or through an auditor bound to confidentiality. A written questionnaire and documents come first. An on-site audit happens only if they are not enough.
- A sub-processor's audit reports or certificates can stand in for an audit of that sub-processor.
12. End of the service: return and deletion
These steps describe the intended process. Parts of it are still being built. [TODO: confirm each step before signing.]
- Before the end, the restaurant can export its bookings, callers, requests and call log. A self-service export is planned; until then CodingMind sends the export on request.
- The restaurant's phone number is taken off the assistant and released, or the forwarding is removed. This step is planned.
- Within [TODO: number] days after the end, CodingMind deletes the restaurant's data from the book and asks the voice AI provider to delete the recordings and transcripts of the restaurant's calls. It confirms the deletion in writing.
- Copies in backups expire within [TODO: number] days. Backups are planned.
- CodingMind keeps only what a law requires, such as billing and tax records, and only for as long as that law requires.
13. Data outside India and outside the EU
- India. CodingMind may process the data outside India, in the places in Annex 2. Section 16 of the DPDP Act allows this unless the Central Government restricts a country. If a country in Annex 2 is restricted, CodingMind tells the restaurant and the parties agree on a change. [TODO: counsel to confirm.]
- EU and Switzerland. CodingMind is in India, which has no adequacy decision from the EU or Switzerland. Transfers to CodingMind, and onward to sub-processors in countries without adequacy, are covered by the EU Standard Contractual Clauses (Commission Implementing Decision (EU) 2021/914: module 2, controller to processor, and module 3, processor to processor), with the Swiss amendments where the Swiss FADP applies. [TODO: attach the clauses, fill in their annexes, and review the transfer impact assessment.]
14. Liability
[TODO: liability cap, exclusions and indemnities. Owner and counsel to decide.]
15. Term, law and order of precedence
- This agreement runs while CodingMind processes personal data for the restaurant.
- If this agreement and the agreement for the service conflict on data protection, this agreement wins. EU and Switzerland: the Standard Contractual Clauses win over both.
- [TODO: governing law and the courts that decide disputes.]
16. Signatures
| The restaurant | CodingMind Private Limited | |
|---|---|---|
| Name | [TODO: signatory's name] | [TODO: signatory's name] |
| Role | [TODO: signatory's role] | [TODO: signatory's role] |
| Date | [TODO: date] | [TODO: date] |
Annex 1. Security measures
In place in the product today:
- The website and the webhooks use HTTPS.
- The voice service's webhooks (the four booking tools, appointment requests and the call start) need a shared secret in a header. It is compared in constant time. A request without it gets no data.
- Payment webhooks are verified by their signature, and each event is applied only once.
- Each call is matched to its restaurant by the number called or the assistant's id. A restaurant id sent in a request is ignored. Lookups, checks and cancellations on the book stay within the restaurant the call belongs to.
- Only the caller's own number can cancel its booking. The assistant never asks for a phone number and never types one into a tool.
- Owner sign-in runs through Supabase Auth, by email link or Google, with the PKCE flow on the server. The access and refresh tokens are kept in HttpOnly cookies, marked Secure on HTTPS. No owner passwords are stored.
- Staff pages use a signed session cookie (HttpOnly, 12 hours).
- Secrets, such as the webhook secret, the staff password, the database service key and the payment and provider keys, stay in the server environment and never reach the browser. The deploy sends them over SSH input, never on a command line.
- In the tenant database, row-level security is switched on and forced for every table. A signed-in member can read only their own membership rows, and only the service role can write memberships.
- Payment error logs record the type of error, not its content.
Planned, or to confirm before signing:
- [TODO: backups of the book, with a tested restore. Planned.]
- [TODO: monitoring and alerts for the server. Planned.]
- [TODO: encryption at rest for the server disk and the backups. Confirm.]
- [TODO: staff pages share one password. Personal staff accounts are planned.]
- [TODO: list who can reach the server and the provider accounts, and confirm multi-factor sign-in.]
Annex 2. Sub-processors
| Sub-processor | What it does | Data | Where |
|---|---|---|---|
| Telephony provider for Indian numbers | Phone number and call routing in India | Caller number, number called, call times | India [TODO: confirm where it stores call records] |
| Telephony provider for numbers outside India | Phone number and call routing, only for a number outside India | Caller number, number called, call times | USA |
| Voice AI provider | Speech recognition and synthesis, the conversation, recordings and transcripts | Everything said on the call | USA / global environment. Its standard storage is in the USA. |
| DeepSeek, through the voice AI provider | The language model that writes the assistant's replies | The conversation | [TODO: confirm the model and where it runs] |
| Google (Gemini), through the voice AI provider | Summaries after the call | The conversation | USA / global [TODO: confirm whether this is switched on] |
| DigitalOcean LLC | Hosts CodingMind's server, which runs the book | Bookings, callers, requests, call log | Amsterdam, Netherlands |
| Supabase Inc. | The database the book will move to. Planned. | Bookings, callers, requests, call log | London, United Kingdom |
| Cloudflare Inc. | Delivers the website and the staff pages | IP address, request data | Global |
[TODO: the signed copy names each provider. The website lists the voice and telephony providers by role.]
Stripe, Google sign-in and the Google Maps lookup are not on this list. They handle the restaurant's own account and billing, for which CodingMind is the Data Fiduciary. The India privacy notice covers them.
Annex 3. Where the data is kept, and for how long
| Data | Kept by | How long, as the product works today |
|---|---|---|
| Bookings, callers, requests, call log | The book on CodingMind's server | Until deleted. There is no automatic deletion yet. [TODO: agree a period and build the deletion.] |
| Call recordings and transcripts | The voice AI provider | As set in the provider account. [TODO: confirm the setting.] |
| Call records at the telephony provider | The telephony provider | [TODO: confirm.] |