Draft — pending legal review
This text is not final. The fields in [brackets], highlighted below, have not been filled in yet.
Whence — Data Processing Addendum
Last updated: [DATE]
This Data Processing Addendum ("DPA") forms part of the Terms of Service between the merchant that installs Whence ("the merchant", "you") and Roberth Eliut González Rugama, Carrer de Miralta 19, 3-1, 08906 L'Hospitalet de Llobregat (Barcelona), Spain, NIF [NIF], the operator of Whence ("Whence", "we", "us").
It applies whenever Whence processes personal data on your behalf. You accept it by installing or using Whence; no signature is needed. If this DPA and the Terms conflict on data protection, this DPA prevails.
1. Definitions
- Data Protection Law means the laws that apply to the processing under this DPA. These include the EU General Data Protection Regulation 2016/679 ("GDPR"), the Spanish Organic Law 3/2018 (LOPDGDD), the UK GDPR, the Swiss Federal Act on Data Protection and, where applicable, US state privacy laws such as the California Consumer Privacy Act ("CCPA").
- Customer Personal Data means the personal data of your store's customers that Whence processes on your behalf, as described in Annex I.
- Sub-processor means a third party that Whence engages to process Customer Personal Data.
- Standard Contractual Clauses ("SCCs") means the clauses adopted by Commission Implementing Decision (EU) 2021/914.
- "Controller", "processor", "personal data", "processing", "data subject", "personal data breach" and "supervisory authority" have the meanings given in the GDPR.
2. Roles and scope
For Customer Personal Data, you are the controller and Whence is your processor. If you act as a processor for another controller, Whence is your sub-processor, and you confirm that the controller has authorised Whence's processing under this DPA.
The details of the processing (subject matter, duration, nature and purpose, types of personal data and categories of data subjects) are set out in Annex I.
This DPA does not cover the data about your own business account (store domain, connected Klaviyo account, support conversations), for which Whence is the controller, as described in the Privacy Policy.
3. Your instructions
Whence processes Customer Personal Data only on your documented instructions, unless the law of the EU or of a Member State requires otherwise; in that case, Whence will tell you before processing, unless that law prohibits it. Your instructions are:
- the Terms and this DPA;
- your use and configuration of Whence, such as connecting or disconnecting a Klaviyo account and changing the app's settings; and
- the privacy requests Shopify forwards on your behalf (
customers/redact,customers/data_request,shop/redact).
Whence will tell you if, in its opinion, an instruction infringes Data Protection Law.
You are responsible for the lawfulness of your instructions. You must have a legal basis for having your customers' data processed and sent to Klaviyo, give your customers the information the law requires, and keep your store's cookie consent setup compliant. Whence adds no scripts, pixels or cookies to your storefront; it only reads the visit data Shopify has already recorded for each order.
Whence does not sell Customer Personal Data or use it for advertising. It does not combine it across merchants and does not use it to train models.
4. Confidentiality
Only the operator and the people Whence authorises can access Customer Personal Data. They access it only as needed to provide, secure and support the service, and they are bound by confidentiality.
5. Security
Whence implements the technical and organisational measures in Annex II to protect Customer Personal Data, as required by Article 32 GDPR. It may update these measures over time, provided the overall level of protection is not reduced.
6. Sub-processors
You give Whence a general authorisation to engage Sub-processors. The current list is in Annex III.
Whence imposes on each Sub-processor, by written contract, data protection obligations that offer at least the same level of protection as this DPA. Whence remains responsible to you for its Sub-processors' performance of those obligations.
Whence will tell you about any intended addition or replacement of a Sub-processor at least 30 days in advance, [by email / inside the app], and will update Annex III. Within that period you may object on reasonable data protection grounds. If we cannot resolve the objection, you may stop using Whence and uninstall it, which ends the Terms without penalty.
Shopify and Klaviyo are not Sub-processors of Whence. They are services you have chosen and contracted directly, and Whence moves data between them on your instruction. Your agreements with them govern how they process that data.
7. International transfers
Whence stores Customer Personal Data in the European Union (Cloudflare D1, EU jurisdiction). Cloudflare handles each request at the location of its network closest to the sender, which may be outside the European Economic Area (EEA).
Whence transfers Customer Personal Data outside the EEA, the UK or Switzerland only when Chapter V of the GDPR, or the equivalent UK or Swiss rules, is complied with. Such a transfer relies on an adequacy decision, including the EU–US Data Privacy Framework for certified recipients, or on the SCCs. Transfers to Cloudflare rely on [Cloudflare's certification under the EU–US Data Privacy Framework and the SCCs included in Cloudflare's data processing addendum — confirm at publication].
Data sent to your Klaviyo account, or read from your Shopify store, moves on your instruction to services you have contracted. Any transfer mechanism those flows need is governed by your agreements with Shopify and Klaviyo.
If you are established outside the EEA and Data Protection Law requires it, Module 4 (processor to controller) of the SCCs applies to the transfer of Customer Personal Data from Whence to you. In that case, Whence is the data exporter and you are the data importer. The SCCs are incorporated by reference and, for Clauses 17 and 18, governed by Spanish law and the courts of Spain. If the SCCs and this DPA conflict, the SCCs prevail.
8. Data subject requests
Taking into account the nature of the processing, Whence helps you answer requests from your customers to exercise their rights:
- Erasure (
customers/redact, forwarded by Shopify): Whence automatically deletes the sync state and profile references of the orders listed in the request. - Access (
customers/data_request, forwarded by Shopify): Whence sends you the Customer Personal Data it holds about the orders listed in the request, without undue delay and within 14 days. Whence does not store customer email addresses; it finds the data by the order IDs in the request. - Requests sent directly to Whence are passed on to you without undue delay. Whence will not answer them itself, other than to refer the person to you.
Data already sent to your Klaviyo account is under your control, and requests about it are handled in Klaviyo.
9. Other assistance
Taking into account the nature of the processing and the information available to Whence, Whence gives you reasonable assistance with your obligations under Articles 32 to 36 GDPR. This covers security, breach notification, data protection impact assessments and prior consultation of a supervisory authority.
10. Personal data breaches
Whence will notify you without undue delay, and where feasible within 48 hours, after becoming aware of a personal data breach affecting Customer Personal Data. The notice will be sent to the contact email of your store in Shopify, and shown inside the app.
The notice will describe, as far as Whence then knows:
- the nature of the breach, the categories and approximate number of data subjects and records concerned;
- its likely consequences;
- the measures taken or proposed to address it.
Information not available at first will follow in phases. Whence will take reasonable steps to contain the breach and limit its effects. A notification is not an admission of fault or liability.
11. Deletion at the end of the service
- When you uninstall Whence, its Shopify access tokens are deleted immediately.
- 48 hours later, Shopify sends the
shop/redactrequest. Whence then revokes its access to your Klaviyo account and deletes your store's Customer Personal Data. It keeps only a minimal record of the store (domain, status and dates), which contains no data about your customers. - Return of data: Whence delivers the data to your Klaviyo account as it processes it, so you already hold it. Whence keeps no separate copy to return.
- Backups: deleted data may remain in the database's point-in-time recovery copies for up to 30 days, after which it is overwritten.
- Logs: application logs contain identifiers (store, order and Klaviyo profile IDs) and error codes, never email addresses, names or tokens. For security and audit reasons they are kept for 365 days, during which they cannot be altered or deleted, and they are deleted after 400 days.
Whence may keep Customer Personal Data for longer only where the law of the EU or of a Member State requires it, and only for that purpose.
12. Information and audits
On request, Whence makes available the information needed to demonstrate compliance with this DPA, including:
- this DPA and the Privacy Policy;
- answers to reasonable security questionnaires;
- the certifications of its Sub-processors (Cloudflare publishes its own).
If that information is not enough, or a supervisory authority requires it, you or an independent auditor bound by confidentiality may audit Whence's compliance with this DPA, under these conditions:
- at most once every 12 months, with at least 30 days' notice;
- during business hours, at your own cost;
- without access to other merchants' data, or to information that would compromise the security of the service.
13. US state privacy laws
Where the CCPA or a similar US state law applies, Whence acts as your "service provider" or "processor" and:
- does not sell or share Customer Personal Data, as those terms are defined in that law;
- does not retain, use or disclose it outside the direct business relationship with you, or for any purpose other than providing Whence;
- does not combine it with personal data from other sources, except as that law permits;
- complies with that law, provides the same level of privacy protection it requires, and tells you if it can no longer meet its obligations.
You may take reasonable steps to stop and remediate any unauthorised use of Customer Personal Data.
14. Liability, term and changes
- Liability under this DPA is subject to the limits in the Terms, to the extent Data Protection Law allows.
- Term: this DPA applies for as long as Whence processes Customer Personal Data on your behalf.
- Law and courts: the governing law and courts are those set out in the Terms, except where section 7 provides otherwise.
- Changes: Whence may update this DPA to reflect changes in the law, in the service or in its Sub-processors, with notice as described in the Terms. Changes will not reduce the overall protection of Customer Personal Data.
Annex I — Description of the processing
| Item | Description |
|---|---|
| Subject matter | Sending the attribution data Shopify records for each order to the merchant's own Klaviyo account |
| Duration | While Whence is installed, plus the deletion periods in section 11 |
| Nature of the processing | Retrieval from Shopify, structuring, transmission to Klaviyo, limited storage, deletion |
| Purpose | Sending an "Attributed Order" event and first-touch and last-touch profile properties to Klaviyo. Retrying failed deliveries, showing the order list inside the app, support, and keeping the service secure (logs) |
| Data subjects | Customers who place orders in the merchant's Shopify store |
| Personal data: read and sent to Klaviyo, not stored | Customer email address, used only to identify the customer's profile in Klaviyo |
| Personal data: read, sent to Klaviyo and partly stored | Order ID, number, creation time, total price and currency. The order's customer journey summary: for the first and last visit, the source, time, landing page URL, referrer URL and UTM parameters. The AI assistant channel derived from them. Whence stores only the order ID, number and time, the last-touch UTM source, medium and campaign, and the AI channel |
| Personal data: stored | The customer's Klaviyo profile ID, linked to the orders that hold their first and last touch |
| Special categories of data | None intended. Landing page and referrer URLs are sent as Shopify recorded them; if a store's own links put personal data in URLs, that data travels with them |
| Frequency | Continuous, for each new order |
| Retention | Per-order sync state: 13 months. The order holding a profile's first or last touch is kept until that profile is deleted or the store uninstalls. Logs: 365 days. Details in section 11 and the Privacy Policy (section 5) |
Annex II — Technical and organisational measures
Data minimisation
- Whence requests only the
read_ordersscope. The order webhook carries only the order ID; everything else is read from Shopify's API when needed. - The customer email address is read and passed to Klaviyo in the same operation and is never stored.
- Logs carry identifiers and error codes only; email addresses and tokens are redacted automatically.
Encryption
- All traffic uses TLS.
- The database is encrypted at rest by Cloudflare (AES-256-GCM).
- Access tokens and secrets are additionally encrypted per column with AES-256-GCM, bound to their table, row and column.
Access control
- Every administrative account (Cloudflare, Shopify, Klaviyo, email and the code repository) uses a strong, unique password and multi-factor authentication.
- The operator API is disabled unless a dedicated token is configured, and requires that token.
- Access to Shopify's Admin API is restricted by Shopify's IP allowlist to Cloudflare's networks.
Authentication of requests
- Every Shopify webhook is verified with its HMAC signature over the raw body.
- Every request from the Shopify admin is verified with a Shopify session token (signature, audience and expiry).
- Klaviyo is connected through OAuth with PKCE and a single-use state. Before a Klaviyo account is linked to a store, Shopify confirms that the browser is signed in to that store. Whence never asks for API keys.
Separation of merchants
- Every record is keyed by store, and every query is scoped to the store it serves.
- Each store has its own tokens.
Integrity and availability
- Each event has a unique ID per order, so retries never duplicate events in Klaviyo.
- Work runs on queues with automatic retries, back-off and a dead-letter queue.
- The database has point-in-time recovery (Cloudflare D1 Time Travel).
Logging
- Structured application logs are copied to storage that cannot be altered or deleted for 365 days. [PENDIENTE: crear el job de Logpush hacia whence-logs antes de publicar]
Retention and deletion
- Per-order data is deleted automatically after 13 months.
- Shopify's privacy webhooks (
customers/redact,shop/redact,customers/data_request) are processed as described in sections 8 and 11.
Development
- Every deployment runs the automated test suite and type checks first.
Physical security
- Whence runs on Cloudflare's infrastructure, which is certified to ISO/IEC 27001 and audited under SOC 2 Type II.
Annex III — Sub-processors
| Sub-processor | Service | Location of Customer Personal Data | Transfer safeguard |
|---|---|---|---|
| Cloudflare, Inc. (United States) | Hosting (Workers), database (D1), queues, log storage (R2) | Database: European Union. Logs: European Union (R2, EU jurisdiction). Requests are handled at Cloudflare's network location closest to the sender | See section 7 |