Chatwoot bot integrations
Chatwoot connection for one channel bot registered in
ai_chat_s/bots/config.py — see ai_chat_s/README_BOT_BUILDER.md. One row
per (name, company), same "Settings > Integrations" pattern already used
for payment gateways (app_s/billing_s/payment_methods/models.py's
PaymentMethodAccount) — kept as its own model instead of reusing that one
because it isn't a payment method (no FK to PaymentMethod, no
register_payment_methods entry). `name` is `ai_chat_s.bots.` —
matches config.get_bot()'s key so a bot's credentials are looked up the
same way its code config is.
| Field | Description |
|---|---|
| Integration name | Descriptive label for this Chatwoot channel (e.g. "WhatsApp ventas"). Legacy bots still look up "ai_chat_s.bots. |
| Chatwoot account ID | Account number visible in the Chatwoot URL: crm.goujana.co/app/accounts/ |
| Chatwoot inbox ID | ID of the WhatsApp inbox the bot listens to, visible in the Chatwoot URL under Settings > Inboxes (.../settings/inboxes/ |
| Chatwoot API key | Access Token of the Chatwoot agent the bot replies as — copy it from that agent's Profile Settings > Access Token in Chatwoot. Stored encrypted. |
| Chatwoot API URL | Base URL of the Chatwoot API. Keep the default unless the CRM moves. |
| Webhook secret | Path secret the Chatwoot webhook URL must contain — see ai_chat_s/bots/security.py |
| Test mode allowed numbers | Comma-separated phone digits (e.g. 573215684323). While set, the bot only ever replies to these contacts — every other contact on the inbox is untouched. Empty means no restriction; clear this only for a real go-live decision. |
| AI agent | The AI agent this Chatwoot connection belongs to. |
Chatwoot bot integrations It has the following related modules and may be of interest to you:
Déjanos tus comentarios