Chat · Staff guide
Compliance export and legal hold
Export any channel or direct message for a date range, and keep messages from being edited away or deleted while a matter is open
Compliance export lets the people you choose download a signed copy of any channel or direct message, including messages that were edited or deleted. A legal hold keeps chosen people's or channels' messages from disappearing while a legal matter is open.
Who can use it
Both need the chat.compliance permission. It is not given to any role by default, not even administrators, and only an owner (someone with an administrator-type role) can grant it:
- Go to Users → Roles and edit the role that should have it, for example a "Compliance" role, or your own Administrator role.
- Under Collaboration, tick
chat.compliance(marked Owner only) and save.
"Select all" never ticks it, and people who are not owners can neither give it nor take it away.
Open it from Chat management (the gear in the chat sidebar) then Compliance, or /admin/chat/compliance. Owners who do not hold the permission see only the Audit log tab.
Turn on compliance export
On the Exports tab, switch on Compliance export. While it is on, every member sees a short notice under Your chat settings in chat: "Your workspace can export chat messages for compliance, including direct messages." Turning it off stops new exports and removes the notice. Legal holds work either way.
Export a conversation
- Under New export, search for people, channels or direct messages and add them:
- a channel or direct message is exported whole;
- a person brings in every direct message and group conversation they are in, both sides, plus their own messages in other channels.
- Pick a From and To date, or leave them empty for everything.
- Click Start export.
The export runs in the background. The list shows it as Queued, then Running, then Ready, with how many messages and conversations it holds. Click Download to get the archive. The link works for 7 days, then the file is deleted.
What is in the archive
- For each conversation,
messages.json(every message as data) andtranscript.html(the same conversation, readable in any browser), with the files sent in it underattachments/. - Every message shows who wrote it and when, and its earlier versions if it was edited.
- Deleted messages are always listed. If the message was deleted while under a legal hold, its text is included and marked "deleted, kept under legal hold". Otherwise the text was removed when it was deleted, and the export says so.
- Messages removed by the message retention setting no longer exist and cannot be exported.
manifest.jsonrecords who asked, when, what was covered and the date range, plus a fingerprint (SHA-256) of every other file.manifest.sigis a digital signature over it andpublic-key.pemis the key that checks it.README.txtexplains how to verify the archive; compare the key fingerprint with the one shown on the Exports tab.
Place a legal hold
- Open the Legal holds tab and click Place hold.
- Name the Matter, give a Reason, and add the people and channels it covers.
- Click Place hold.
While a person or channel is held:
- Edits keep the original. Every earlier version is kept and appears in exports.
- Deleting only hides. Members see "This message was deleted" as usual, but the text, its earlier versions and its files are kept for export.
- Message retention skips held messages, however old.
- Account deletion skips held messages. A member who deletes their account is told that some of their chat messages are kept because of a legal hold; everything else is deleted, and exports still show their name on the kept messages.
- A channel holding held messages cannot be deleted (archive it instead), and a held group conversation is kept when its last member leaves.
Nobody is notified that they are under a hold. Holds never appear in the chat moderation audit log, in notifications or in anyone's activity timeline.
Lift a hold
Click Lift hold on an active hold and give a reason. From then on the held messages follow the normal rules again: a later delete removes them, and retention can remove old ones. Messages that were deleted while held stay in the database until retention removes them.
Audit log
The Audit log tab, visible to owners only, records every export requested, finished, failed and downloaded, every hold placed and lifted, and every time compliance export was switched on or off: who did it, when, and from which IP address. Message text is never written to it.