How the spam filter works – and how to fine-tune it

Herodesk filters spam on every channel automatically. Learn how it decides, where spam ends up, and how your team can correct it and teach it what your business wants.

Written by Anders Eiler
Last updated 2026-11-16
On this page

Herodesk screens every incoming message for spam – on e-mail, live chat, Facebook Messenger, Instagram and WhatsApp. Messages it judges to be spam are moved out of your inboxes into the Junk folder, so your team only sees real conversations. The filter is always on and needs no setup.

No filter is perfect, and what counts as spam differs from business to business. This article explains how the filter decides, and how you and your team can correct it and teach it what you want.

How the filter decides

When a new message arrives, Herodesk goes through these checks in order:

  1. Blocked contacts – a message from a contact you have blocked always goes to spam.
  2. Trusted senders – messages from senders Herodesk already trusts are never filtered. A sender is trusted when:
    • the contact is whitelisted,
    • your team has replied in the conversation, or has replied to this sender before, or
    • the sender has at least two earlier conversations with you that weren't spam.
  3. AI check – everything else is read by Herodesk's AI spam filter. It looks at what the message is actually about – a cold sales pitch, an SEO offer, a phishing attempt or a scam – together with signals like whether the sender has written before, uses a free e-mail address, or looks like bulk mail. A real customer question is not spam, even if it's short or comes from a new address.
  4. Your own rules – the AI check also follows the Always allow and Always mark as spam lists from your spam filter settings (see below).

For e-mail, Herodesk also respects the spam score that the receiving mail server adds. The score is shown in the conversation when a message was filtered that way.

Good to know:

  • Comments on Facebook and Instagram posts are not spam-filtered.
  • Very short Messenger messages – a sticker, a photo, a thumbs-up or a few words without a link – are never judged as spam, so live-sale orders and giveaway replies get through.
  • Spam is left alone. The AI agent doesn't answer it, auto-responders don't reply, and no suggested replies are made.

Where spam goes – the Junk folder

You'll find spam in the Junk folder at the bottom of the inbox list. The conversation log shows why a conversation is there – for example Marked SPAM by Herodesk's spam filter.

The Junk folder at the bottom of the inbox list with three conversations the spam filter caught

Important: spam conversations that nobody touches for 30 days are deleted permanently. Have a quick look through Junk now and then.

When the filter gets it wrong

A real message landed in Junk

Open the conversation and change its status from Spam to Pending or Open. The conversation moves back to its inbox, and Herodesk learns from it:

  • the sender is whitelisted automatically, so future messages from them are never filtered, and
  • your correction counts as a vote to allow this kind of message (see Suggestions below).

The status menu on a conversation in Junk, with Pending, Open, Closed, Snoozed and Spam

Spam got through

Set the conversation's status to Spam – from the status menu, or with the keyboard shortcut S then J. The conversation moves to Junk, and your correction counts as a vote to block this kind of message.

Whitelist or block a contact

On a contact's page (Contacts β†’ open the contact) you can decide once and for all how that person is treated:

  • Whitelist – the contact always bypasses the spam filter.
  • Block – every new message from the contact goes straight to spam.

A contact can't be whitelisted and blocked at the same time. Use Remove from whitelist or Unblock to undo it.

A contact page with the Block and Whitelist buttons at the top

Teach the filter what your business wants

"Spam" isn't the same for every business. A portfolio from an illustrator is junk for a plumber, but a valuable lead for a design shop. Under Settings β†’ Spam filter (in the Automations section) you can give the filter two lists in plain language. You need the manager or admin role.

  • Always allow – messages that match one of these are never marked as spam, even if they look like cold, unsolicited outreach. For example: Unsolicited portfolio submissions and collaboration proposals from artists and illustrators.
  • Always mark as spam – messages that match one of these are marked as spam, even if they otherwise look legitimate. For example: Cold SEO, link-building and web design offers.

Settings β†’ Spam filter with a suggestion and filled-in Always allow and Always mark as spam lists

Tips for good entries:

  • Describe the kind of message, not keywords. Write "unsolicited portfolio submissions from artists", not "portfolio". The filter understands meaning, so a sales pitch that happens to mention the word "portfolio" is still caught.
  • One entry per line, in plain language – the way you'd explain it to a new colleague.
  • Keep it short. Each list can hold up to 255 characters, so a few short lines.

Good to know:

  • Empty lists keep Herodesk's default behaviour – you only adjust the cases that matter to you.
  • The lists apply to every channel and take effect immediately for new messages. Changes are recorded in the audit log.
  • Scams are always blocked. Phishing, impersonation and obvious fraud are filtered no matter what your Always allow list says.

Suggestions

Herodesk keeps track of how your team corrects the filter. Every night it groups recent corrections by topic. When a clear majority of the corrections on a topic point the same way, and they come from at least two different team members, the topic shows up as a suggestion at the top of Settings β†’ Spam filter – for example "Recruitment and staffing agency offers Β· Always mark as spam Β· Seen 4 times".

  • Add turns the suggestion into a rule in the matching list.
  • Dismiss ignores it, and Herodesk won't suggest that topic again.

Topics your team disagrees on never become suggestions – they're handled case by case. For privacy, Herodesk only keeps a short excerpt of each corrected message, with e-mail addresses and numbers removed, for at most 90 days.

Quick reference

You want to…Do this
See what was filteredOpen Junk at the bottom of the inbox list
Rescue a real messageSet its status to Pending or Open – the sender is whitelisted automatically
Report spam that got throughSet the status to Spam (shortcut S, J)
Never filter a senderWhitelist the contact
Always filter a senderBlock the contact
Allow or block a whole kind of messageAdd a line under Settings β†’ Spam filter