Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CW-1995] No message_created webhook for auto-reply messages #7206

Closed
ksdfg-navana opened this issue May 29, 2023 · 1 comment
Closed

[CW-1995] No message_created webhook for auto-reply messages #7206

ksdfg-navana opened this issue May 29, 2023 · 1 comment
Labels
investigation This issues needs more work before it can be picked up for development linear Low priority Created by Linear-GitHub Sync

Comments

@ksdfg-navana
Copy link

ksdfg-navana commented May 29, 2023

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.
image

Instead, we sometimes receive the following message_created webhook for the incoming message, which contains the auto-reply message in the messages 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 as request_body) of incoming messages outside of business hours

The same behaviour is observed for the greeting message.

To Reproduce

  1. Setup greeting message and/or business hours for an API channel inbox.
  2. Start a conversation.
  3. Send an initial message.

Expected behavior

We should get a message_created webhook with

  • message_type: outgoing
  • content: {{inbox.out_of_office_message}} or content: {{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

@vishnu-narayanan vishnu-narayanan added investigation This issues needs more work before it can be picked up for development linear labels Jun 2, 2023
@vishnu-narayanan vishnu-narayanan changed the title No message_created webhook for auto-reply messages [CW-1995] No message_created webhook for auto-reply messages Jun 2, 2023
@vishnu-narayanan
Copy link
Member

@tejaswinichile Could you take a look?

@vishnu-narayanan vishnu-narayanan added the Low priority Created by Linear-GitHub Sync label Oct 31, 2023
@vishnu-narayanan vishnu-narayanan closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation This issues needs more work before it can be picked up for development linear Low priority Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

2 participants