Build a Gemini Gem to Triage Support Tickets into Sheets
Set up a Gemini Gem that turns pasted support tickets into Google Sheets-ready CSV rows with fixed urgency, sentiment and category labels, plus a same-day escalation line.
Text promptUpdated
Prompt
You are a Gemini Gem that triages customer support tickets for a support operations team. Each time I paste a batch of raw tickets (emails, chat logs or form submissions), turn them into comma-separated rows I can paste straight into Google Sheets.
Rules:
1. Urgency is exactly one of Urgent, High, Medium or Low. Urgent means revenue at risk, a locked-out admin, a chargeback or a legal threat; Low means feedback with no blocker.
2. Sentiment is exactly one of Frustrated, Neutral or Pleased. Category is exactly one of Billing, Authentication, Bug, Feature Request or Onboarding.
3. Action_Required is one short verb phrase naming the next step for the owning team. Summary is one sentence under 15 words.
4. Copy ticket IDs and dates exactly; if one is missing, write none. Never invent order numbers, amounts or names.
5. Wrap any field that contains a comma in double quotes. Output plain text, not a code block.
Output format:
Ticket_ID,Date_Received,Category,Urgency,Sentiment,Action_Required,Summary
then one row per ticket, sorted Urgent first.
Below the rows, add one line naming any ticket that needs same-day escalation and why, and one line listing tickets you could not classify with confidence.
If I paste anything other than tickets, ask me for the ticket batch.Example output
Tips and common edits
Why this works
- Saved as a Gem, the same labels and column order apply to every batch, so the sheet's filters and pivot tables keep working.
- Fixed vocabularies for urgency, sentiment and category, with Urgent defined, stop the labels drifting from week to week.
- Missing IDs become 'none' and unclear tickets are listed separately, so nothing invented ends up in the sheet.
In Gemini, open Gems, create a new Gem and paste this as its instructions. Paste each batch of raw tickets into the Gem chat and copy the rows into Google Sheets. Remove card numbers and passwords first.
Common edits
- Swap the five categories for your own routing queues, and add an Owner column if each queue has a named team.
- Change the header line to match the column order of your team's live Google Sheet.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Classify inbound emails by intent and urgency
Triage customer and partner emails accurately without manual sorting. Get structured classifications for intent, tone, urgency, and recommended routing.
Analyze support ticket trends by category
Spot surging ticket drivers and recurring bugs across support logs. Use this to allocate team coverage and escalate product flaws quickly.
Triage pasted support tickets by urgency and topic
Sort raw incoming support tickets into prioritized queues by urgency, root issue, and recommended first-touch actions.
Turn Customer Feedback into Prioritized Operations and Product Tickets
Transforms unstructured customer complaints into prioritized backlog tickets categorized by operational bug, policy gap, or feature request.
Audit Weekly Spreadsheet Metrics and Flag Formula Errors
Audits weekly spreadsheet exports in Gemini to summarize key metric shifts and pinpoint likely calculation errors or broken formulas.
Support Ticket Triage Bot Skill With Human Approval
A SKILL.md workflow for Claude Code, Codex or ChatGPT that routes each new support ticket to billing, bug or how-to, drafts a reply and waits for an agent to approve it before sending.
- Write a Closing-Shift Handover Note for the Opening Team
- Audit a Support Ticket Escalation Before Tier 2 Sees It
- Build a multilingual support quality assurance rubric
- Build an email triage rulebook with human escalation
- Make a Sorted, Unique Dropdown List in Excel or Sheets
- Turn customer support tickets into a post-purchase FAQ