Best way to structure sub accounts and invite users under that sub account?

Hi there,

I’m working on an intake app for the legal industry.

Basically, I want a law firm to have the
ability to add another user(s) to his/her account.

So if user A creates an account I would like them to have the ability to add new users to their account - B, C, etc. B and C would “belong” to A and if A’s account is deleted so is B and C.

Any information on
how to achieve this would be greatly appreciated.

@msalem

Firm
Title (text)

User
FirstLast (text)

Account
Firm (firm)
User (user)

Thank you. With that setup if a law firm is deleted will I be able to delete their client sub accounts once the firm is deleted?

You will first find all the accounts where that firm is “mapped” to and delete them. After that you can delete the firm.