# New message notification

**URL:** <https://forum.adalo.com/t/new-message-notification/20867>\
**Category:** Get Help\
**Created:** [December 14, 2021, 9:30pm UTC](https://forum.adalo.com/t/new-message-notification/20867 "2021-12-14T21:30:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 14, 2021, 9:30pm UTC](https://forum.adalo.com/t/new-message-notification/20867/1 "2021-12-14T21:30:24Z")

</div>

Hi, All:

Is it possible to have some sort of in-app notification or even just a static field on a profile when a user has unread messages, comments, likes, ect…

Thanks!

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 15, 2021, 12:20am UTC](https://forum.adalo.com/t/new-message-notification/20867/2 "2021-12-15T00:20:07Z")

</div>

Just bumping in case anyone has a good solution.

Thanks again everyone!

---

<div class="post-metadata">

**Author:** ![mod323](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mod323](https://forum.adalo.com/u/mod323)\
**Post date:** [December 15, 2021, 1:36am UTC](https://forum.adalo.com/t/new-message-notification/20867/3 "2021-12-15T01:36:05Z")

</div>

Hi Bobby, you can check the default chat app in Adalo it has that feature.

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 15, 2021, 3:31am UTC](https://forum.adalo.com/t/new-message-notification/20867/4 "2021-12-15T03:31:14Z")

</div>

Hi, @mod323

Can you point it out for me, I dont see anything.

Also, I know how to send push notifications. What i’m talking about is more like in app notification. Like you have 1 unread message or 1 new like on this comment ect.

---

<div class="post-metadata">

**Author:** ![mod323](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mod323](https://forum.adalo.com/u/mod323)\
**Post date:** [December 15, 2021, 7:37pm UTC](https://forum.adalo.com/t/new-message-notification/20867/5 "2021-12-15T19:37:46Z")

</div>

Hi Bobby,

Here is a link that you can clone:

> **[Test](https://previewer.adalo.com/9aad5747-d4c6-407e-a830-eb7f5835e629)**
>
> Built with Adalo

In the home screen in the messages list you will see the “new” icon that is visible when there is an unread message. You can apply the same logic elsewhere in the app. Hope this helps.

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 15, 2021, 8:15pm UTC](https://forum.adalo.com/t/new-message-notification/20867/6 "2021-12-15T20:15:52Z")

</div>

Awesome, I will check it out, thank you!

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 15, 2021, 8:59pm UTC](https://forum.adalo.com/t/new-message-notification/20867/7 "2021-12-15T20:59:54Z")

</div>

@mod323

Any way you know of to automatically delete older records in the “Read Status” collection?

This can quickly build up thousands of records.

---

<div class="post-metadata">

**Author:** ![mod323](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mod323](https://forum.adalo.com/u/mod323)\
**Post date:** [December 15, 2021, 11:32pm UTC](https://forum.adalo.com/t/new-message-notification/20867/8 "2021-12-15T23:32:09Z")

</div>

Hi Bobby, you’re right. I’m not sure why it was set up this way.

I have deleted the Read Status collection and created two user relationships with the conversation collection called “last read by” and “last sent by”.

Last read by gets updated when the user clicks on (opens) the conversation only if they weren’t the same user in the “last sent by” field.

When a user sends a message both “last sent by” and “last read by” gets updated with the user that sent the message.

Lastly, the “new message” icon will only be visible if both, the 'last ready by" and “last sent by” fields are not equal to the logged in user.

I have updated the app I sent before so you can check/test it. Let me know if it works.

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 15, 2021, 11:38pm UTC](https://forum.adalo.com/t/new-message-notification/20867/9 "2021-12-15T23:38:31Z")

</div>

Thanks!

I’ll give it a whirl.

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 17, 2021, 6:30pm UTC](https://forum.adalo.com/t/new-message-notification/20867/10 "2021-12-17T18:30:40Z")

</div>

So,

The issue that I’m having now is that with this current setup, It seems that the “new” button appears on ALL conversations if only one requires it.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [December 17, 2021, 6:43pm UTC](https://forum.adalo.com/t/new-message-notification/20867/11 "2021-12-17T18:43:34Z")

</div>

Hi Bobby 👋

Just in case. This thread will also help you!

> [@Read status changes on ALL screens? Help!](https://forum.adalo.com/t/read-status-changes-on-all-screens-help/18546):
>
> I’ve already set up a perfectly functioning messaging system (with read status on/off linked if a user has opened a message or not). Now comes my final problem: I want the inbox icon (on many screens throughout app) to light-up when the user has an unread message in their inbox. I’m having a lot of trouble figuring this out and would appreciate any help! Thanks Ari

Thank you

---

<div class="post-metadata">

**Author:** ![Bobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bobby/32/14843_2.png) [@Bobby](https://forum.adalo.com/u/Bobby)\
**Post date:** [December 17, 2021, 7:46pm UTC](https://forum.adalo.com/t/new-message-notification/20867/12 "2021-12-17T19:46:10Z")

</div>

Thank you, I will check it out!

---

<div class="post-metadata">

**Author:** ![programmer1311](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@programmer1311](https://forum.adalo.com/u/programmer1311)\
**Post date:** [December 21, 2021, 11:16pm UTC](https://forum.adalo.com/t/new-message-notification/20867/13 "2021-12-21T23:16:25Z")

</div>

Good day. Had the same problem as Bobby, so your recommendation will be useful for me too, thanks a lot. In general, in my life I am engaged in the creation of business cards to order. I do it in different applications, but the coolest thing is [business card maker](https://crello.com/create/business-cards/), because it has the simplest interface and the most stylish product at the end. Use it if it’s helpful 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [December 31, 2021, 11:17pm UTC](https://forum.adalo.com/t/new-message-notification/20867/14 "2021-12-31T23:17:09Z")

</div>

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