> ## Documentation Index
> Fetch the complete documentation index at: https://help.broadstripes.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Relationships

> Learn how to create and manage relationships between contacts to track connections

## Overview

If the Broadstripes **relationship** function is enabled for your project, you have the ability to track special relationships between individual workers. You can choose between a number of defined relationship types such as "Friend" or "Neighbor."

Once you've recorded these connections between workers, you can start to see visually how the people in a shop are interconnected using the "relationship tree" view.

In this article, we'll look at how to **create new relationships** and **work with existing relationships**.

A few other things we'll cover:

* How to [search for contacts by their relationships](#search-for-contacts-by-relationship)
* How to [see relationship information in your search results layout](#add-relationship-details-to-a-search-results-layout)
* How [relationships differ from social groups](#how-relationships-differ-from-social-groups)

## Video: Relationships

<iframe width="560" height="315" src="https://www.youtube.com/embed/xIekSgyBGF4" title="Relationships video" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

***

## Create a new relationship or view an existing relationship

For this example, we'll show how to add a new relationship between two coworkers to show that they are neighbors. Here's how:

1. From the **search results panel**, click the **Quick view icon** (<Icon icon="id-card" iconType="light" color="#545454" />) next to the worker's name.

<img src="https://mintcdn.com/broadstripes/4obPu-_RxEglUzj2/images/customize/create-relationships/open-looking-glass.png?fit=max&auto=format&n=4obPu-_RxEglUzj2&q=85&s=200bd39cfc701f3551a948be4b0e9dee" alt="Quick view icon next to a worker's name in the search results" width="1245" height="480" data-path="images/customize/create-relationships/open-looking-glass.png" />

2. In the **Quick view** dialog, click the **Quick actions** tab and select **Relationships**.

<img src="https://mintcdn.com/broadstripes/4obPu-_RxEglUzj2/images/customize/create-relationships/open-icon.png?fit=max&auto=format&n=4obPu-_RxEglUzj2&q=85&s=ce204d902012d12611440bb85ac31847" alt="Relationships option on the Quick actions tab of the Quick view dialog" width="352" height="610" data-path="images/customize/create-relationships/open-icon.png" />

3. By default, you'll see any **existing relationships** listed in the **table view** on the **relationship index page**.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/index-page.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=3d4f008b64adb511d7770ea6e48bf8c7" alt="Relationship index page" width="971" height="483" data-path="images/customize/create-relationships/index-page.png" />

4. Each **type of relationship** is shown in a separate section. Relationships can show ties between two individual people (for instance Bonnie and Reynard), or between a person and an organization (like Bonnie and the First Baptist Church).

5. Now we'll create a new relationship. Click the **+ New Relationship button**.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/new-button.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=129da0bc839d063196e2d9e412233013" alt="New relationship button" width="189" height="81" data-path="images/customize/create-relationships/new-button.png" />

6. We'll choose **Neighbor of** from the **relationship type drop down menu**. (If you don't see the relationship type you're looking for, talk to your Broadstripes point person).

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/select-type.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=c07bbecf0a94e32999c46c770bf9735c" alt="Select relationship type" width="565" height="151" data-path="images/customize/create-relationships/select-type.png" />

7. In the **related contact box**, type the **name** of the **worker** or **organization** with whom you want to create the new relationship. As you type, you'll see a **list of options** to choose from.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/select-contact.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=3e674ccea0e7f881153331b70376d256" alt="Select contact" width="537" height="138" data-path="images/customize/create-relationships/select-contact.png" />

<Info>
  **What if the contact is not on the list?**

  If you don't see the choice you want on this list, it means that contact is not in Broadstripes yet. You'll need to first add that contact to Broadstripes, then come back to this screen to create the Relationship (learn more about adding a contact in the [Add a shop or organization](/docs/working-with-records/add-a-shop-or-department) or [Add a person](/docs/working-with-records/add-a-new-person) articles).
</Info>

8. Once you've chosen the relationship type and related contact, click the **Create relationship button** to save the new relationship.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/create-button.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=dc614bf11a625b1a679f23f7c714e17e" alt="Create relationship button" width="174" height="77" data-path="images/customize/create-relationships/create-button.png" />

9. You'll see the new relationship on the **relationship index page**.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/created.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=a821367909745d65c988756af147ef90" alt="Relationship created" width="397" height="410" data-path="images/customize/create-relationships/created.png" />

***

## View complex relationships with the tree viewer

Getting a sense of how your workers are interconnected can be confusing. The tree viewer simplifies that.

1. To see relationships between workers visually, click the **View tree** tab near the top of the page.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/tree-tab.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=1f33e7f6254d4d1755aa7216df421df0" alt="View tree tab" width="357" height="199" data-path="images/customize/create-relationships/tree-tab.png" />

2. The **tree view** will open. You'll see your contact at the center of the tree. In this example, we see Bonnie Worker at the center of the tree and each of Bonnie's direct relationships (Marcus, Reynaldo and First Baptist Church) connected by a separate branch.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/tree-view-open.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=06999987b11a4a2a8ea1cb7e3432e8ff" alt="Tree view open" width="681" height="497" data-path="images/customize/create-relationships/tree-view-open.png" />

3. By default, Broadstripes will also show the relationships under Bonnie's direct relationships – that is, her contacts' relationships – up to eight **degrees of separation**. In the example below, you can see Marcus's relationships to Conswella and Annmarie, which have two degrees of separation from Bonnie.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/tree-view-two-degrees.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=1d5d482f9ffe86a820acdd93719571e2" alt="Tree view two degrees" width="323" height="271" data-path="images/customize/create-relationships/tree-view-two-degrees.png" />

4. You can adjust your view to see fewer **degrees of separation** using the **slider**. We'll move the slider to **"1"** to see only those contacts who are related directly Bonnie.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/tree-view-one-degree.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=5a489dae5c95fb25cc43e8b09b696bba" alt="Tree view one degree" width="646" height="500" data-path="images/customize/create-relationships/tree-view-one-degree.png" />

5. You can also use the tree view to navigate between contact records. **Click** on any **contact's name** to jump directly to that contact's own **relationship tree** and see additional information about them.

***

## Choose a contact's primary organization relationship

If you use the relationships function to track relationships between **workers** and **organizations**, you can tag one organization as **"primary."** Here's how:

1. From the **relationship index page**, locate the relationship you want to mark as **primary**. Note that the relationship must be between a worker and an organization, not two workers.

2. Check the box next to the text **"Primary organization."**

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/primary-org.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=9f9679700de7b81ad23894c37de6887d" alt="Primary organization" width="356" height="151" data-path="images/customize/create-relationships/primary-org.png" />

3. You'll now see this organization listed under the contact's name in search results.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/primary-org-search-res.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=cb154f4aecff0734b0b88346892e3074" alt="Primary org in search results" width="788" height="133" data-path="images/customize/create-relationships/primary-org-search-res.png" />

***

## Search for contacts by relationship

Once you've created relationships between contacts, it's simple to find anyone related to any other person or organization using the **search builder**.

1. For this example, we'll search for anyone who is a neighbor of Bonnie.

2. Start by clicking the **Search builder button** at the top of the page.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/search-builder-button.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=d1e9a1aa336dc09adde1d9d9d96c0f37" alt="Search builder button" width="716" height="81" data-path="images/customize/create-relationships/search-builder-button.png" />

3. Use the **drop down menu** to choose **"Neighbor of"** as the **relationship type** under the **"Relationships" keyword group**.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/search-builder-neighbor.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=977735a0e656944fb917c1e078259e44" alt="Search builder neighbor" width="811" height="295" data-path="images/customize/create-relationships/search-builder-neighbor.png" />

4. In the next **drop down menu**, select **"contains the word(s)."**

5. Then type **"Bonnie"** to limit the results to only those people who are Bonnie's neighbors.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/search-builder-neighbor-bonnie.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=c64af7b7bd63cd8e74f6959305ff1a42" alt="Search builder neighbor Bonnie" width="817" height="118" data-path="images/customize/create-relationships/search-builder-neighbor-bonnie.png" />

6. Click **"Search."**

7. Everyone who is Bonnie's neighbor will appear in the **Search Results** panel.

8. You can also run broader searches to see more relationships. For instance, to run a search to see anyone who is a neighbor of anyone else, modify the search by choosing **"Neighbor of"** and **"has any value."**

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/search-builder-neighbor-any.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=2e22e7afb5277c71d3221f1e9ecc4da0" alt="Search builder neighbor any" width="809" height="100" data-path="images/customize/create-relationships/search-builder-neighbor-any.png" />

9. To see contacts with any relationship of any kind, search for **"Related to a contact"** and **"has any value."**

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/search-builder-rel-any.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=6e65fdd935607fd17b874d5732b3f20a" alt="Search builder related any" width="809" height="99" data-path="images/customize/create-relationships/search-builder-rel-any.png" />

10. In the next step, we'll look at how to modify your **search results layout** to display information about relationships.

***

## Add relationship details to a search results layout

Seeing how contacts are related to each other can be very useful for your organizing campaign. Here's how to display relationship information each time you view search results.

1. From the **Search Results** panel, click the **Layout** drop down menu and choose **"Modify layout…"**

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/mod-layout.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=e94df41d36e3ce3cba63a01865730241" alt="Modify layout" width="979" height="321" data-path="images/customize/create-relationships/mod-layout.png" />

2. **Click once** on **"Relationships"** to include the column in your layout. It will turn from gray to a bright color and will be added to the left side of the layout builder.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/mod-layout-select.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=a698e64946f28c49740bb6231c01d143" alt="Modify layout select" width="701" height="282" data-path="images/customize/create-relationships/mod-layout-select.png" />

3. **Drag and drop "Relationships"** to change its position in the search results matrix:
   * The column name at the **top** of the layout builder will be the first column on the **left** when your search results are displayed, while column name at the **bottom** will display as the furthest to the **right**.

<img src="https://mintcdn.com/broadstripes/tj2aJBgpoR50kndR/images/customize/create-relationships/mod-layout-drag.png?fit=max&auto=format&n=tj2aJBgpoR50kndR&q=85&s=09d9695f0aafa4baeb2ad3672f29b303" alt="Modify layout drag" width="273" height="296" data-path="images/customize/create-relationships/mod-layout-drag.png" />

4. Once your layout is modified, you can either choose **apply** the new layout just once, or **save and run it**.
   * Click **Apply without saving** to simply apply the layout once to your current search results. This will re-display the results with the new column, but won't permanently save any of the changes you've made to the layout.
   * Click **Save changes** to overwrite the saved layout with the modifications you've just made. You'll see the changes each time you choose this layout.

5. **Relationship details** will now appear on your **Search results** panel. Each relationship type appears as a labeled heading, and the related contacts show inline — each name is followed by a <Icon icon="id-card" iconType="light" color="#545454" /> **Quick view** icon you can click to open that contact's Quick view panel. When a relationship group contains more than 6 contacts, a **+N more** button expands the full list in place.

<img src="https://mintcdn.com/broadstripes/0YW1TQC25jWAQfOk/images/customize/create-relationships/mod-layout-results.png?fit=max&auto=format&n=0YW1TQC25jWAQfOk&q=85&s=ea198c2988593bb732b461514c56fb3a" alt="Modify layout results" width="1245" height="500" data-path="images/customize/create-relationships/mod-layout-results.png" />

Each relationship type appears as a separate group. If a contact has more than 6 relationships in a group, a **+N more** button appears — click it to reveal all entries. Click **Show less** to collapse back to the initial view.

6. Learn more about working with layouts in the [Create and save a layout](/docs/customize/save-a-layout) article.

***

## How relationships differ from social groups

Now that you've learned about creating and working with relationships, you may be wondering when it's best to use them. If you also use Broadstripes' social groups function, you may have questions about how social groups and relationships differ.

Simply put, it's best to:

* **use relationships when** you want to show specific types of *individual* connections (person to person, or person to org).
* **use social groups when** you want to keep track of temporary group dynamics or unique social connections (like people who share a lunch break or Knicks fans).

Some more ways relationships and social groups differ:

* Unlike with relationships, which have specific types set by an admin, you can create as many social groups as you want, and delete them when they're no longer useful.
* Once you've set up social groups, you have the option to tag leaders. With leaders in place, social groups can become a tool for building organizing structures in Broadstripes, a layer of functionality not possible with relationships.

You can read the [social groups article](/docs/customize/create-social-groups) to learn more about creating and working with social groups.
