# Assigning to Channels

Deploy your chatbot on specific messaging channels

Once your chatbot is configured and has a knowledge base, attach it to channels so it can respond to incoming messages.

## How channel assignment works

Each chatbot can be attached to one or more channels. When a message arrives on an attached channel, the bot processes it and generates a response based on its knowledge base and instructions.

## Attaching a bot to a channel

1. Go to **AI Agents → [Your Bot] → Channels & Tools**
2. In **Channel Attachments**, click **Attach Channel**
3. Select the channel and click **Attach Channel**
4. Toggle each attached channel between **Enabled** and **Disabled** as needed; use **Detach** to remove it

Each attached channel shows its priority. When more than one bot is attached to the same channel, only one replies — the enabled one with the lowest priority number. A new attachment gets priority 0, and priority can't be changed in the app, so attach only one agent to each channel to know which one answers.

An agent only replies while it is switched **Active** in its page header and its attachment is **Enabled**. For other cases where the agent stays silent — a person has taken over the chat, or the message arrives outside business hours — see [Persona and Behaviour](/en/chatbots/persona-and-behaviour#when-the-agent-stays-silent).

## Human handoff

Handoff to a human is configured per bot in the **Handoff & Routing** tab rather than per channel (see [Handoff and Routing](/en/chatbots/handoff-and-routing) for every option). Under **Escalation** you can:

- Turn on **Auto-escalate Negative Sentiment** and set an **Escalation Threshold**, so the bot hands the conversation to your team when a customer's sentiment turns negative
- Turn on **Auto-handoff to Human**, so the bot releases the chat when it can't handle it and notifies the assigned user (or the owner)
- Describe situations that always need a human in **Handoff Rules**, and set **Handoff After N Failed Answers**

For rule-based handoff outside the bot (for example, take over or notify an agent under specific conditions), build a flow in [Automations](/en/automations/overview) using the **Take Over**, **Notify Agent**, and **Return to Bot** nodes.

## Next steps

- [Testing and Analytics](/en/chatbots/testing-and-analytics) — Try the agent before attaching it
- [Handoff and Routing](/en/chatbots/handoff-and-routing) — When the agent hands off to your team
- [AI Chatbots Overview](/en/chatbots/overview) — Chatbot fundamentals
- [Inbox Overview](/en/inbox/overview) — Managing conversations alongside bots
