Keyword detection
Define offensive keywords or regular expression patterns to automatically detect and filter unwanted content. You can create up to 15 distinct keyword groups, apply them to specific channels or channel types, and customize them with different detection methods like simple keywords or advanced regex patterns. You can manage Keyword detection under Application > Settings > Moderation > Advanced moderation > Keyword detection on the Sendbird Dashboard.
When keywords are present in multiple groups, actions are taken based on the group's priority. You can reorder groups by dragging and dropping to set priority.
Before you start
Before you begin, the Moderation dashboard must be enabled. You can do so under your Application > Settings > Moderation > Features.
Detection method
You can create up to 15 groups for offensive keywords and 15 groups for regular expression patterns. The number in parentheses (0/15) shows how many groups you've created for each type.
Offensive keywords
Start by adding offensive keywords to detect profanity. You can:
- Use the Predefined keywords list. Common profanity words list is provided in English and Korean.
- Manually add words
- Upload a CSV or TXT file with keywords separated by line breaks
After creating or updating your list, verify that words are detected correctly using the Validate offensive keywords feature. As shown in the image below, it will show the number of keywords detected in the sample text. When you add new words to the list, it will show whether those words already exist in the list or in your uploaded files.
Regular expression patterns
Define regular expression patterns to detect and filter messages. Add one regex per line manually or upload a TXT file with patterns separated by line breaks.
After creating or updating your list, verify that patterns are detected correctly using the Validate regex feature. As shown in the image below, it will show the detected regex patterns in the sample text.
Other settings
Targeted channels
Apply the keyword group to either all channels or select specific channels and custom channel types.
Actions
Specify how to handle messages containing offensive keywords or regex patterns.
Choose from these options:
- No action: Message is sent to channel unchanged and automatically forwarded to Rule engine for further moderation.
- Replace with asterisks(*): Offensive words are replaced with asterisks before sending.
- Block from sending: Messages with offensive words are not sent to the channel.