.setDepartments()

This API lets you set a department list that needs to be shown to the visitor.

Example

CopiedList<String> departmentList = ["Marketing", "Legal"];

ZohoSalesIQ.setDepartments(departmentList);