[GOWS][Chatwoot] #2208 still not fixed in 2026.8.1 – duplicate contact created for same LID without phone number
Related issue
This is a continuation of #2208.
The issue was closed after the fixes released in 2026.8.1, but unfortunately the original problem is still happening with GOWS + the native Chatwoot integration.
I am currently working around the issue manually, and while doing this I discovered another consequence when the customer already exists in Chatwoot.
The original #2208 problem is still happening
Incoming messages are still creating Chatwoot contacts using only the LID, without the correct phone number being passed/resolved by the native integration.
For example, an incoming message creates a contact using:
7876986835002@lid
But if I manually query WAHA for exactly the same LID, WAHA correctly resolves it:
[
{
"lid": "7876986835002@lid",
"pn": "[email protected]"
}
]
So WAHA knows:
7876986835002@lid
↓
[email protected]
However, this phone number is still not being correctly passed/used by the native Chatwoot integration.
This means the original issue reported in #2208 does not appear to be fully fixed.
When the customer does NOT already exist in Chatwoot
If this is a new customer and there is no existing Chatwoot contact with that phone number, I can work around the problem manually.
I resolve the LID using WAHA:
7876986835002@lid
→
[email protected]
and then manually update the Chatwoot contact with:
+5511986435945
This works.
So for new contacts, I can currently fix the missing phone number myself.
The bigger problem: customer already exists in Chatwoot
The problem becomes much worse when the customer has contacted us before.
In this situation, Chatwoot already has an existing contact with:
Phone number: +5511986435945
LID attribute: 7876986835002@lid
So Chatwoot already has BOTH pieces of information on the existing contact:
Phone = +5511986435945
LID = 7876986835002@lid
Then the same customer sends another message.
The incoming message uses:
7876986835002@lid
Instead of recognizing the existing contact, the native WAHA → Chatwoot integration creates a NEW contact using this LID.
I then have:
EXISTING CONTACT
----------------
Phone: +5511986435945
LID: 7876986835002@lid
NEW CONTACT CREATED FROM INCOMING MESSAGE
-----------------------------------------
Phone: empty
LID: 7876986835002@lid
These are the same WhatsApp user and EXACTLY the same LID.
But Chatwoot does not associate the incoming conversation with the existing contact.
It creates a duplicate contact instead.
Important detail
This is not a case where Chatwoot has an old contact without knowing its LID.
The existing contact already contains:
LID = 7876986835002@lid
And the newly created duplicate contact is created from:
7876986835002@lid
So the LIDs are identical.
Despite this, a second contact is created.
Why I believe the root problem is still #2208
The duplicate contact appears to be a consequence of the phone number still not being sent/resolved correctly by the native Chatwoot integration.
WAHA itself can resolve:
7876986835002@lid
→
[email protected]
But the new Chatwoot contact is still created without:
+5511986435945
Therefore Chatwoot does not recognize it as the existing phone contact.
This is why I believe the original #2208 problem has not actually been fully resolved.
Manual workaround confirms the problem
I am currently resolving the phone number manually through the WAHA LID API.
There are two scenarios:
Scenario 1 - Phone number does not exist in Chatwoot
I manually add:
+5511986435945
to the newly created LID contact.
This works normally.
Scenario 2 - Phone number already exists in Chatwoot
I try to add:
+5511986435945
to the newly created LID contact.
Chatwoot returns:
422 - Phone number has already been taken
I then check Chatwoot and find that there is already an older contact with:
Phone: +5511986435945
LID: 7876986835002@lid
Again, this is EXACTLY the same LID as the newly created contact.
So I now have to manually merge the two contacts.
Expected behavior
When WAHA receives:
7876986835002@lid
and WAHA knows that it maps to:
[email protected]
the native Chatwoot integration should use this mapping.
If Chatwoot already has:
Contact ID: X
Phone: +5511986435945
LID: 7876986835002@lid
the new conversation should be attached to Contact X.
A second contact should NOT be created for:
7876986835002@lid
especially when the existing contact already has exactly the same LID stored in its attributes.
Current behavior summary
Incoming message
7876986835002@lid
↓
WAHA can resolve it
↓
[email protected]
↓
But native Chatwoot integration
does not pass/use the phone number
↓
Chatwoot already has:
+5511986435945
AND
7876986835002@lid
↓
Still creates another contact:
7876986835002@lid
Phone: empty
↓
Duplicate contact
↓
I have to resolve PN manually
↓
Chatwoot returns:
"Phone number has already been taken"
↓
I have to manually merge the contacts
Environment
- Engine: GOWS
- Integration: Native WAHA → Chatwoot
- WAHA version:
2026.8.1 - Related issue: #2208
The main point is that the phone number is still not being correctly populated/resolved in Chatwoot, despite the fix described for #2208.
The duplicate-contact problem makes this even clearer because WAHA can resolve the LID manually, and the existing Chatwoot contact already has both the correct phone number and the exact same LID.
2026.8.2 - match existing contacts by resolved phone number for @lid chats and backfill missing phone_number - #2208