COUPLE OPTIONS IN PLACE
Add Status Field to a Data Type Message.
Set Status Field Type to Text
Status will be either seen/unseen. (I’d recommend you to use Option Sets for this. By default all will be unseen. Or leave them empty and treat empty space as unseen.)
Step 2 - If you’re building notifications:
You’ll create a RG where you’ll display messages.
Set the constraint: Status = unseen. (This way only new or unseen messages will be shown here)
When notification item is clicked Navigate & Scroll to the item in the original RG. Wherever you have a chat displayed.
In the same workflow action set the status of that specific message to seen.
Step 2 - If you’re building a chat:
If you do not have anything to trigger Seen/Unseen change action then I’d suggest to do the following.
Do the step 1.
Click on the Input Message (where users should type a reply text). When you click it then go to ahead and click on Workflow tab.
Add a New Event
Choose Data (Things)
Make Changes to a List of Things > Type of Things is Message > List to Change is Do a Search for all Messages (set constraint Status = unseen) > Click on CHANGE ANOTHER FIELD > Status = seen.
I wish I had a Buymeacoffee account
Jokes aside, let me know if this helps.