How can I create a connection between two users (eg in Facebook)

I would like to use the same logic as in Facebook: User 1 sends a request to user 2 asking for beeing connected. Only if user 2 validates the request both users can see the full profile of a person. Otherwise it is only a partial profile. How can I make it?

1 Like

Hi!
On the User data type you can have Friends field that is a list of users.
When a user sends a friend request and the other user accepts, you can have a workflow that adds the other user to his Friends list and vice versa.

Then create some conditions for the profile fields so that they are only shown when user is on Friends list.

Thank you. Could you tell me the different steps of the workflow?

Have you done the basic tutorials? They explain a lot of this functionality :slight_smile:

1 Like