Outbound privacy: sensitive properties and deletion forwarding
Two controls govern personal data that Lucida sends to other tools: sensitive-property enforcement decides which properties may leave, and deletion...
Two controls govern personal data that Lucida sends to other tools: sensitive-property enforcement decides which properties may leave, and deletion forwarding erases a person at the connected destinations when you erase them in Lucida.
Sensitive-property enforcement
The tracking plan classifies properties: a property flagged pii or sensitive, on an event or as a global property, is personal data; forbidden must never leave. Before any record goes out, one shared helper (go/internal/sensitive) applies that classification to the record's properties, nested objects such as $set included:
Flag | Default | With | With | HIPAA project |
|---|---|---|---|---|
| dropped | dropped | dropped | dropped |
| dropped | SHA-256 of the trimmed, lower-cased value | sent as is | dropped (or hashed with |
not flagged | sent | sent | sent | sent |
It applies on every outbound path:
Realtime destinations, backfills, batched sends, workflows and audience syncs:
kit.Delivererscrubs records before the rate cap, filter and transform, so nothing flagged reaches the dead-letter queue, the pending queue or the vendor. Replays from the dead-letter queue are scrubbed again, and the destination preview shows the scrubbed record.Templated destinations (
go/connectors/dsttemplate) go through the same Deliverer.Batch exports (
go/exports, events and persons streams):propertiesandperson_propertiesare scrubbed per row.
A failing classification lookup fails the delivery (it is retried); unchecked data is never sent. A plan edit is enforced within 30 seconds (cache TTL). Distinct ids are identifiers, not properties, and are sent as they are.
Settings
Destination: Sensitive properties on the destination's routing page, or
PUT /v1/projects/{pid}/connectors/{id}/routing(also the draft) with"sensitive": {"action": "drop" | "hash" | "allow", "allow": ["email"]}(stored asconfig.route.sensitive). Audience syncs use their destination's setting.Batch export: Sensitive properties on the new-schedule form, or
options.sensitivewith the same shape on/export-schedules(events and persons streams only).HIPAA:
compliance_profile=hipaaforces enforcement: a destination set toallowis treated asdropand allow-lists are ignored.
Deletion and DSR forwarding
A person delete (DELETE /v1/projects/{pid}/persons/{id}, the bulk delete, a DSR deletion) is forwarded to every connected destination of the project that has a vendor delete API:
Destination | Vendor call | Identifier |
|---|---|---|
Amplitude ( | User Privacy API | distinct id as user id |
Mixpanel ( | GDPR API | distinct id |
Intercom ( | contact search by | distinct id |
Braze |
| distinct id as external id |
Customer.io | Track API | distinct id |
Iterable |
| distinct id, email |
Klaviyo | data-privacy deletion job per email and per profile found by | email, distinct id |
HubSpot |
|
Every other destination is listed as unsupported. A vendor 404 counts as deleted.
How it runs
The lc-api deletion executor runs a
forwardstage before it erases anything: it stages the person's distinct ids and email indeletion_forward_subjects(pg 0229).lc-connectors (
go/connectors/dsr, everyLC_DSR_FORWARD_TICK, default 1m) expands the subject into onedeletion_forwardsrow per destination connector (paused ones included), sends the vendor deletes and records the outcome:sent,unsupported(no delete API, or no identifier the vendor keys people by),pending(retried with backoff from 1 minute, doubling to 6 hours, 8 attempts) orfailed(retries exhausted, or the vendor refused the request with a 4xx such as a bad key).The staged identifiers are the only copy that outlives the erasure. They are cleared as soon as no forward is pending or failed, and after 30 days at the latest (pending forwards then fail). They are never logged; vendor error text is stored with them redacted.
Options and API
forward(defaulttrue;falsewithkeep_person, because a kept person keeps their vendor profiles too) andsuppress(delete and block re-creation where the vendor supports it: Customer.io, Iterable) on the single and bulk delete.GET /v1/projects/{pid}/deletion-requests/{id}/forwards:{staged, expanded, retryable, suppress, forwards: [...]}with one row per destination (status, attempts, last error, next try, sent at).POST /v1/projects/{pid}/deletion-requests/{id}/forwards/{forward_id}/retry: puts a failed forward back in the queue (409 when it did not fail or the identifiers were purged).Web: Persons → Deletion requests → Forwarding shows the per-destination status with a Retry button; the bulk form has Do not forward and Suppress options.