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

# AI Moderation

> Learn how AI moderation checks messages in your community and what happens when a rule matches.

> [!NOTE]
>
> AI moderation is available to pilot participants only and is off by default. Contact [Support](mailto:support@tightknit.ai) if you'd like to join the pilot.

AI moderation checks new messages in your community as they arrive. Each [automation rule](#automation-rules) describes what to look for, in a prompt you write or a list of keywords, and AI checks messages against it in the feeds the rule watches. For each AI rule, AI says how sure it is that the message matches. Only admins see those results. Nothing happens to a message until a rule acts on it.

> [!NOTE]
>
> Moderation acts after a message is posted, sometimes called post-send moderation. Members can see a message, and followers can be notified about it, before a rule hides or deletes it. See [When rules act](#when-rules-act).

Message text has personal information removed before it is sent to the model, the same way as other [AI features](https://docs.tightknit.ai/ai/overview.md).

## Where to configure this

In Studio, open **[Moderation](https://studio.tightknit.ai/-/moderation/automations)** under **Engagement** in the sidebar. It opens on **Automations**, which holds the on/off switch and your rules. **[Simulator](https://studio.tightknit.ai/-/moderation/simulator)**, also under Moderation, tests a message against your rules.

Admins can always open these pages. To let someone else manage moderation, give them the **Moderation Manager** [role](https://docs.tightknit.ai/studio/access.md#roles). A Moderation Manager can change moderation settings and rules, but adding **Delete message** requires a Studio admin with the Slack permission it needs. While a rule acts as another admin, only that admin can change what it matches, its feeds, or when it acts.

Give a user the **Moderator** [role](https://docs.tightknit.ai/studio/access.md#roles) if they should only review and act on items in the [review queue](#review-flagged-messages). Moderators can't change your moderation rules or settings.

## Turn AI moderation on or off

The switch at the top of **[Automations](https://studio.tightknit.ai/-/moderation/automations)** turns AI moderation on or off for the whole community.

* **On:** new messages are checked as they arrive, and your rules run. Turning it on never re-checks older messages, and adds no rules: you choose what to catch.
* **Off:** no message is checked and no rule runs. Rules that are on show as **Paused**. Your rules are kept, and apply again once you turn it back on.

Every change to these settings is recorded in the [audit log](https://studio.tightknit.ai/-/workspace/audit).

## Write what a rule looks for

In the rule editor, the **When** step says what the rule catches:

* **AI prompt:** describe one condition, phrased positively, for example *"The message mentions BrightHub, Loopwise or Kindred by name."* A message that meets it gets a yes. Editing a rule's prompt saves a new version; past results keep the version they were judged on, and older messages aren't re-checked.
* **Keywords:** enter up to **50 words or phrases**, with up to **100 characters** each. Press Enter or comma to add each one. Matching ignores case and uses whole words and phrases. Keyword rules have no confidence threshold.

Each rule has its own prompt or keyword list, so changing one never changes another rule. AI only asks a rule's prompt in the feeds the rule watches, while it's On or Logging only.

### Tokens

A prompt can include tokens, which are filled in when each message is checked. Select **Insert a token** under the prompt to add one where your cursor is, or type it:

| Token | Filled in with |
| - | - |
| `{{channel.name}}` | The name of the channel or feed the message was posted in |
| `{{channel.topic}}` | The Slack channel's topic |
| `{{channel.description}}` | The Slack channel's description |
| `{{community_guidelines}}` | The text of your [community guidelines](https://docs.tightknit.ai/moderation/community-guidelines.md) |

A token with nothing to fill in, such as the topic of a channel that doesn't have one, is left empty. The editor points out a token it doesn't know, such as a typo, and the rule can't be saved until it's fixed.

* **Channel tokens** work on posts and replies. Channel names, topics and descriptions are quoted when they're filled in, and AI is told to follow no instructions in them. AI reads them as they are now, so editing a topic in Slack changes how new messages are judged without re-checking older ones. A feed with no Slack topic or description, including a community site feed with no Slack channel, is judged by its name only. That's less accurate, so the rule editor points those feeds out.
* **`{{community_guidelines}}`** needs your guidelines to have text. If they're only a link to another page, AI has nothing to check messages against, so the rule can't run until a Studio admin adds the text under **Moderation > [Community Guidelines](https://studio.tightknit.ai/-/moderation/community-guidelines)**.

Any member who can post in a Slack channel can usually change its topic and description, so the rule editor asks you to confirm before you save a rule that uses a channel's topic or description and deletes messages. If a rule deletes, have a [channel manager](https://slack.com/help/articles/8328303095443) restrict who can edit the topic and description of each channel it watches.

### Use a template

Select **Use template** next to **Prompt** to start from one of Tightknit's prompts. Pick a template to preview the prompt it asks, then select **Import** to copy it into the rule, where you can edit it. An unnamed rule takes the template's name.

| Template | A rule starts at | What it looks for |
| - | - | - |
| Spam | 0.80 | Content posted mainly to promote, sell or redirect rather than to take part, such as ads, crypto schemes or copy-pasted promotions |
| Code of conduct violation | 0.85 | Messages that break your [community guidelines](https://docs.tightknit.ai/moderation/community-guidelines.md) |
| Off-topic | 0.85 | Posts that don't fit the channel they were posted in, judged against its name, topic and description |

There are also templates for job posts, self-promotion, personal information, frustrated members, bug reports, feature requests and questions for your team.

The Code of conduct violation template uses `{{community_guidelines}}`, and Off-topic uses the channel tokens. A rule from Off-topic starts on posts only, in the feeds and channels you pick.

Rules that used the Code of conduct violation or Off-topic built-ins before tokens were added now use these template prompts instead, so you can edit them. Their earlier scores aren't kept. Saved AI criteria that no rule used were archived, since each rule now has its own prompt.

### Thresholds

A threshold is how sure AI must be before a rule acts, from 0.05 to 1. A threshold of 0.85 means 85% sure. A higher threshold catches fewer messages and makes fewer mistakes.

Each [automation rule](#automation-rules) sets its own threshold, so one spam rule can flag at 0.80 while another deletes at 0.95. A score alone never puts a message in the [review queue](#review-flagged-messages): only a rule with **Flag for review**, **Hold for review on community site** or **Delete message** does.

## Test a message in the Simulator

To see what AI moderation would do before you add or turn on a rule, open **Moderation > [Simulator](https://studio.tightknit.ai/-/moderation/simulator)**, or select **Test rules** on **[Automations](https://studio.tightknit.ai/-/moderation/automations)**.

* **Write a message**: type the text, pick the channel it's posted in and whether it's a post or a reply. Nothing is saved, and no one is notified.
* **Use a real message**: paste a Slack message link or a post URL from your community site. The results also show whether the message was already checked with the current settings, and what a re-run would change.

Rules that are turned off are checked too when **Check against all tagging, criterion, and moderation rules, even if they're turned off** is on. They're marked **Disabled**. A rule that's on but can't run because AI moderation is off is marked **Paused**.

The results list each rule with how sure AI was against the rule's threshold, or the keywords it matched, and draw a line from each rule to its actions, with what was used at the top. Each action says whether it **Would happen**, **Wouldn't happen**, or would happen **Only if** a disabled rule is turned on. When an action has its own threshold, a mark on its line shows where; if the score falls short, the line stops there. Hover over or select a card to highlight its lines, and select a rule's name to open it.

A rule's outcome is one of:

* **Triggered**: its condition matched, so its actions would run.
* **Logging only**: it matched, but it only records a match.
* **Near miss** or **No match**: it watches the message's feed, but its condition didn't match.
* **Out of scope**: it doesn't include the message's feed or its type (post or reply).

The Simulator is for Admins and Moderation Managers. To test [AI tagging](https://docs.tightknit.ai/tags/getting-started.md#testing-ai-auto-tagging), use **Evaluate a message** under Tag Groups.

For a real message, **Re-run on this message** checks it again with the current settings and applies the result, running your rules. A re-run only runs what you're allowed to test and is recorded in the audit log. You can run about 30 tests a minute.

## Automation rules

A community can create up to 10 rules, shared between AI and keyword rules. A built-in Spam posts rule from before they were retired doesn't count toward this limit. Rules that are off or logging only still count; delete a custom rule to free a slot. Studio shows the usage above the rules table.

A rule decides what happens when its prompt or keywords match. Open **[Automations](https://studio.tightknit.ai/-/moderation/automations)** to see every rule, what it looks for, how often it matched in the last 7 days, and a switch for each. **[New rule](https://studio.tightknit.ai/-/moderation/automations/new)** opens the rule editor, where **Use template** fills in the prompt from one of [Tightknit's templates](#use-a-template).

Each rule has three steps:

* **When:** an [AI prompt](#write-what-a-rule-looks-for) at a threshold you choose, or a list of keywords.
* **Where:** all messages, posts only or replies only, across all feeds or the feeds you pick. Posts are top-level messages; replies include comments at any depth. Existing rules start with **All messages**. Off-topic only checks posts. A rule checks only messages Tightknit stores: a Slack channel's feed needs **Message storage** turned on, and a community site feed keeps every post. Click the number next to **All feeds/channels** to see which feeds that covers.
* **Then:** one or more actions: **Add tags**, **Flag for review**, **Hold for review on community site** (see [Hold for review](#hold-for-review)), **Alert a channel** (a private channel or the Tightknit Hub), **Direct message the author**, **Reply privately to the author** and **Delete message**. **Direct message the author** and **Reply privately to the author** only reach members in Slack, and a rule can have one or the other, not both.

![Spam posts rule editor showing the When confidence threshold, Where feed selection and Then Flag for review action, alongside the rule's on and logging-only switches.](https://mintcdn.com/tightknit/aFttMLhiekz84QeK/assets/moderation/ai-moderation-rule-editor.png?fit=max\&auto=format\&n=aFttMLhiekz84QeK\&q=85\&s=d9a4ddb22336308665d6dc6928faffbe)

A spam rule that flags messages at 80% confidence across all feeds and channels that store new messages.

While you write a rule, the preview checks it against the last 500 messages in its feeds, using results already stored, so you can see what it would have caught before you turn it on. The preview doesn't count messages its prompt wasn't asked about, so for a new prompt it fills in as new messages arrive after you save it.

A new rule starts as **Logging only for 7 days**: it records what it would have done without doing it. You can also save it **Off** as a draft, or turn it straight **On**.

### When rules act

Rules act after a message is posted, not before. A message is checked as soon as it arrives, but by the time a rule hides or deletes it, some of this may already have happened:

* Members read it in Slack or on your community site.
* Followers of the post, feed or channel were notified about it.
* Members it mentions got a Slack mention or a push notification.
* A post made on your community site was copied to its Slack channel.

Notifications that were already sent can't be recalled, even when a rule deletes the message. For the fastest response on a message you're sure about, use a high threshold with **Delete message**, and use **Hold for review on community site** or **Flag for review** when a person should decide.

### When several rules match the same message

Every rule that matches a message acts on it. There's no rule order, and one rule matching doesn't stop the others. Their actions are combined so that nothing happens twice:

* **Add tags:** the message gets every tag the matching rules add.
* **Flag for review:** the message appears in the review queue once, listing every rule that flagged it.
* **Hold for review on community site:** the message is held once.
* **Alert a channel:** each channel gets one alert, naming every rule that matched. If another rule matches later, for example after the message is edited, it's added to the alert already in the channel instead of posting a new one. Rules that alert different channels each post to their own channel.
* **Delete message:** the message is deleted once. Alerts go out before the delete, and say that the message is being deleted.
* **Direct message the author:** the author gets one direct message per message, from one of the matching rules, even if several rules include this action. It's sent last, so it can say whether the message was deleted.
* **Reply privately to the author:** a message only the author sees, posted under their Slack message: in the channel for a post, or in the thread for a reply, even after the message is deleted. It's sent as the Tightknit app or as the admin who set it up. The author gets one private reply or direct message per message across all matching rules. It's only for messages posted in Slack, and only reaches authors who are still in the channel. Slack doesn't keep it once they reload Slack, so say anything they need to keep in a **Direct message the author** message instead.

A rule that's **Logging only** records what it would have done without acting, so it doesn't add to what the other rules do.

### Hold for review

**Hold for review on community site** hides a message from your community site until a moderator reviews it, and adds it to the [review queue](#review-flagged-messages). Its author can still see it on the site, marked **Pending review**. What else happens depends on where it was posted:

* **Posted on your community site:** it's hidden on the site and in Slack. In Slack, the post is replaced with a note that it's under review, and its thread and reactions are kept. Replies to a held post are hidden with it.
* **Posted in Slack:** it's hidden on the site only. Slack doesn't let apps edit other people's messages, so it stays in Slack. Use **Delete message** to remove it there.

A held message stays hidden until a moderator chooses **Approve**, which puts it back, or **Remove from site**, which keeps it hidden and closes the review. A message that wasn't public on the site when it was held stays off the site after **Approve**. If Tightknit can't replace a site post's copy in Slack, the review queue tells you to check Slack.

### The Spam posts rule

Tightknit no longer adds a rule when you turn AI moderation on. Communities that turned it on earlier have a built-in **Spam posts** rule, marked **Built-in** on Automations. You can change its threshold, feeds, actions and state, or turn it off, but not its prompt. To catch spam in a new rule, use the **Spam** [template](#use-a-template).

> [!WARNING]
>
> **Delete message** acts as you in Slack, so only a Studio admin who is a Slack workspace owner or admin can add it. Its **Delete as** picker shows who it deletes as. On a rule another admin set up, you can switch it to yourself; only they can change its other settings while it acts as them. We recommend a threshold of 80% or higher, and starting the rule as logging only.

## Review flagged messages

**[Review queue](https://studio.tightknit.ai/-/moderation/review)** lists every message that needs a person's decision: messages a rule flagged with **Flag for review**, and messages members reported. Open it from the top of the Moderation page or from **Automations**.

A message a rule deletes with **Delete message** goes to **Resolved** once it's deleted, with what the rule did, so every automatic delete has a record. If the delete fails, the message stays under **Needs review** with what went wrong. Each message shows why it's there (the rules that flagged it and the members who reported it), and under **AI scores**, each prompt that scored it 50% or more, with its version and score. It also shows the guidelines version for code of conduct and what rules already did to it.

Admins, Moderation Managers and Moderators can all use the review queue.

![A spam message in the review queue with the rule that flagged it, its AI spam score, a channel alert in its activity, and buttons to dismiss, hold, message the author, deactivate or delete.](https://mintcdn.com/tightknit/aFttMLhiekz84QeK/assets/moderation/ai-moderation-review-queue.png?fit=max\&auto=format\&n=aFttMLhiekz84QeK\&q=85\&s=6c5cc3628f7ffa39efe0c547c37a5603)

A flagged message shows the matching rule, AI scores, earlier actions and the actions a moderator can take.

For each message you can:

* **Delete message**: deletes it in Slack with your own Slack account, and from your community site. The first time, Studio asks you to connect your Slack account so Tightknit can delete on your behalf. You can't delete a post with replies until its replies are removed. Deleting can't be undone, and notifications already sent about the message can't be recalled.
* **Hold for review**: hides it from your community site while you decide, as the [Hold for review](#hold-for-review) action does. The message stays in the queue.
* **Message the author**: sends them a Slack direct message from the Tightknit app. The message stays in the queue.
* **Deactivate user**: walks you through deactivating them on Slack's own member management page, since Slack only lets admins and owners deactivate members there.
* **Dismiss**: closes the review and leaves the message as it is. If the author edits it, AI checks it again.

A held message shows **Held for review**, where it's hidden, and how long it was visible before it was hidden. Instead of **Dismiss**, it offers:

* **Approve**: puts it back on your community site, and in Slack for a post made on the site, and closes the review.
* **Remove from site**: keeps it off your community site and closes the review. For a post made on the site, its copy in Slack is deleted. The message itself is kept, unlike **Delete message**.

> [!NOTE]
>
> Slack only lets workspace admins and owners delete other people's messages. If a Moderator who isn't a Slack workspace admin or owner tries to delete a message, Studio explains why it failed and the message stays in the queue for someone who can delete it.

When a review item exists, **Open in review queue** links in Tightknit Hub notifications open it at the top of the queue. **View in Studio** opens the related Studio page, which may be the review item, member page or discussion. If someone has already handled a linked review, it shows as **Already reviewed**.

Tightknit records every action in the audit log. If one fails, the message shows what went wrong and what to do about it. Messages you dismissed, approved, removed or deleted move to **Resolved**.

### Member reports from Slack

Members can report a message in Slack: hover over it, open **More actions**, and choose **Report message**. They can pick a reason (spam, harassment, offensive material, scam or other) and add a note. Moderators can see who reported it. If a report can't be submitted, Tightknit shows the member their note again so they can retry or pass it to a moderator. Reports on the same message add up in one item in the review queue, and each new reporter is posted to your Tightknit Hub channel.

> [!NOTE]
>
> A report on a channel message can only reach the review queue when Tightknit stores the message. Turn on **Message storage** for the channel's feed in Studio: open **[Feeds](https://studio.tightknit.ai/-/feeds)**, choose the feed and edit its **Behavior** settings. When a member reports a message Tightknit doesn't store, your Tightknit Hub channel gets a warning with a link to the message instead. If you've turned off the **Message reported** notification, Tightknit warns nobody and asks the member to contact a moderator directly.

If your plan doesn't include moderation, the shortcut tells members that reporting isn't available yet. Members are pointed to a community admin, and Slack admins to Support. Tightknit doesn't record the report. Your Tightknit Hub channel gets a notice that a member tried to report a message, with a button to upgrade, at most once an hour. The notice leaves out the message, its author, its channel and who reported it.

#### Reported direct messages

Members can also use **Report message** on a direct message or group DM. Tightknit doesn't store DMs, so moderators see who sent it, the reason and the note. When the modal offers **Share this message's text with moderators**, it's ticked by default, and moderators also see the text the member shared. A report on a DM from an app, which has no member as its sender, gets the same Tightknit Hub warning as a message Tightknit doesn't store.

In the review queue, DM reports about the same sender are grouped in one item. There's nothing to hold or delete, so the item offers only:

* **Mark reviewed**: closes the review and moves it to **Resolved**.
* **Message the sender**: sends them a Slack direct message from the Tightknit app.
* **View member**: opens the sender's member page in Studio, when they have one.
* **Deactivate in Slack**: walks you through deactivating them on Slack's own member management page.

### Member reports from the community site

Signed-in members can report someone else's post or comment on your community site: open its **⋯** menu and choose **Report**. They can pick a reason and add a note for moderators, both optional, and moderators can see who reported it. Reporting the same post or comment again updates the member's earlier report. Site reports go to the same review queue item and Tightknit Hub notification as reports from Slack.

## A member's moderation history

To see everything moderation has done to one member's messages, open them in **[Members](https://studio.tightknit.ai/-/members)** and choose the **Moderation** tab. It lists each of their messages that a rule or a moderator acted on, most recent first, including messages a rule deleted on its own. Each one shows where it was posted, whether it was deleted, and what was done to it, by which rule or person. Matches from a rule that's logging only aren't listed, since nothing happened to the message.

The tab also has a **Review queue** section with what's in review about the member. **Needs review** and **Reviewed** list their flagged messages and the direct messages other members reported them for, including who reported, why and what text they shared. Each entry links to its item in the review queue.

Seeing it takes both access to member pages and access to the review queue. Admins have both; a Moderation Manager or Moderator also needs a role that can open **Members**.


## Related topics

- [Getting Started with Moderation](https://docs.tightknit.ai/moderation/getting-started.md)
- [MCP Server](https://docs.tightknit.ai/integrations/mcp.md)
- [Getting Started with Tags](https://docs.tightknit.ai/tags/getting-started.md)
- [Community Guidelines](https://docs.tightknit.ai/moderation/community-guidelines.md)
- [Access the Studio](https://docs.tightknit.ai/studio/access.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.