Поддержка из личного аккаунта MAX: худшее, что можно сделать с клиентом. Бот в Chatwoot за час
- Words
- 58
- Chars
- 343
- AI summary
- Yes
Support from a personal MAX account is framed as the worst thing you can do to a client, and the piece describes a bot in Chatwoot built in an hour. Clients write to the MAX bot while operators answer from Chatwoot on their own server, with a Python bridge connecting the two. The setup ran into problems: Chatwoot does not send webhooks to the internal network, the MAX API works on a certificate from the Ministry of Digital Development, and the same reply can reach the client twice. The article then explains how the bridge is built and what decisions were made.
Клиенты пишут в бота MAX, операторы отвечают из Chatwoot на своём сервере, а между ними мост на Python. По дороге выяснилось, что Chatwoot не шлёт вебхуки во внутреннюю сеть, API MAX работает на сертификате Минцифры, а один и тот же ответ норовит уйти клиенту дважды. Ниже о том, как устроен мост и какие решения пришлось принять. Читать далее
Open article