- Home
- Skills
- Workflow Automation
- Complaint Triage
Complaint Triage
Triage customer complaints into prioritized queues with PII redaction and policy-grounded draft replies.
Free
Complaint Triage
Example session with this skill installed
I have 50 customer complaints in complaints.csv. Triage them using the retail policies in ./docs/policies and generate a prioritized queue with draft replies.
- Read your context and instructions
- Compiled the complaint triage
- Generated the data export
I have processed 50 complaints from complaints.csv. I redacted PII (emails, cards, and phones) and indexed 12 policy sections from ./docs/policies. 42 items were successfully triaged, while 8 items with low confidence scores were routed to the review queue.
Triage Summary
| Priority | Count | Key Issues |
|---|---|---|
| P1 | 3 | Credit card double-charging, Account lockout |
| P2 | 12 | Late deliveries, Damaged items |
| P3 | 22 | General feedback, Feature requests |
| P4 | 5 | Thank you notes, Closing tickets |
| Review | 8 | Ambiguous phrasing, Mixed category triggers |
Sample P1 Triage Result
ID: req_9921
Category: Billing
Priority: P1
Reason: Triggered "double-charge" rule in config.json.
Draft: I apologize for the double-charge on your recent order. I have initiated a reversal for the duplicate transaction, which should reflect in 3-5 days. (per Billing Policy §4.1)
Files Generated
triage/queue.csv: Full prioritized work list for agents.triage/review.csv: 8 items requiring manual categorization.triage/results.jsonl: Raw triage data and confidence scores.triage/summary.md: Detailed breakdown of sentiment and categories.
Next steps
- Open
triage/review.csvto manually handle the 8 low-confidence tickets. - Review P1 drafts in
triage/queue.csvbefore sending to customers. - Add any manual corrections to
triage/corrections.jsonlto improve future accuracy.
complaints.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual triage of support tickets at scale is expensive and prone to inconsistent priority mapping. This skill provides a standardized engine for categorizing complaints, assigning P1-P4 priorities based on your specific business rules, and drafting policy-compliant replies with citations.
What it does
- PII Redaction automatically replaces emails, phone numbers, and card details to maintain privacy during processing.
- Priority Scoring assigns P1 through P4 levels by matching complaint text against your internal priority rules.
- Policy Grounding searches your specific Markdown or text policy documents to find relevant sections for every issue.
- Automated Drafting generates initial response suggestions that follow your tone guidelines and include exact policy citations.
- Confidence Scoring flags ambiguous or complex cases for human review rather than guessing the category.
How it works
- Initialize Workspace by setting up a config file with your specific categories, priority triggers, and policy directory.
- Prepare Data using the
prep.pyscript to normalize inputs from CSV, JSON, or text files while redacting sensitive data. - Index Policies to create a searchable map of your business rules and support documentation.
- Execute Triage where the agent analyzes each complaint to determine sentiment, category, and priority.
- Generate Queue via the
report.pyscript to output a sorted CSV of actions and a summary of high-priority escalations.
Frameworks & tools
This skill utilizes Python 3.8+ standard libraries for data processing and pypdf for policy ingestion. It interfaces with local JSONL storage for state management and includes specialized scripts for validation and PII cleaning.
Why this beats prompting it yourself
Generic prompts often ignore specific company policies or invent non-existent refund windows. This skill uses a multi-step verification loop that checks drafts against your actual documents and enforces banned phrase lists, ensuring every response is grounded in your specific business logic.
Use cases
- E-commerce Support to flag shipping delays as P2 and payment failures as P1.
- Support Scaling for small teams needing to clear high-volume ticket backlogs.
- Compliance Auditing to ensure support staff are citing the correct policy sections.
Known limitations
PDF support requires the optional pypdf library. Response drafting is limited to the words and remedies found within the provided policy documents.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Creator
Rohith Parimi
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.