Chatwoot — Chatwoot is our customer support platform. We use it to manage chat inboxes and integrate smart chatbots. ⬆ índice
Chatwoot and Chatbots
Chatwoot is our customer support platform. We use it to manage chat inboxes and integrate smart chatbots.
Chatbot Setup in Chatwoot
To create a virtual agent (chatbot) in Chatwoot:
- Navigate to the Chatbots menu.
- Click Create Chatbot.
- Fill in: Name and Webhook URL.
- Copy the generated API Key.
Setup in the Aitha Chat Portal (Admin)
The bot must be configured in our Admin Portal to link it with the AI:
- Open Portal Admin.
- Go to the Chatbot section.
- Configure the chatbot by pasting the Chatwoot API Key.
- Select the language model (LLM) the bot will use.
Assign the Bot to an Inbox
Enable the bot on a specific channel:
- Go to Settings -> Inboxes.
- Select the channel (Web Chat, WhatsApp, etc.).
- In the Chatbot tab, select the created bot.
Customer Support Options
Customize the experience per Inbox:
- Surveys: Configure feedback after conversations.
- Handoff: Control when a human takes over if the bot cannot help.
- Automatic replies: Predefined messages to speed up support.
- Assignments: Rules to route chats to specific teams.
Self-hosted Portal integration notes
This repository uses a custom Chatwoot image for Portal integration.
Important behaviors:
- the public Chatwoot host is intended to be embeddable from the Portal
- the Portal uses Chatwoot Platform API SSO for the customer service iframe
- for self-hosted/non-enterprise builds, this repo also patches a fallback route for
GET /enterprise/api/v1/accounts/:id/limits
Why this matters:
- some Chatwoot frontend screens still call the enterprise
limitsendpoint even on self-hosted deployments - if the fallback route is missing from the running image, the UI can fail with
404or401on/enterprise/api/v1/accounts/:id/limits
Verification after a Chatwoot release:
curl -skI https://cs.<domain>/
curl -sk https://cs.<domain>/enterprise/api/v1/accounts/1/limits
Expected result for the fallback route in self-hosted mode:
- HTTP
200 - JSON body with
plan_name,limits,usage, andfeatures
If the public host still answers with login/redirect/401/404, the running image does not include the patched route yet.
Official documentation
For advanced Chatwoot topics: https://developers.chatwoot.com/introduction
[!TIP] You can organize agents into Teams to better manage inbox workload.