chatwoot / chatwoot

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
https://www.chatwoot.com/help-center
Other
18.82k stars 2.99k forks source link

Automation: chatwoot sending automation for conversations started by agents #9224

Open raffus opened 1 month ago

raffus commented 1 month ago

Describe the bug

Chatwoot is sending automation messages for conversations started by agents. I suggest adding a new condition: started by (agent, customer) to solve this. After more testing, I noticed that only chatwoot tries to send the message but it fails because of Meta's message window policy, that only allow custom message after the messaging window is opened.

To Reproduce

Create an automation with status (open, pending) and start a new conversation with whatsapp number.

Expected behavior

Automation messages should not be sent when conversation is started by agent.

Environment

Other [please specify in the description]

Cloud Provider

Other [please specify in the description]

Platform

Browser

Operating system

Ubuntu

Browser and version

Chrome

Docker (if applicable)

No response

Additional context

No response

linear[bot] commented 1 month ago

PR-1031 Automation: chatwoot sending automation for conversations started by agents