How to implement per-user notification settings like Instagram/X?

Hello! I really appreciate your help. Thank you again for the other day! :blush:

I’m implementing a notification system similar to Instagram or X.

Here’s the idea:

  • Notifications are off by default.

  • A user can choose to turn notifications on for specific people only (just like enabling notifications for a creator’s posts on Instagram or X).

To support this, I created a Connections collection with fields like:

  • User A

  • User B

  • Notifications Enabled (boolean)

When User A sends a message to User B, I want to send a push notification only if the Connection record between them has Notifications Enabled = true.

However, I can’t figure out how to reference that specific Connection record in the Send Message action. It seems like I can’t use that boolean as a condition because the action doesn’t know which Connection record to check.

Is there a recommended way to structure this in Adalo? How would you implement this kind of per-user notification

1 Like