The Widgets feature in the Call Center system allows administrators to design and integrate custom dashboard elements using SQL queries. These widgets are used to visually represent key metrics, summaries, or KPIs for call center operations in real-time.

Add Widget

Name: The title of the widget as it will appear on the dashboard.
Background Color: A dropdown for selecting the widget’s background color.
Widget Query: A SQL query that defines the data displayed by the widget. This must return a single value or count suitable for display (e.g., SELECT COUNT(*) FROM calls WHERE status = 'answer'
).
Widget Description: A short explanation of what the widget displays.