[CW-1995] No message_created webhook for auto-reply messages #7206
Labels
investigation
This issues needs more work before it can be picked up for development
linear
Low priority
Created by Linear-GitHub Sync
Describe the bug
We have enabled auto-reply messages for greeting and business hours for an API channel. However, we receive no
message_created
webhooks any of the messages even though the messages show up in the chat for the agent.Instead, we sometimes receive the following
message_created
webhook for the incoming message, which contains the auto-reply message in themessages
field. This behaviour is not consistent, and we sometimes receive the incoming message webhook with just the incoming message details. Please check the logs below for the webhook payloads (logged asrequest_body
) of incoming messages outside of business hoursThe same behaviour is observed for the greeting message.
To Reproduce
Expected behavior
We should get a
message_created
webhook withmessage_type: outgoing
content: {{inbox.out_of_office_message}}
orcontent: {{inbox.greeting_message}}
Environment
Kubernetes
Cloud Provider
Azure
Platform
None
Operating system
No response
Browser and version
No response
Docker (if applicable)
No response
Additional context
No response
CW-1995
The text was updated successfully, but these errors were encountered: