# Team Management

The Team Management module in Squarebox allows administrators to invite team members, assign roles, and manage permissions to ensure smooth collaboration. By restricting access based on roles, organizations can streamline workflows and ensure data security. This feature is particularly useful when managing teams for sales, customer support, and other departments.

#### User Roles & Permissions

Squarebox currently supports three roles with varying permissions:

1. **Admin**
   * Full access to all features, including managing users, permissions, and organization settings.
   * Ability to view, create, and delete campaigns, templates, and customer data.
   * Assign conversations and oversee team activities.
2. **Account User**
   * Access to most features like managing campaigns, sending messages, and viewing customer data.
   * Cannot manage user permissions or delete organizational settings.
3. **Support**
   * Restricted to **Chats** and **Notifications** modules.
   * Can respond to messages but cannot access campaigns or customer settings.

> **Note:** Future updates will include specific roles for **Sales** and **Marketing** teams.

#### Adding Team Members

Admins can add new team members and assign roles in just a few steps:

1. **Navigate to Team Management**:\
   Go to **Settings** → **Team**.
2. **Invite a Team Member**:
   * Click **Add Team Member** on the top-right corner.
   * Enter the **User Name** and **Email ID**.
   * Select the **User Type** (Admin, Account User, or Support) from the dropdown.
3. **Send Invite**:\
   Click **Send Invites**. An email will be sent to the team member to activate their account.

#### Managing Team Members

* **Edit User**: Update roles, permissions, or details for an existing team member.
* **Remove User**: Admins can remove team members who no longer require access.
* **Track Activity**: View the **Last Active** status to monitor team engagement.

***

#### Use Case Examples

1. **Customer Support Team**\
   Assign the **Support** role to team members handling customer queries. They will have access to the **Chats** module only, ensuring they focus on resolving queries.
2. **Sales Team** (Upcoming)\
   Assign restricted access to manage leads, send campaigns, and nurture prospects without accessing admin settings.
3. **Marketing Team** (Upcoming)\
   Provide access to campaign management, integrations, and assets for running targeted campaigns.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://squarebox-ai.gitbook.io/squarebox/others/team-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
