Data processing agreement (template)
Last updated:
Template agreement. The [__] fields are completed when the agreement is concluded; the Parties agree the final text before signing. This is a translation: the Polish version prevails in case of any discrepancy.
Agreement for the processing of personal data concluded on [__] in [__] (the “Agreement”).
Parties
[Organization], registered office in [__], address: [__], entered in [__] under number [__], NIP [__], REGON [__], represented by [__] (the “Controller”),
and
RunProven AI Sp. z o.o., registered office in Wrocław, ul. Leszczyńskiego 4/25, 50-078 Wrocław, Poland, entered in the register of entrepreneurs of the National Court Register under KRS number 0001244275, NIP 8971972885, REGON 544874284, share capital PLN 20,000, provider of the Docupass service, represented by [__] (the “Processor”),
together the “Parties” and each a “Party”.
§ 1. Definitions
In the Agreement:
- GDPR means Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC.
- Docupass Service means the service provided by the Processor to the Controller under the Main Agreement, comprising an AI assistant that talks to the Controller's clients on WhatsApp or Telegram (on the Controller's WhatsApp number or Telegram bot), the client portal (the client's individual web page for sending data and documents) and the panel for the Controller's staff.
- Main Agreement means the agreement for the provision of the Docupass Service concluded between the Parties, consisting of the order form or the accepted offer and the Docupass Service Terms published at docupass.pl/regulamin-uslugi.
- Sub-processor means an entity to which the Processor, with the consent of the Controller, entrusts specific processing activities on behalf of the Controller.
- Personal Data Breach means a personal data breach within the meaning of Article 4(12) GDPR.
- Bot means the Controller's Telegram bot account, created in @BotFather, through which the Docupass Service talks to the Controller's clients.
- Owner Account means the Telegram account from which the Bot was created and which has accepted the Telegram Bot Developer Terms.
- Owner Account Holder means the Party that holds the Owner Account (§ 3(7)(3)).
Other terms have the meaning given to them in the GDPR.
§ 2. Subject matter
- Under Article 28 GDPR, the Controller entrusts the Processor with the processing of personal data within the scope and for the purpose set out in § 3, and the Processor undertakes to process it in accordance with the Agreement, the GDPR and other applicable law.
- The Agreement governs only processing in which the Controller is the controller and the Processor acts on its behalf. It does not cover data that the Processor processes as a controller for its own purposes (in particular the contact data of persons representing the Parties and billing data).
§ 3. Nature, purpose, types of data and categories of persons
- Nature of the processing: collection, recording, storage, organization, consultation, machine translation, disclosure to the Controller, erasure and other operations necessary to provide the Docupass Service, performed partly by automated means, using artificial intelligence models.
- Purpose of the processing: handling the cases of the Controller's clients, in particular residence cases, including:
- conducting a conversation with the client through the AI assistant, sending reminders and case updates and answering questions about the client's case;
- collecting the data and documents needed for the application, through the chat and the client portal, together with machine translation into Polish of the description of a stay or trip that the client writes in the chat in their own language; the translation is stored in the case next to the original;
- enabling the Controller's staff to follow the conversation, take it over and reply to the client, together with machine translation of the staff member's reply into the client's language and, at the staff member's request, a preview of the conversation translated into Polish;
- pointing out to the Controller conversations handed over to staff that an entry in the Controller's FAQ could have prevented, together with a preview of the client's question translated into Polish (the translation is only displayed, not stored); machine translation of an FAQ entry added by the Controller into the languages of the Controller's FAQ; the translated entry is stored in the FAQ, and the AI assistant uses it in its answers without prior human review;
- checking the application photo and quality control of the assistant's answers;
- carrying out the Controller's instructions on the export and erasure of data.
- Categories of data subjects:
- the Controller's clients (foreign nationals whose cases the Controller handles);
- the Controller's employees and associates who use the panel (the Controller is the controller of the data of their accounts).
- Types of clients' data:
- identification data: first name, surname, language of communication;
- contact data: the WhatsApp number or, on Telegram, the numeric Telegram account ID (which is not a phone number); the Docupass Service does not store the phone number, profile name, username or language code that the client uses on Telegram;
- case data: answers for the application form, PESEL number, address of residence in Poland, travel document details (type, series, number, dates, issuing country and authority), travel document scan, application photo, other documents sent through the portal, information on the filing of the application (date of the client's confirmation);
- the content of messages of the client, the AI assistant and the Controller's staff, delivery statuses;
- records of consents, staff notes, access logs and technical data.
- Special categories of data: messages and documents may contain data referred to in Article 9(1) GDPR (e.g. about health or religion) if the client discloses it. Before storing the content of messages, the Docupass Service asks the client for explicit consent and records its wording and the time it was given. Choosing and documenting the legal basis of the processing remains the obligation of the Controller.
- Types of data of the Controller's staff: e-mail address, membership of the organization and role in the panel, records of actions in the access log and, if the staff member adds a passkey, the public key and the key's technical data (including its identifier, name, use counter, device type and the dates added and last used).
- Telegram channel. If the Controller uses the Docupass Service through Telegram:
- the Processor runs the Bot for the Controller and operates it on the Controller's behalf: it receives and sends clients' messages through the Telegram Bot API using the Bot token. The token is stored encrypted and is not returned to anyone;
- the Bot is created by the Owner Account, with two-factor authentication enabled, on a separate phone number. One Owner Account serves one Bot. It is neither a personal account nor the owner account of another bot. The Owner Account accepts the Telegram Bot Developer Terms. Under those terms, actions taken with the Bot credentials are deemed actions of the Owner Account Holder;
- the Owner Account Holder is [the Processor / the Controller]; the choice is made for each Bot. The Processor records the holder in its bot register;
- the Owner Account Holder: secures the account (two-factor authentication, a recovery route); informs the other Party without delay of a loss of access to the account or of a suspected takeover of the account or the token; does not change the username of the connected Bot, because printed QR codes and invitations would stop working; does not delete the Bot or transfer the account without agreement with the other Party; sets the Bot privacy policy address in @BotFather to the privacy page indicated by the Processor and confirms this when connecting the Bot;
- if the Controller is the Owner Account Holder, it gives the Bot token to the Processor only through a password manager or in person, never by e-mail or chat, and clears the conversation with @BotFather;
- Telegram may at its own discretion end the operation of the Bot, the account or both. If the Bot is deleted or blocked, the Controller's Telegram channel stops working, and its Telegram clients are not moved to another bot. Moving the clients of a lost Bot to another bot is not covered by the Agreement.
- The Docupass MOS extension. The Controller's staff may use the Docupass MOS extension for Chrome, which runs in their own browser and uses their signed-in panel session. The extension reads the client's data from the panel and enters it into the application form in the MOS system that the employee has open; it does not sign or submit the application. The data does not reach any sub-processor in the process.
§ 4. Term
- The Agreement remains in force for as long as the Main Agreement and, after its termination or expiry, until the data is returned or deleted in accordance with § 13.
- Termination or expiry of the Main Agreement, including by notice, terminates the Agreement on the same day, subject to point 1.
§ 5. The Controller's instructions
- The Processor processes the data only on documented instructions from the Controller (Article 28(3)(a) GDPR). Instructions are the Agreement, the Main Agreement, the configuration of the Docupass Service made by the Controller (including the settings of its data retention policy) and instructions sent in documentary form to the address given in § 16.
- Instructions also govern transfers of data to a third country or an international organisation. Such a transfer is allowed only under § 9, unless it is required by Union or Polish law; in that case the Processor informs the Controller of that legal requirement before processing, unless that law prohibits such information on important grounds of public interest.
- If the Processor considers that an instruction infringes the GDPR or other data protection provisions, it informs the Controller without delay and may suspend carrying it out until it is clarified.
§ 6. Confidentiality
- The Processor gives access to the data only to persons who need it to perform the Agreement, hold its written authorization and have committed themselves to confidentiality or are under a statutory obligation of confidentiality (Article 28(3)(b) GDPR).
- The obligation of confidentiality continues after the employment or cooperation of these persons with the Processor ends.
§ 7. Security of processing
- The Processor takes the technical and organizational measures ensuring a level of security appropriate to the risk referred to in Article 32 GDPR (Article 28(3)(c) GDPR). They are described in Annex 2.
- In particular:
- the data is stored in the European Union (AWS, region eu-central-1, Frankfurt);
- the content of conversations and the portal data are encrypted at rest with a separate cryptographic key in AWS KMS, with key rotation enabled; only the service that operates the channel can use the key;
- access to data in the panel is limited to the staff of the given organization and recorded in an access log whose entries cannot be changed (except pseudonymization after a client's erasure);
- technical logs and error reports contain identifiers and codes, without message content or phone numbers;
- every incoming request from WhatsApp is verified by its signature, and from Telegram by the secret webhook header, before further processing.
- The Processor may change the measures described in Annex 2 if the change does not lower the level of security.
§ 8. Sub-processing
- The Controller gives the Processor general written authorization to engage sub-processors (Article 28(2) GDPR). The list of sub-processors in force on the date the Agreement is concluded is Annex 1.
- The Processor informs the Controller in documentary form of an intended addition or replacement of a sub-processor at least 14 days before the change, giving the name of the entity, the scope of activities and the place of processing.
- Within that period the Controller may raise a reasoned objection. The Parties will then try in good faith to agree a solution. If this fails, the Controller may terminate the Agreement and the Main Agreement in the part affected by the change, with effect from the day the change is made.
- The Processor imposes on each sub-processor, by contract, data protection obligations at least equal to those in the Agreement, in particular the obligation to implement appropriate technical and organizational measures (Article 28(4) GDPR). If a sub-processor fails to fulfil its obligations, the Processor remains liable to the Controller for their performance as for its own acts.
- If a sub-processor provides its service only under its standard data processing terms, the Processor names those terms in Annex 1.
- Telegram is neither a sub-processor nor a processor of the Controller or the Processor. It is a separate controller that itself decides how it processes the messages it carries, under its own privacy policy; it does not act on the instructions of the Parties. The Processor concludes no data processing agreement with Telegram, and Telegram offers no such agreement to bot developers. Telegram is not listed in Annex 1.
§ 9. Transfers of data outside the European Economic Area
- The Processor and the sub-processors listed in Annex 1 process the data in the European Union, except as described in points 2 and 3.
- Meta (WhatsApp Cloud API) stores the data in the EU (Germany) under the setting made for the Controller's number; however, while carrying messages it may process them outside the Union for up to 60 minutes, and numbers from the contact book are not covered by local storage. Such a transfer takes place under the EU-U.S. Data Privacy Framework, with the EU standard contractual clauses as a fallback, as set out in Meta's terms for the WhatsApp Business Platform.
- The parent companies of some sub-processors are established in the United States. If this leads to a transfer of data outside the EEA, it takes place on the basis of the standard contractual clauses that form part of the data processing agreements the Processor has concluded with Google Cloud Poland Sp. z o.o., Amazon Web Services and Upstash.
- Points 1–3 do not apply to Telegram. Telegram itself decides where it processes messages and may do so outside the EEA. It offers bot developers no storage-location setting and no instrument under Chapter V GDPR, and the Processor has no influence on where Telegram processes data. The Processor does not ensure that Telegram stores data in the EU or that data will be deleted from Telegram. A conversation carried by Telegram, including the client portal link, stays in Telegram outside the deletion described in § 12 and § 13. The measures in § 7 and Annex 2 concern the Docupass Service, not the copy of the conversation in Telegram. Choosing Telegram as a channel is the Controller's instruction within the meaning of § 5, given with knowledge of these limitations.
§ 10. Assistance to the Controller
- Data subject rights. The Controller's clients send requests to the Controller, in particular through the consultant in the conversation. If a request reaches the Processor directly, the Processor passes it on to the Controller without delay, within 3 working days at the latest, and does not answer it itself unless the Controller authorizes it to. Taking into account the nature of the processing, the Processor assists the Controller in fulfilling its obligation to respond to data subject requests (Article 28(3)(e) GDPR), in particular by providing in the Docupass Service the export of a client's data and erasure of data on the Controller's instruction.
- Other obligations of the Controller. Taking into account the nature of the processing and the information available, the Processor assists the Controller in ensuring compliance with the obligations under Articles 32–36 GDPR (Article 28(3)(f) GDPR), including by providing the information needed for a data protection impact assessment (DPIA) and for any prior consultation with the President of the Personal Data Protection Office.
§ 11. Personal data breaches
- The Processor notifies the Controller of a Personal Data Breach without undue delay, and no later than 24 hours after becoming aware of it, at the address given in § 16.
- The notification contains, to the extent known at the time, the information listed in Article 33(3) GDPR: the nature of the breach, the categories and approximate number of persons and records, the contact details of the person providing information, the likely consequences and the measures taken or proposed. The Processor provides missing information without delay once it obtains it.
- The Processor documents every breach and cooperates with the Controller in investigating it, limiting its effects and any notification of the supervisory authority and of the data subjects. The Controller decides on notifying the supervisory authority and the data subjects.
§ 12. Data retention
- The retention period is set by the Controller. The Processor provides the following mechanisms in the Docupass Service:
- case files (documents sent through the portal) are deleted 60 days after the last data entry or file upload by the client in the portal (chat messages do not extend this period); the deletion covers files, not the answers typed in the form;
- in addition, every file is deleted from the file store no later than 90 days after it was stored, even in a case that is still active (a technical safeguard; the client is told about it on the rules and privacy page);
- after the Controller archives a client, portal access and drafts expire at once, and the application form and case files are deleted 30 days after archiving; the conversation and the client record remain until an instruction to delete them (point 5);
- after the client confirms the filing of the application, the Docupass Service, depending on the retention policy setting chosen by the Controller, either removes the PESEL number, travel document details and other identifiers from the form and deletes all case files uploaded before the filing (setting “delete on filing”), or does nothing (setting “never”), in which case the files are subject to points 1 and 2;
- other data is kept until the Controller instructs its deletion or until the cooperation ends (§ 13); an instruction to delete a client's data is carried out automatically, as a rule within about an hour.
- Copies of data that the Controller has downloaded from the Docupass Service or keeps in its own systems are subject only to the Controller's rules.
- The deletion described in point 1 and in § 13 concerns the data in the Docupass Service. It does not cover the copy of the conversation stored by Telegram (§ 9(4)).
§ 13. End of processing
- When the provision of the Docupass Service ends, the Processor, at the choice of the Controller, returns the data to it as an export or deletes it, and deletes all existing copies, unless Union or Polish law requires their further storage (Article 28(3)(g) GDPR).
- The Controller communicates its decision within 14 days after the Main Agreement ends. Without a decision, the Processor deletes the data.
- The return or deletion takes place within 30 days after the Main Agreement ends. It is carried out by an authorized employee of the Processor in accordance with the internal procedure for ending the cooperation with an organization.
- Once this is done, the Processor gives the Controller written confirmation of the return or deletion of the data.
- Database backups are kept for 7 days and deleted in their rotation cycle. Until then they remain encrypted and are not used.
§ 14. Records, information and audits
- The Processor keeps a record of all categories of processing activities carried out on behalf of the Controller referred to in Article 30(2) GDPR and makes it available to the supervisory authority on request.
- The Processor makes available to the Controller all information necessary to demonstrate compliance with the obligations under Article 28 GDPR and allows for and contributes to audits, including inspections, conducted by the Controller or an auditor mandated by it (Article 28(3)(h) GDPR).
- The Controller gives at least 30 days' notice of an audit. An audit may take place at most once a year, unless it is related to a Personal Data Breach, a request of the supervisory authority or a justified suspicion of a breach of the Agreement.
- An audit takes place on the Processor's working days and hours, in a way that does not disrupt its business and without access to the data of the Processor's other clients. An external auditor must be bound by confidentiality. Each Party bears its own costs of the audit.
- The Processor may first answer questions in writing and provide documentation. This does not limit the Controller's right to an audit.
§ 15. Liability
- The Parties are liable for damage caused to data subjects under Article 82 GDPR.
- The Processor is liable for damage caused by processing only where it has not complied with obligations of the GDPR specifically directed to processors or where it has acted outside or contrary to lawful instructions of the Controller.
- A limitation of the Processor's liability to the Controller, if provided for in the Main Agreement, does not apply to damage caused intentionally.
§ 16. Contact
- Contact persons for the Agreement:
- for the Controller: [__], e-mail: [__], phone: [__];
- for the Processor: [__], e-mail: hello@docupass.pl, phone: +48 797 106 646.
- A change of contact persons or addresses does not require an amendment; a notice in documentary form is enough.
§ 17. Final provisions
- Matters not governed by the Agreement are governed by the GDPR, the Polish Act of 10 May 2018 on the protection of personal data and the Polish Civil Code.
- The Agreement is governed by Polish law.
- Disputes arising from the Agreement are settled by the common court competent for the Processor's registered office.
- In case of conflict between the Agreement and the Main Agreement on the protection of personal data, the Agreement prevails.
- Amendments to the Agreement require written form under pain of nullity, except updates of Annex 1 under § 8 and changes of contact details under § 16(2).
- The Agreement has been drawn up in two identical counterparts, one for each Party, or in electronic form signed with qualified electronic signatures.
Annexes: Annex 1: List of sub-processors. Annex 2: Technical and organizational measures.
| Controller | Processor |
|---|---|
| [__] | [__] |
| (name, surname, position, signature) | (name, surname, position, signature) |
Annex 1: List of sub-processors
| Entity | Scope of activities | Data | Place of processing |
|---|---|---|---|
| Meta (WhatsApp Cloud API) | Carrying messages between the client and the Controller's WhatsApp number | The client's WhatsApp number, message content, delivery statuses | Storage in the EU (Germany); exception described in § 9(2) |
| Google Cloud Poland Sp. z o.o. (Vertex AI, Gemini) | Operation of the AI assistant, checking the application photo, machine translation of staff replies, of the conversation preview, of the client's description of a stay or trip, of the client's question in the improvement inbox and of the Controller's FAQ entries | Client messages, case data collected in the chat (without the PESEL number, travel document details and scan entered through the portal), replies of the assistant and staff, the Controller's FAQ; the application photo only for checking it | EU (multi-region eu) |
| Amazon Web Services (hosting, database, AWS KMS, Amazon Bedrock) | Hosting of the Docupass Service and storage of data (encrypted); in Amazon Bedrock, quality control of the assistant's answers | All entrusted data; Bedrock receives the claims from the assistant's answers and the material they rely on (case data collected in the chat, the Controller's FAQ); not the text of client messages | EU, Frankfurt (eu-central-1) |
| Brevo | Sending e-mail notifications to the Controller's staff (type of event and a link to the panel) | Staff e-mail addresses, the client identifier in the link; not the client's name, number or message content | EU |
| Upstash | Counters limiting the number of requests | Cryptographic hashes (HMAC) of the sender's number or Telegram account ID and technical identifiers; no content | EU |
| Sentry | Technical error reports | Error codes and identifiers; no message content or phone numbers | EU (Germany) |
Telegram is not a sub-processor and is not on this list (§ 8(6), § 9(4)).
Annex 2: Technical and organizational measures (Article 32 GDPR)
- Location and infrastructure. The Docupass Service runs in AWS in region eu-central-1 (Frankfurt). AI models are called in EU regions (Vertex AI eu, Amazon Bedrock eu).
- Encryption. The content of conversations, drafts of case data and the portal data are encrypted at rest with a separate AWS KMS key with rotation enabled; the ciphertext is bound to a specific record. The WhatsApp number, and on Telegram the numeric account ID, is stored as ciphertext and an HMAC hash; the Telegram Bot token is stored as ciphertext. Transmission takes place only over encrypted connections (TLS).
- Access control. Only the service that operates the channel is allowed to use the channel key; the background process does not decrypt channel data. Every query in the panel checks that the data belongs to the staff member's organization. The client has no account or password; they enter the portal through an individual link, and the session is kept by a strictly necessary cookie.
- Accountability. Staff access to client data is recorded in a log whose entries cannot be changed or deleted (except pseudonymization after a client's erasure). The client's consent is recorded together with a hash of the text shown to them.
- Minimization in logs. Application logs, error reports and job messages contain identifiers and codes, without message content or phone numbers.
- Input integrity. The signature of every request from WhatsApp, and on Telegram the secret webhook header, is verified before further processing.
- Limiting the data collected. The assistant in the chat does not ask for the PESEL number or travel document details; the client provides this data only through the portal.
- Deletion. The mechanisms described in § 12 run automatically, and deletion instructions are carried out by a background process.
- Organization. Authorisations and confidentiality commitments of persons with access to the data (§ 6), the breach handling procedure (§ 11), the procedure for ending the cooperation with an organization (§ 13), review of code changes before deployment.
- Business continuity. Automatic database backups (Amazon RDS) are kept for 7 days, encrypted with an AWS KMS key.
- The Docupass MOS extension. The extension uses the employee's panel session, so the same permissions as in the panel apply. Reads of the client's MOS sheet, data, case values and files are recorded in the access log. The extension stores no data in browser storage (the data is only in the memory of the open side panel) and sends it nowhere except the panel and the MOS form.
- Signing in to the panel. A staff member signs in with a one-time code sent to their e-mail address or, if they add one, with a passkey. The key works only in that organization's panel. Adding a key requires a sign-in within the last 10 minutes, is recorded in the access log, and the key owner gets an e-mail about it. The private key and biometric data stay on the staff member's device.