PRODUCTION · IT TICKET DASHBOARD

The IT queue, at a glance — refreshed every 15 minutes.

Wrangle Dashboard is a live HTML dashboard for Your Policy's IT support queue. It polls the Wrangle API every 15 minutes, renders KPIs and a sortable ticket table, and gates access behind Microsoft Entra ID SSO with an email allow-list.

6 KPIs · 2 filter rows Entra SSO · email allow-list wrangle.your-policy.ai ↗ GitHub ↗
COMPONENTS
01 · Refresh Loop
⏱️
Internal · Railway
Polls Wrangle every 15 minutes

A single Node process pulls the Systems inbox from the Wrangle API on a fixed interval, fetches the full detail for each ticket to get its Slack permalink, and re-renders the dashboard HTML in memory. No database — permalinks are cached as JSON on /tmp so each ticket is fetched only once.

Source Wrangle API · Systems inbox
Cadence Every 15 min (configurable)
Cache JSON file on /tmp · cleared on redeploy
Stack Node.js · Railway
Internal service · backend
02 · Dashboard UI
📊
Live · wrangle.your-policy.ai
KPIs, filters, and a sortable table

Six KPI cards across the top — open, unassigned, oldest, opened today, opened this week, resolved today. Two filter rows of colored pills compose: Agent (All / Unassigned / Matt / Alex) and Status (All / New / In progress / On hold). Ticket numbers link to the original Slack thread; ages older than 90 days turn red.

KPIs 6 cards · live counts
Filters Agent + Status · composable
Table Sortable · Slack-linked ticket numbers
Refresh Server-side · reload page for newest data
Open dashboard ↗
03 · Access Control
🔐
Internal · Entra ID
SSO gate with email allow-list

Every request hits a Microsoft Entra ID OAuth flow with PKCE. After sign-in, the service reads the user's email from Graph and checks it against a comma-separated allow-list. Sessions are JWT-signed cookies with a configurable lifetime, defaulting to 8 hours.

Identity Microsoft Entra ID (Graph /me)
Flow OAuth 2.0 with PKCE
Allow-list Comma-separated emails (env var)
Session JWT cookie · 8h default
Auth layer · no UI
Runtime
Node.js HTTP server In-memory HTML
Data Sources
Wrangle API Slack Web API chat.getPermalink
Auth
Entra ID OAuth 2.0 · PKCE JWT sessions Email allow-list
Infrastructure
Railway Custom domain /tmp cache

Wrangle Dashboard is an internal tool at YourPolicy — replacing an earlier Slack canvas implementation that hit hard limits on foreign- owned canvas edits, content duplication, and missing interactive rendering.