Analyze two User lists to add the data to a third list

Hello, bubblers,

I need your opinion!

I’m developing an app with a system similar to the match tinder.
I can’t compare two databases of my users, I have a User Liked list and a User That Likes Me list.

I’ve tried a lot of things, for example I can show the Matched User in a repeating with the filter.

My problem is that I have a third list where I want to list all the matches of a user, I can’t analyze the User Liked and User that Likes Me lists and then add the data to Matched List.

Do you have any idea how I could do this?

Thanks a lot bubblers!

I think you should use :intersect. This will return users that are in both list and you can populate the third list using this way.

Current user “selections”:intersect with Do a Search for Users (filter: selection contain current user)

Hey Jici ! I did what you mentioned in the workflow, how can I add the result in my third Matched User list?

Thanks !

Can you share a screenshot of what you have done?

Of course !

Thanks :wink:

Capture|690x311

By the way, I’m not sure I put what you said in the right place or there’s something missing.

What you have put in the Only when is what you should use in the Make a change to thing action
I don’t think you need to put a filter. Also, I don’t think you need to use the Do when …trigger. Here’s what you should do:
When user add someone to the list (my selection), trigger a workflow that will use the expression and update Matched field. Also, trigger a backend flow that will also run the same, but for the added user. You will use the same expression again to update matched field.

Now, Bubble also have an Alpha (currently under testing on few app) that will fit perfectly for your case. This can trigger a notification for example when a new match is found.

1 Like

It’s working!!! Thanks for your help :wink: I’m going to go check out this new feature.

See you soon!

1 Like