Skip to content

Instantly share code, notes, and snippets.

@nvuillam
Last active January 2, 2022 02:18
Show Gist options
  • Save nvuillam/453cc09068cffa4b7bcb99c5d90b55d7 to your computer and use it in GitHub Desktop.
Save nvuillam/453cc09068cffa4b7bcb99c5d90b55d7 to your computer and use it in GitHub Desktop.
BadWords filters object config template
[
{
"query": "SELECT all FROM Lead",
"operation": "Readonly",
"targetRecordsFilter": "core:DetectBadwords",
"filterRecordsAddons": [
{
"module": "core:RecordsFilter",
"args": {
"filterType": "BadWords",
"settings": {
"badwordsFile": "../badwords.json",
"detectFields": [
"Description"
],
"highlightWords": true,
"outputMatches": false
}
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment