I want to know how to push notifications only to people who are in a "mutual follow" relationship with a Logged In User

I would like to know how to push notifications only to people who are in a “mutual follow” relationship with a Logged In User.

I’m creating a social network in adalo. I have added “Following” and “Followed” properties to the “User” database.

When you follow someone, the person you follow will be recorded in your “Following” and you will be recorded in their “Followed”.

If the other person follows you, the other person will be recorded in your “Following” and you will be recorded in their “Following”.

If you are in the “Following” of a user who is recorded in your “Following”, you are considered to be in a “Mutual Following” relationship.

You can also say that you are in a “mutual follow” relationship when you are in the “Followed” list of a user who is recorded in your “Followed” list.

In this case, for example, you want to be notified when you open your Home page.
In this case, select “Trigger Notification” in “Actions” on the “Home” page.
Can you please tell me how to set the “Recipient” after that?

I apologize for the lengthy explanation of the situation.
I’m sorry for the long explanation.

Postscript.

There is already a list of “Mutual Followers” users in the application we are developing at adalo, and it is displayed with the following conditions

What is this a list of?
Users

Filter
Logged In User > Following

Custom Filter
Current User > Following
Contains
Logged In User

If you try to set this in Trigger Notification, you will not be able to select “Logged In User” in Contains.

I solved the problem myself.

Added “Mutual Follow” component to User database.
I added a “Mutual Follow” component to the User database so that when someone follows you back, the fact that you are a mutual follow is recorded.

This way, it is possible to send notifications only to those who are “Mutual Followers”.

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