# How to create an automatic relation based on a number of different criteria

**URL:** <https://community.fibery.io/t/how-to-create-an-automatic-relation-based-on-a-number-of-different-criteria/4140>\
**Category:** Get Help\
**Created:** [March 16, 2023, 10:51pm UTC](https://community.fibery.io/t/how-to-create-an-automatic-relation-based-on-a-number-of-different-criteria/4140 "2023-03-16T22:51:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [March 17, 2023, 4:00am UTC](https://community.fibery.io/t/how-to-create-an-automatic-relation-based-on-a-number-of-different-criteria/4140/2 "2023-03-17T04:00:46Z")

</div>

You would need to combine multiple lists in one.  
There was a [topic](https://community.fibery.io/t/how-to-union-two-list-fields-in-the-same-database/2467/33) for that sometime ago. At the end there is an instruction from @Matt_Blais on how to make it work.  
TLDR:  
Two of your lists would be automatically linked based on from/to. You can hide those lists from UI as they are only used in automation.  
Automations would sync those two lists into one by adding and removing links when lists are updated.

Having `union` function would be way nicer though /cc @Chr1sG

---

_[View the full topic](https://community.fibery.io/t/how-to-create-an-automatic-relation-based-on-a-number-of-different-criteria/4140)._
