waha icon indicating copy to clipboard operation
waha copied to clipboard

[Request] Chatwoot: Toggle error messages in conversations

Open mxyzt opened this issue 3 months ago • 18 comments

Image

Good afternoon, friends. It would be useful if these “message retries” did not appear in all conversations, but only in the conversation created with Waha. The reason is that the end customer sees these messages with a yellow background and a link, and does not understand what they mean (and gets scared).

Perhaps it would even be better if these messages could be disabled.

patron:PRO

mxyzt avatar Sep 23 '25 18:09 mxyzt

One idea would be for them to arrive at the whatsapp.integration contact or have an option to activate or deactivate it in the Chatwoot app settings.

patron:PRO

bergpinheiro avatar Sep 23 '25 18:09 bergpinheiro

+1

patron:PRO

paulobautz avatar Sep 23 '25 20:09 paulobautz

+1

patron:PLUS

rafwell avatar Sep 23 '25 21:09 rafwell

The main purpose of error events in the agent chat (user side) is to indicate that something went wrong and that the user may need to resend the message. We agreed that if retries succeed, we could avoid sending the “failed/success” pair, or alternatively route all errors to the integration contact 🤔

patron:PRO

devlikepro avatar Sep 24 '25 08:09 devlikepro

@devlikepro the feedback about the health of integration of Waha is awesome, totally. But the customers going pained when they see an warning message. It will be very usefull if waha notified only if they cant resolve by itself. So, only on the latest try, if it fails.

patron:PLUS

rafwell avatar Sep 26 '25 20:09 rafwell

+1

patron:PLUS

RDRdigitalFloripa avatar Sep 29 '25 12:09 RDRdigitalFloripa

+1

patron:PLUS

johnhenderson avatar Sep 29 '25 12:09 johnhenderson

+1

hereck avatar Sep 29 '25 12:09 hereck

+1

mcabral2510 avatar Oct 01 '25 19:10 mcabral2510

+1

patron:PLUS

jayveloper avatar Oct 01 '25 23:10 jayveloper

+1

patron:PLUS

jayveloper avatar Oct 04 '25 11:10 jayveloper

+1

MrDandi79 avatar Oct 06 '25 10:10 MrDandi79

(с) @gkp1

Edit : if you're a donator WAHA user and would like this feature, please leave a +1 in comments so the dev can decide to prioritise this feat or not.

Is your feature request related to a problem? Please describe.

I feel like waha exposes too many technical details and error logs to the end user, making the whatsapp integration feel janky/unstable to the end user even though it's an honestly awesome library 😅. For example ack errors don't affect usability but they spam conversations. File sending sometimes logs 2 retries which takes the whole user screen space and honestly I'd rather they not see that if the send succeeded anyway. I'd like to inform only if in fact the sending failed.

I would prefer / be more comfortable if we could have a few configurations regarding error messages being logged inside chatwoot conversations.

A simple toggle would be enough for me. But I'll later suggest more detailed settings that I would like to have, in case customers require a different level of "transparency" regarding message retries and errors.

I will also try to write a quick PR for this but it might take some days since I don't know the core project very deeply.

A clear and concise description of what the problem is. Ex.

Describe the solution you'd like

Option 1: Quicker solution

(easier/quicker to implement)

  1. Simple toggle in Chatwoot App options : [ ] Log message retries inside conversations (if enabled, automatically enables the setting below) [ ] Log error only if 3 retries fail (ideal imo)

Opt. 2: extra settings to implement later

  • These settings would maintain transparency but allow us to limit info shown (show the user that msg sending failed and is being retries, but log less technical info and no url)
  • Maybe customize the err messages ourselves, or just enable in checkboxes which informations should be shown
  • To add here later or in PR, not a huge priority

Another suggestion would be to Log file sending retries in a single line to use less vertical space in conversation

patron:PLUS

patron:PRO

devlikepro avatar Oct 14 '25 07:10 devlikepro

Portuguese


Title:

(с) @gkp1

Editar: se você é um usuário doador WAHA e gostaria desse recurso, deixe um +1 nos comentários para que o desenvolvedor possa decidir priorizar esse talento ou não.

Sua solicitação de recurso está relacionada a um problema? Por favor descreva.

Eu sinto que waha expõe muitos detalhes técnicos e logs de erros para o usuário final, fazendo com que a integração do Whatsapp pareça desajeitada/instável para o usuário final, mesmo sendo uma biblioteca honestamente incrível 😅. Por exemplo, erros de confirmação não afetam a usabilidade, mas enviam spam para conversas. O envio de arquivos às vezes registra 2 tentativas, o que ocupa todo o espaço da tela do usuário e, honestamente, prefiro que eles não vejam isso se o envio for bem-sucedido de qualquer maneira. Gostaria de informar apenas se de fato o envio falhou.

Eu preferiria/ficaria mais confortável se pudéssemos ter algumas configurações em relação às mensagens de erro registradas nas conversas do chatwoot.

Uma simples alternância seria suficiente para mim. Mas mais tarde sugerirei configurações mais detalhadas que gostaria de ter, caso os clientes exijam um nível diferente de "transparência" em relação a novas tentativas e erros de mensagens.

Também tentarei escrever um PR rápido para isso, mas pode levar alguns dias, pois não conheço profundamente o projeto principal.

Uma descrição clara e concisa de qual é o problema. Ex.

Descreva a solução que você deseja

Opção 1: solução mais rápida

(mais fácil/mais rápido de implementar)

  1. Alternância simples nas opções do aplicativo Chatwoot: [] Registrar novas tentativas de mensagem dentro de conversas (se ativado, ativa automaticamente a configuração abaixo) [] Registrar erro somente se 3 tentativas falharem (ideal imo)

Opção. 2: configurações extras para implementar posteriormente

  • Essas configurações manteriam a transparência, mas nos permitiriam limitar as informações mostradas (mostrar ao usuário que o envio da mensagem falhou e está sendo repetido, mas registrar menos informações técnicas e nenhum URL)
  • Talvez você mesmo personalize as mensagens de erro, ou apenas ative nas caixas de seleção quais informações devem ser mostradas
  • Para adicionar aqui mais tarde ou no PR, não é uma grande prioridade

Outra sugestão seria registrar novas tentativas de envio de arquivos em uma única linha para usar menos espaço vertical na conversa

patron:PLUS

github-actions[bot] avatar Oct 14 '25 07:10 github-actions[bot]

2025.10.2 - No retries/success messages - temp fix - #1395

patron:PRO

devlikepro avatar Oct 14 '25 08:10 devlikepro

+1

patron:PLUS

RDRdigitalFloripa avatar Oct 14 '25 12:10 RDRdigitalFloripa

+1

patron:PLUS

OrionZap avatar Oct 14 '25 20:10 OrionZap

+1

patron:PLUS

jptorresagnello avatar Oct 23 '25 02:10 jptorresagnello