Skip to content

Data Retention ​

Cubrel cleans up after itself. Old notifications, stale audit log entries, expired invites, that kind of thing don't pile up forever. This article covers what gets cleaned up automatically, how long each type of data sticks around by default, and where to change those windows.

Where to find it ​

Admins can go to Workspace > Data & Security > Data Retention to see and change every retention window in one place. Nothing here needs a deploy or a restart; a change takes effect the next time the relevant cleanup job runs.

What gets cleaned up ​

Twelve kinds of data have their own configurable retention window, each measured in days from when the record was created (or, for invites, from when it was resolved, and for deleted records, from when they were deleted):

SettingWhat it coversDefault
Notification RetentionIn-app notifications180 days
Audit Log RetentionEvery logged create, update, and delete across the app730 days
User Invite RetentionInvites that have been accepted, revoked, or have expired365 days
Failed Job RetentionBackground jobs that failed and were logged for debugging30 days
Setup Token RetentionOne-time tokens used during first-time account setup90 days
Import History RetentionCompleted or failed import runs and uploads never started, files attached in Ask Cubrel included, with the uploaded file90 days
Abandoned Draft Module RetentionCustom modules left unfinished in the Module Builder7 days
Workflow Run History RetentionPast workflow runs and what each action did90 days
Deleted Record Retention in the BinDeleted records, with their line items, attendees, images, and files. At most 90 days. See Restoring Deleted Records30 days
Ask Cubrel Usage Log RetentionThe token count of each Ask Cubrel request365 days
Ask Cubrel Chat RetentionAsk Cubrel chats, counted from their last message90 days
Webhook Delivery Log RetentionThe delivery log of each webhook, with the payload sent and the receiver's response30 days

Images and files of a deleted record stay with it in the bin, so a restore brings them back; they're removed once the record leaves the bin for good. Replacing an image or file on a record cleans up the old one right away.

Pending invites are never cleaned up, however old they are; only accepted, revoked, or expired ones are.

Setting a window to 0 or a very low number ​

A shorter window means Cubrel forgets that data sooner. There's no toggle to turn a category off entirely; the lowest meaningful setting is whatever number of days you're comfortable with. Audit logs in particular are worth thinking about before shortening: once an entry ages out, that history is gone for good.

Draft modules can also be discarded manually ​

You don't have to wait out the retention window for an abandoned draft. From the Module Builder, an admin can click Discard Draft on an unfinished module to delete it immediately, unsaved fields and all. The 7-day retention setting is just the backstop for drafts nobody remembered to clean up.

What isn't on a configurable timer ​

A few housekeeping tasks run on a fixed schedule instead of a setting you can change: orphaned image uploads are swept up weekly, expired password reset links are cleared daily, and impersonation sessions that got stuck open (say, a browser tab closed mid-session) are reconciled hourly. These aren't user data in the same sense as the table above, so there's nothing to configure.

In short ​

QuestionAnswer
Where do I change retention windows?Workspace > Data & Security > Data Retention
Do changes need a deploy?No, they apply the next time the cleanup job runs
What happens when data passes its retention window?It's permanently deleted, there's no recovery
Can I turn off retention for a category?No, but you can set a long window
What cleans up immediately instead of on a schedule?The old file when you replace an image or file on a record
How long can deleted records stay in the bin?30 days by default, up to 90
Can I discard an abandoned draft module myself?Yes, with Discard Draft in the Module Builder, without waiting for retention to catch it