# Using a matching algorithm to display potential mentor matches

**URL:** <https://forum.wixstudio.com/t/using-a-matching-algorithm-to-display-potential-mentor-matches/26677>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [February 12, 2020, 4:33am UTC](https://forum.wixstudio.com/t/using-a-matching-algorithm-to-display-potential-mentor-matches/26677 "2020-02-12T04:33:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amcmanus](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@amcmanus](https://forum.wixstudio.com/u/amcmanus)\
**Post date:** [February 12, 2020, 4:33am UTC](https://forum.wixstudio.com/t/using-a-matching-algorithm-to-display-potential-mentor-matches/26677/1 "2020-02-12T04:33:13Z")

</div>

I am on a student team working with a non-profit that has a mentoring program. We are going to write an algorithm that takes information the administrators put into a database about mentors and the mentee they are trying to pair with a mentor and, based on factors still to be determined, output a list of say 3 potential mentors.

We would like to be able to have a website that allows the input and storage of mentor/mentee information, which seems doable. We would then like them to push a button and generate a page of mentor matches that shows some information on why the match was made so they can make the ultimate decision. None of us has experience with Wix so we were wondering how feasible/difficult this would be (not writing the algorithm, just putting it into Wix to display results). If anyone has any suggestions about starting points or how to go about this that would be very helpful as well!

---

<div class="post-metadata">

**Author:** ![anastasiias](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/anastasiias/32/15771_2.png) [@anastasiias](https://forum.wixstudio.com/u/anastasiias)\
**Post date:** [February 12, 2020, 8:50am UTC](https://forum.wixstudio.com/t/using-a-matching-algorithm-to-display-potential-mentor-matches/26677/2 "2020-02-12T08:50:53Z")

</div>

Hello,

It is possible to save the information you want in the datasets (e.g. one for Mentors and one for mentee) and populate the filtered information using repeater or a table.

You could either create members area for the mentees and display the information on the custom member profile pages like it’s described [here](https://support.wix.com/en/article/creating-custom-member-profile-pages) or add some filter functionality to your site following the instructions [here](https://support.wix.com/en/article/corvid-about-creating-searches-and-filters-of-displayed-data) (e.g. so the mentee will enter their last name and the relevant mentors information will be populated).

The logic of the filter/sort will depend on your needs, but here are the relevant APIs you can use to achieve your goals:  
[https://www.wix.com/corvid/reference/wix-dataset.html#setFilter](https://www.wix.com/corvid/reference/wix-dataset.html#setFilter)  
[https://www.wix.com/corvid/reference/wix-data.html](https://www.wix.com/corvid/reference/wix-data.html)

Good luck!

---

<div class="post-metadata">

**Author:** ![jmatthews](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/jmatthews/32/7949_2.png) [@jmatthews](https://forum.wixstudio.com/u/jmatthews)\
**Post date:** [May 18, 2021, 9:33am UTC](https://forum.wixstudio.com/t/using-a-matching-algorithm-to-display-potential-mentor-matches/26677/3 "2021-05-18T09:33:34Z")

</div>

Hi there

I would like to build this feature into my website- can you recommend someone who could assist with this?

---

<div class="post-metadata">

**Author:** ![Certified\_Code](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/certified_code/32/80179_2.png) [@Certified\_Code](https://forum.wixstudio.com/u/Certified_Code)\
**Post date:** [May 18, 2021, 11:57am UTC](https://forum.wixstudio.com/t/using-a-matching-algorithm-to-display-potential-mentor-matches/26677/4 "2021-05-18T11:57:00Z")

</div>

Hi, we are able to help with this 🙂  
please email: [velo@editorx.co](mailto:velo@editorx.co)
