manage_whatsapp_departments
Comprehensive WhatsApp department management tool supporting all department operations. Perfect for organizing team structure, managing agent assignments, and customizing department appearance. Supports all WhatsApp department operations through a unified action-based interface.
Available actions:
list: List and retrieve all departments with complete information
create: Create new departments with agents, colors, and icons
update: Update existing department information and agent assignments
delete: Delete departments (removes department but preserves agent assignments)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Department icon identifier | |
| name | No | Department name (required for create, optional for update) | |
| color | No | Department color for visual identification | |
| action | Yes | Action to perform on WhatsApp departments | |
| agents | No | Array of agent IDs to include in the department (required for create, optional for update) | |
| device | Yes | WhatsApp device ID connected to Wassenger (24 character hexadecimal string) | |
| description | No | Department description (max 300 characters) | |
| departmentId | No | Department ID (required for update, delete actions) |