Skip to main content

What PII Switchbord Stores

Switchbord processes personal data on behalf of its tenant organizations (data controllers). The categories of personal data processed include:
Switchbord operators are responsible for ensuring they have a lawful basis under GDPR Art.6 for processing their contacts’ personal data via the platform.

Data Retention

Each workspace configures its own data retention policy via the data_retention_days setting (default: 730 days / 2 years).
  • Contacts and messages older than the retention window are eligible for automated deletion
  • The retention window applies per-workspace and can be adjusted by workspace owners and admins
  • Soft-delete fields (deleted_at, deletion_requested_at) track the deletion lifecycle

GDPR Data Subject Rights

Right of Access & Portability (Art. 15 / Art. 20)

Contacts can request a full export of all personal data held about them. This is implemented via:
Authorization: Requires admin or owner role in the contact’s workspace. Response: A JSON payload containing all PII fields associated with the contact, including:
  • Contact record (phone, name, custom fields)
  • All message history linked to the contact
  • Any audit log entries referencing the contact
This endpoint satisfies the obligation to provide data in a structured, commonly used, machine-readable format (Art.20).

Right to Erasure (Art. 17)

Contacts can request erasure of their personal data. This is implemented via:
Authorization: Requires admin or owner role in the contact’s workspace. What happens on erasure:
  1. PII fields in the contacts record are overwritten with anonymized placeholder values
  2. Message bodies linked to the contact are anonymized in-place
  3. The contact record is soft-deleted (deleted_at set to current timestamp)
  4. An audit log entry is written recording the erasure, actor, and timestamp
Audit log entries for erasure operations are retained after erasure to demonstrate compliance with the erasure request itself. The audit log records the fact of erasure, not the erased PII.

PII Pseudonymization for AI

When contact data is passed to an AI model for draft generation or analysis, Switchbord pseudonymizes PII before it leaves the platform.

How It Works

The pii-redactor.ts utility (packages/ai/src/pii-redactor.ts) provides two functions:

Pseudonymization Modes

Privacy-First Default

The default mode is conservative pseudonymization — enabled by default for all workspaces. Disabling pseudonymization is only permitted when the workspace has configured a self-hosted AI provider (Ollama or vLLM), ensuring PII never leaves the operator’s infrastructure.
Disabling PII pseudonymization while using a cloud AI provider (OpenAI, Anthropic, OpenRouter) is blocked at the application level. The toggle will be unavailable until a self-hosted provider is configured and tested.

Self-Hosted AI: Keeping PII On-Premises

For organizations that cannot allow PII to leave their infrastructure (healthcare, legal, financial services), Switchbord supports two self-hosted AI providers:

Ollama

Runs locally on your infrastructure. No data leaves your network. Suitable for CPU/GPU servers and developer environments.

vLLM

High-throughput GPU cluster deployment with OpenAI-compatible API. Suitable for production workloads requiring fast inference.
Both providers are configured in Settings → AI Providers and include a connection test to verify reachability before activation.

Sub-Processors

Switchbord relies on the following sub-processors for data processing:
Cloud AI providers (OpenAI, Anthropic, OpenRouter) only receive pseudonymized text unless explicitly disabled by the workspace admin with a self-hosted provider configured. Self-hosted providers (Ollama, vLLM) never transmit data externally.

Data Processing Agreements

Organizations subject to GDPR must ensure a Data Processing Agreement (DPA) is in place with Switchbord and each relevant sub-processor. Key considerations:
  • Supabase provides a standard DPA covering GDPR Art.28 obligations
  • Vercel provides a DPA for enterprise customers
  • Meta requires acceptance of their Platform Terms, which include data processing terms
  • Cloud AI providers offer DPAs; review their data retention and training policies before use
For self-hosted deployments, the operator acts as both data controller and data processor, which simplifies the DPA landscape.

Compliance Mapping

For the full compliance control mapping, see the Compliance Matrix.