diff --git a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts index 503a5cc9..d71daae4 100644 --- a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts +++ b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts @@ -704,7 +704,7 @@ export class ChatwootService { conversation = contactConversations.payload.find((conversation) => conversation.inbox_id == filterInbox.id); this.logger.verbose(`Found conversation in reopenConversation mode: ${JSON.stringify(conversation)}`); - if (this.provider.conversationPending) { + if (this.provider.conversationPending && conversation.status !== 'open') { if (conversation) { await client.conversations.toggleStatus({ accountId: this.provider.accountId,