Skip to main content

How to import relationships in Tern

You can import relationships with a simple three column spreadsheet: import ID, import ID of related contact, and relationship.

Written by David Shull

Before You Start

  • Every contact in your relationships file must already be in Tern and have an Import ID. The relationships import finds contacts by Import ID. It doesn't read Tern IDs.

  • Use the same import destination you used for your contacts. If you imported your contacts for your agency, import relationships for your agency too. If you imported them into your personal account, import relationships into your personal account.

  • To check whether your contacts have Import IDs, export them from Contacts. Look at the Import ID column for contacts imported into your personal account, or the Agency Import ID column for contacts imported for your agency. If the column is blank, that contact has no Import ID. Follow Giving existing contacts an Import ID before you import relationships.

How to Import Relationships into Tern

  1. Prepare Your Contacts

    • Import a basic list of contacts into Tern.

    • Ensure each contact has a unique identifier in the "Import ID" column.

  2. Create a Relationships File

    • Create a new file/tab for relationships (e.g., in Google Sheets or Excel).

    • Include three columns: Import ID (the first contact), Related Contact Import ID (the second contact), and Relationship. Naming your columns this way makes them easier to match during upload.
      ​Relationship types you can use

    • When you map the "Relationship" field during import, pick one of these values for each row. Enter them exactly as shown:

      • child

      • friend

      • grandparent

      • grandchild

      • in-law

      • sibling

      • spouse/partner

      • parent/guardian

      • referred by

      • referred

      • other

        Use "in-law" for any in-law relationship (mother-in-law, brother-in-law, and so on). Tern automatically creates the matching reverse relationship on the related contact, so you only import each pair once:

      • "child" adds "parent/guardian" on the other person (and the reverse).

      • "grandparent" adds "grandchild" on the other person (and the reverse).

      • "referred by" adds "referred" on the other person (and the reverse).

      • "in-law", "sibling", "spouse/partner", "friend", and "other" apply the same type to both contacts.

  3. Establish Relationships

    • Manually input the Import IDs of contacts and define their relationships.

    • For example, to link two spouses, put T1 in the Import ID column, T2 in the Related Contact Import ID column, and spouse/partner in the Relationship column.

  4. Import Relationships into Tern

    • Export your relationships file as a CSV.

    • Go to Contacts, click Actions, then click Import contacts.

    • Choose your import destination. If you're an agency owner or admin, you'll see Choose import destination at the top of the page. Select the same agency or personal account you used when you imported these contacts. If you don't see this option, the import goes into your personal account.

    • Under Step 2: Import additional details, click Import Contact Relationships.

    • Upload your CSV.

    • Match your columns. Check that each column is matched to the right Tern field:

      • First contact's ID → Import ID

      • Second contact's ID → Related Contact Import ID

      • Relationship → Relationship

        Note: Tern doesn't always match the second contact's ID column for you. If it shows as unmatched, choose Related Contact Import ID from the dropdown yourself. If you skip this, Tern can't find the second contact and no relationship is created.

    • Confirm the import.
      ​How Tern Finds Each Contact

      • First contact: Tern looks up the Import ID. Every row must have one.

      • Second contact: Tern looks up the Related Contact Import ID. If a row has no Related Contact Import ID, Tern can match the second contact only when you include all three of these: Related Contact Primary Email, Related Contact Legal First Name, and Related Contact Last Name. A first and last name alone isn't enough, and the row will be skipped.

      • Where Tern looks: If you import for your agency, Tern only matches Import IDs that were added in an agency contact import for that agency. If you import into your personal account, Tern only matches contacts you own.

  5. Verify and Manage Relationships

    • Check the established relationships in Tern.

    • Use Import IDs to match contacts and prevent duplicates.

    • Tern's system will help clean up and organize the imported relationship data.

  6. Benefits of Using Import IDs

    • Import IDs help accurately match contacts and avoid duplicates.

    • You can reference Import IDs across multiple imports for consistent relationship management.

  7. Conclusion

    • By following these steps, you can efficiently import and manage relationships in Tern, enhancing your contact organization and connectivity.

Common Issues

The import finished, but no relationships showed up
Check these in order:
1. Your contacts have Import IDs. Export your contacts and look at the Import ID or Agency Import ID column.
2. You chose the same import destination as your contact import.
3. The second contact's ID column was matched to Related Contact Import ID.

My relationships file uses Tern IDs
The relationships import doesn't read Tern IDs. Give your contacts Import IDs that match their Tern IDs first. Then your file works as is. See Giving existing contacts an Import ID.

I don't have my original import file anymore
You don't need it. Your contact export shows each contact's Import ID. If a contact doesn't have one, you can add one with a contact import.

Tip: test with 2 or 3 rows first, then check those contacts' profiles. If the relationships show up, upload the full file.

Did this answer your question?