iachat/app
Pranav Raj S b7c9f779ad
fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages (#8780)
Currently, we do not support reactions, ephemeral messages, or the request_welcome event for the WhatsApp channel. However, if this is the first event we receive in Chatwoot (i.e., there is no previous conversation or contact in Chatwoot), it will create a contact and a conversation without any messages. This confuses our customer, as it may appear that Chatwoot has missed some messages. There are multiple cases where this might be the first event we receive in Chatwoot. One quick example is when the user has sent an outbound campaign from another tool and their customers reacted to the message.

Another event like this is request_welcome event. WhatsApp has a concept for welcome messages. You can send an outbound message even though the user has not send a message. You can receive notifications through a webhook whenever a WhatsApp user initiates a chat with you for the first time. (Read the Welcome message section: https://developers.facebook.com/docs/whatsapp/cloud-api/phone-numbers/conversational-components/ ). Although this can help the business send a pro-active message to the user, we don't have it scoped in our feature set. For now, I'm ignoring this event.

Fixes https://linear.app/chatwoot/issue/CW-3018/whatsapp-handle-request-welcome-case-properly
Fixes https://linear.app/chatwoot/issue/CW-3017/whatsapp-handle-reactions-properly
2024-01-25 11:40:18 +04:00
..
actions fix: Migrate notes when merging the contacts (#8749) 2024-01-20 10:32:18 +04:00
assets feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
builders feat: use short_summary for downloading reports [CW-2962] (#8733) 2024-01-18 16:06:13 +05:30
channels chore: Sentry issues (#4623) 2022-05-06 14:50:55 +05:30
controllers feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
dashboards feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
dispatchers Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
drops feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
fields feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
finders chore: Get all notification API improvments (#8549) 2024-01-17 09:02:18 +05:30
helpers refactor: remove exception tracker (#8737) 2024-01-18 17:49:27 +05:30
javascript feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
jobs fix: mutex timeout and error handling (#8770) 2024-01-24 14:18:21 +04:00
listeners chore: Get all notification API improvments (#8549) 2024-01-17 09:02:18 +05:30
mailboxes chore: Update the error message to the correct one (#8646) 2024-01-11 17:38:38 -08:00
mailers fix: Handle Contact import MalformedCSVError (#8706) 2024-01-18 13:05:58 +05:30
models fix: Add last_activity_at to notification push event data (#8784) 2024-01-25 12:05:00 +05:30
policies feat: trigger handoff when agent bot is the actor (#8639) 2024-01-05 15:26:52 -08:00
presenters feat: Add inbox webhook events (#8006) 2023-09-28 15:28:10 -07:00
services fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages (#8780) 2024-01-25 11:40:18 +04:00
views feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
workers fix: Update auto reply and hide reply time for email inbox (#3985) 2022-02-15 17:11:28 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30