Back to Prompt Library
Dashboards & Feeds

Zendesk Support Dashboard

Track support ticket activity - recently solved tickets and open tickets needing attention

Guide

Zendesk Support Dashboard

Create a real-time dashboard showing your support team's ticket activity - recently solved tickets and open tickets that need attention.

Zendesk API Reference

EndpointMethodPurpose

/api/v2/ticketsGETList all tickets
/api/v2/searchGETSearch tickets by status, date, assignee
/api/v2/ticket_metricsGETTicket metrics (reply/resolution times)
/api/v2/users/{id}GETGet user/agent details

API Docs: developer.zendesk.com/api-reference/ticketing/tickets/tickets

Prerequisites

  • Activate OptiDev Cloud - Click the "OptiDev Cloud" button in your project

  • Get your Zendesk API token:

  • - Go to Zendesk Admin > Apps and Integrations > APIs > Zendesk API
    - Enable Token Access and create a new token
  • Add your Zendesk credentials - Go to OptiDev Cloud > Secrets and add:

  • - ZENDESK_SUBDOMAIN - Your subdomain (e.g., "mycompany" from mycompany.zendesk.com)
    - ZENDESK_EMAIL - Your Zendesk admin email
    - ZENDESK_API_TOKEN - Your API token

    Final Prompt

    ### Purpose
    I'm a support team lead and need a dashboard to display on our office TV showing ticket activity from Zendesk.
    
    ### Requirements
    Build a dashboard with two main feeds from Zendesk.
    
    **API Documentation**
    Use the Zendesk Support API:
    - Search Tickets: `GET https://{subdomain}.zendesk.com/api/v2/search?query={query}`
    - List Tickets: `GET https://{subdomain}.zendesk.com/api/v2/tickets`
    - Docs: https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/
    
    **Authentication**
    Use Basic Auth with email/token: `{email}/token:{api_token}`
    
    **Recently Solved Tickets Feed**
    - Search query: `type:ticket status:solved solved>={7_days_ago}`
    - Display: ticket subject, requester name, assignee, solved date
    - Sort by most recently solved
    - Show satisfaction rating if available
    
    **Open Tickets Needing Attention Feed**
    - Search query: `type:ticket status:open status:pending`
    - Highlight tickets older than 24 hours (urgent)
    - Display: ticket subject, requester, priority, created date, waiting time
    - Sort by oldest first (longest waiting)
    
    **Dashboard Layout**
    - Dark theme for TV display
    - Two-column layout: Solved Tickets on left, Open Tickets on right
    - Show counts at top: Total Open, Solved Today, Avg Response Time
    - Auto-refresh every 2 minutes
    - Date/time display in header
    
    **Backend Setup**
    I've activated OptiDev Cloud and added `ZENDESK_SUBDOMAIN`, `ZENDESK_EMAIL`, and `ZENDESK_API_TOKEN` in the project secrets. Use them to call the Zendesk API.
    AI-Powered App Builder | OptiDev