JevMade Sign in
← Back to guides

JevMade field notes / Python support-ticket recipe

Sort support tickets before drafting investigation plans

Perplexity’s Python recipe asks three questions about each support ticket, assigns routes in code and optionally drafts investigation plans only for tickets marked for urgent attention.

Original by PerplexityAgent workflows

Listen to this guide

JevMade’s plain-English explanation

0:00 /

AI narration

Credits

“Triage Support Tickets with the Decisions API” by Perplexity. Read the original source.

This expanded guide is an AI-narrated adaptation prepared by JevMade. It expands the source’s essential ideas, examples and caveats in JevMade’s own words and is not a word-for-word reading. The synthetic voice does not imitate the author or imply their endorsement.

Our summary

Perplexity’s recipe sorts twelve fictional support tickets and can optionally draft investigation plans. Its own decision model, not Jev, judges whether a person needs to act, what the customer wants and how serious the impact is. Python code then labels each ticket with what should happen next.

The rules check danger first, including the probability of the most serious outcome, not only average severity. Unclear categories get a review label before low-risk tickets can qualify for automation. An optional service drafts plans for tickets marked for urgent attention; the script does not contact responders, send replies or carry out repairs.

Perplexity reports three tickets marked urgent in its twelve-ticket run, not a real-world success rate. Its example numbers determine which label a ticket gets. Test those numbers against tickets people have checked and labelled. Saved results are model predictions, not verified answers, and the whole ticket goes to Perplexity.

Key takeaways

  1. Check the chance of a serious outcome before uncertainty and automation; an average can hide a dangerous possibility.
  2. Leave room around borderline answers and test routing changes against tickets people have labelled, not model answers alone.
  3. Distinguish assigning an automated route from actually replying, and account separately for optional investigation calls.

Results and timing are Perplexity’s September 30 observations on fictional tickets. The script stops on classification failure before writing new results, so an earlier output file can remain. The optional Agent API step has separate usage costs. No publication date or narration permission was verified.

Perplexity API Cookbook

Read the original guide Opens the author’s site in a new tab.

Keep this for later

Sign in to bookmark experiments, guides and videos, and keep notes only you can see.

Continue to sign in

We’ll bring you back to this listing.