---
title: "Spam filtering"
description: "How each submission gets a spam score, what happens when it crosses the threshold, and what the optional AI check adds."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.atomicity.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Spam filtering

Every submission gets a **spam score** out of 100. If the score reaches the form's **threshold**, the submission is **held as spam**. It's saved in the **Spam** tab, and its notification emails, auto-reply, and webhooks are held back. Below the threshold, it goes to the inbox and everything is sent as normal.

Held submissions are never deleted by the filter. A real enquiry that looks odd is still there when you check, and you can mark it **Not spam** and [send what was held](https://docs.atomicity.dev/forms/submissions/#send-a-held-submission).

## Why it works this way

A form backend sits between strangers and your client's inbox, so a missed spam message costs a little time, but a lost lead costs real money. Atomicity is built around that asymmetry. No single signal decides, nothing is silently thrown away by default, and the threshold is yours to move. It holds rather than deletes, so being wrong in either direction can be fixed by hand.

Spam is also kept out of billing: held submissions never count toward a site's plan.

## How the score adds up

Each signal adds points, and the total decides. Some examples of what adds points:

- The same message sent again within a day, on this form or another one.
- Many links, or a link in a name field.
- A disposable email domain, or a domain that can't receive mail.
- A filled [hidden trap field](https://docs.atomicity.dev/forms/honeypot-and-captcha/).
- A failed or missing [CAPTCHA](https://docs.atomicity.dev/forms/honeypot-and-captcha/).
- One visitor or one email address posting many times in a short time.
- Common spam phrases, sales pitches, and names that look like keyboard mash.
- A post sent by a script, with no browser behind it, or from a hosting network.
- Text like submissions already marked as spam on the same form.
- The IP address or email appearing on the public StopForumSpam list.

A submission that matches nothing scores 0. Open any submission and look under **Why it scored this** to see which signals it hit.

The filter also learns from each form. Marking submissions as spam on a form teaches it what spam looks like there.

## The threshold

The default threshold is **65**. Set it per form under **Settings → Spam → Threshold**. A lower threshold catches more spam but holds more real submissions by mistake; a higher one lets more through.

With **Spam filtering** turned off, every submission scores 0 and goes to the inbox.

## The AI check

The optional **AI check** is a last step for submissions the other signals can't decide. An AI model reads the submission's text and adds points, enough to settle it when it's confident. Submissions the other signals have already decided are never sent to it.

The AI check is off unless you turn it on. When it's on, the text of undecided submissions is sent to the model. Set **Form type**, or leave it on **Detect automatically**, to help it judge what's normal for the form. New forms take the AI setting from your [agency defaults](https://docs.atomicity.dev/workspace/branding/).

## What a person's mark does

Marking a submission **Mark as spam** or **Not spam** by hand overrides the score. The score is kept for reference, and the detail records who marked it and when. Marking doesn't send or unsend anything on its own: emails and webhooks go out once, when the submission arrives.

## Boundaries

- Spam filtering doesn't refuse posts. Only a [CAPTCHA](https://docs.atomicity.dev/forms/honeypot-and-captcha/) set to reject, or a trap field set to discard, stops a submission from being saved.
- The filter doesn't block domains of the site itself. An address on the site's own domain is treated as normal unless it's sent from a hosting network.
- A spam score isn't a security control. To stop posts from other websites, use the site's [allowed domains](https://docs.atomicity.dev/workspace/sites-and-domains/).
- Test submissions, from `localhost` or a staging copy of the site, are scored like any other.

## See also

- [Honeypot and CAPTCHA](https://docs.atomicity.dev/forms/honeypot-and-captcha/)
- [View and manage submissions](https://docs.atomicity.dev/forms/submissions/)
- [Notifications and auto-reply](https://docs.atomicity.dev/forms/notifications-and-auto-reply/)

Source: https://docs.atomicity.dev/forms/spam/index.mdx
