Need Help Preventing Duplicate Conversations in Adalo Basic Chat

Hi everyone,

I’m building a messaging app using Adalo’s default chat components, and I’m trying to achieve two simple behaviors:


When I start a new chat with a user I’ve already messaged before, the app should open the existing conversation instead of creating a new one**.**

Right now, on my New Chat (users list) screen, tapping a user always creates a new conversation which causes duplicates.

On the Conversations List screen, everything works fine. The issue is only on the screen where users start new chats.

Hi @John3

Welcome to the Adalo community. To achieve this, you can use one hack where you need to convert a button into a list format, and you need to filter out using the current conversation data. Apart from that, you can also use the hidden bulk trigger component, which will help you to redirect the users to the specific message screen. It will basically pass the data from one screen to another screen without changing any button into list format or using countdown as a list.

Thanks for the help
I’m still a bit confused, though.

Do you mean I should turn the “Start New Chat” button into a list so I can filter conversations that already include both users?
Or is the hidden bulk trigger enough on its own to redirect to the correct existing conversation?

If you can explain the exact steps (or which method is simpler), that would really help me.

Hi @John3, below linked content will help you!

Build an Instagram Clone with Adalo, a No-Code App Builder (Messaging module)

https://forum.adalo.com/t/adalo-chat-app-template-how-to-remove-duplicate-conversations/1981/13

https://forum.adalo.com/t/chat-template-creating-duplicate-conversations-instead-of-linking-to-existing-conversation/58925/2

Thank you and have a great day!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.