AI Ticket Spam Filter

AI Ticket Spam Filter

Overview


The AI Ticket Spam Filter plugin for HostBill adds an intelligent layer of protection to your support system by automatically analyzing new tickets using advanced AI models to detect potential spam. Designed to work with tickets submitted via email or directly by clients, the plugin evaluates message content in real-time and identifies suspicious or unwanted submissions with high accuracy. When a ticket is flagged as possible spam, the plugin can automatically trigger a predefined macro—allowing you to take custom actions such as tagging, closing, or moving the ticket. This helps reduce manual review, streamline support workflows, and maintain a clean and efficient helpdesk.

Activating the module


  1. The plugin is free and available to all HostBill users. In order to activate the plugin go to Settings→ Modules→ Plugins → AI modules → Inactive, find and activate ai_ticket_spam_filter plugin.
  2. Once the plugin is activated you will be directed to Settings→ Modules→ Plugins to configure the module.

Module configuration


Once you activate the module you will be redirected to module configuration page. To configure the activated module you can also go to Settings → Apps → Add New App.

Fill in the configuration fields:

  1. Name
  2. AI Connection - select the previously configured AI connection that you want to use
  3. SPAM Threshold - 0-10 likelihood of SPAM this module should not take action on. Anything above this number will be considered as SPAM and module will trigger macro on it. Default: 7
  4. Prompt - Leave empty for default prompt. Custom system completions prompt below should result in Al returning number between 0 and 10.
  5. Departments - Comma separated list of department ids this module 3 should be active for. Leave empty for all departments.
  6. Message length - Spam messages may be long which cost tokens to process. Enter max amount of characters to send to AI APIs, ie: 20000, everything above this amount of characters will be truncated. Leave empty for no character limit.
  7. Macro - Select macro to trigger on a ticket if it is considered as spam.
  8. Use queue - For performance you may want to use queue to process tickets so that new tickets submission frontend would not get slowdowns caused by this module.