Feature request — Control over reopening conversations in Chatwoot #1213
Closed
rquero-dev
started this conversation in
Ideas
Replies: 3 comments
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
We are currently collecting feedback on the ChatWoot integration and will fix bugs and add features in the next iteration once we have a better understanding of what users are using! You can track all requests by the label: Let's see how many |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
🧩 Apps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
When using WAHA’s Chatwoot app, every incoming message automatically reopens the last conversation for that contact, even if it has been closed. In many scenarios that’s desirable, but in others the correct behavior is to open a new conversation (e.g., new order, new ticket, change of topic/team, metrics and SLAs per conversation).
Problem
There’s no fine-grained control in WAHA over the reopen behavior. Today the default is to always reopen, which:
Proposal
Add a configurable policy for the WAHA Chatwoot app to decide whether, upon receiving a message from a contact whose last conversation is closed, WAHA should reopen it or create a new one.
Suggested configuration (backward-compatible: default = current “reopen”):
WAHA_APPS_CHATWOOT_CONVERSATION_POLICYreopen(current default) — always reopen the last closed conversation;new— never reopen; always create a new conversation;auto— reopen only if the conversation was closed recently.WAHA_APPS_CHATWOOT_CONVERSATION_TTL_MIN(integer minutes). Used whenpolicy=auto.Example:
120→ reopen if the last conversation was closed ≤ 120 minutes ago; otherwise, create a new one.(Optional)
WAHA_APPS_CHATWOOT_RESPECT_INBOX_LOCK=true|falseIf
true, follow Chatwoot’s behavior when the Inbox has Lock to single conversation enabled; iffalse, WAHA’s policy takes precedence.Scope / Acceptance criteria
policy=new, incoming messages do not reopen closed conversations; a new conversation is created.policy=reopen, incoming messages always reopen the last conversation (current behavior).policy=auto+TTL, reopen only within the configured window; otherwise create new.reopenedvscreated_new, including conversation IDs.Motivation / Benefits
Compatibility
reopen).I’m happy to help test this feature in a real environment (WAHA Plus + Chatwoot) and validate the
reopen/new/auto+ TTL scenarios.Thanks!
Comment +1 for help this !
Beta Was this translation helpful? Give feedback.
All reactions