Redact sensitive data in customer messages
Brainfish can replace sensitive data in customer messages with placeholders before the message is saved or sent to the AI.
What gets redacted
Email addresses, phone numbers, card data, IBANs, US social security numbers, passport and driver’s licence numbers, street addresses, dates of birth, passwords, and secrets such as API keys and auth tokens. Names and locations are not redacted. Each match is replaced with a placeholder that names the type of data removed.
For example, “My email is jane@example.com” is stored and sent to the AI as “My email is [EMAIL_ADDRESS]”. Phone numbers appear as [PHONE_NUMBER] and card numbers as [CREDIT_CARD_DATA].
Turn it on
- Go to ‘Agents’ and open the agent you want to protect.
- In the ‘Config’ tab, expand ‘Agent Settings’.
- Switch on ‘Redact sensitive data’.
- Click ‘Save’.
Where it applies
Redaction applies to the Widget, Help Center, Slack and Microsoft Teams, and to Public API requests to /v1/agents/answer made with an agent key. The setting belongs to each agent, so turn it on for every agent you want covered.
Things to know
- It adds a short delay to every answer.
- If redaction fails, the message isn’t answered and the customer is asked to try again. Brainfish never falls back to the original text.
- Attachments aren’t redacted.
- Detection is best-effort. Only data detected with high confidence is redacted, so it may not catch every sensitive value.
