> For the complete documentation index, see [llms.txt](https://alhena.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alhena.gitbook.io/docs/dashboard/conversations/blocking-visitors.md).

# Blocking Visitors

Stop abusive or spam visitors and email senders from reaching your AI.

Sometimes a visitor sends spam, abuse, or a stream of messages that waste your AI credits. You can block them from the Conversations page so the AI stops replying to them. You can see everyone you've blocked, and unblock them, on the **Blocked users** page.

## Where You Can Block

You can block visitors from conversations in:

* **Website chat**, **Product FAQs** and **embeddable agents**
* **Email** and **helpdesk tickets**: Alhena Helpdesk email, Zendesk, Freshdesk, Gorgias, Kustomer, Re:amaze, Salesforce Service Cloud and Zoho Desk

## Block a Visitor

1. Go to **Conversations** and open the visitor's conversation.
2. Click the conversation icon at the top of the conversation to open the user details panel.
3. Click the **...** menu next to the visitor's name and choose one of:
   * **Block email**: blocks this visitor and anyone who gives this email address. If the visitor never gave an email, this reads **Block user** and blocks them in the browser they chatted from.
   * **Block IP**: blocks anyone on this IP address. Only shown when Alhena knows the visitor's IP address.
4. Click **Block** to confirm.

A red **Blocked** badge then appears under the visitor's name.

{% hint style="warning" %}
Several people can share an IP address, for example in an office or on a mobile network. Block by email when you can, and use **Block IP** only when blocking by email isn't enough.
{% endhint %}

You need edit access to block or unblock visitors.

## What Happens After a Block

* **Website chat, Product FAQs and embeddable agents**: the AI no longer replies to the blocked visitor.
* **Email and helpdesk tickets**: the AI no longer replies. New tickets from the blocked sender go to your human team instead.

## Manage Blocked Users

To see everyone you've blocked, go to **Settings** and open **Blocked users**. For each block, the list shows:

* **Blocked**: the email address or IP address, with an **Email** or **IP** tag
* **Blocked by**: the team member who blocked it
* **Blocked on**: when it was blocked

Use the **Action** menu on a row to:

* **View conversation**: open the conversation the visitor was blocked from
* **Unblock**: let the visitor message your AI again. Click **Unblock** to confirm.
