Orkes logo image
Product
Platform
Orkes Platform thumbnail
Orkes Platform
Agentspan thumbnail
Agentspan
Orkes Conductor Vs Conductor OSS thumbnail
Orkes vs. Conductor OSS
Orkes Cloud
Try enterprise Orkes Cloud for free
Enjoy a free 14-day trial with all enterprise features
Start for free
Capabilities
Microservices Workflow Orchestration icon
Microservices Workflow Orchestration
Enable faster development cycles, easier maintenance, and improved user experiences.
Realtime API Orchestration icon
Realtime API Orchestration
Enable faster development cycles, easier maintenance, and improved user experiences.
Event Driven Architecture icon
Event Driven Architecture
Create durable workflows that promote modularity, flexibility, and responsiveness.
Human Workflow Orchestration icon
Human Workflow Orchestration
Seamlessly insert humans in the loop of complex workflows.
Process orchestration icon
Process Orchestration
Visualize end-to-end business processes, connect people, processes and systems, and monitor performance to resolve issues in real-time
Agentic workflows icon
Agentic Workflows
Transform your workflows into agentic experiences while maintaining full compliance and control
Use Cases
By Industry
Financial Services icon
Financial Services
Secure and comprehensive workflow orchestration for financial services
Media and Entertainment icon
Media and Entertainment
Enterprise grade workflow orchestration for your media pipelines
Telecommunications icon
Telecommunications
Future proof your workflow management with workflow orchestration
Healthcare icon
Healthcare
Revolutionize and expedite patient care with workflow orchestration for healthcare
Shipping and logistics icon
Shipping and Logistics
Reinforce your inventory management with durable execution and long running workflows
Software icon
Software
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean leo mauris, laoreet interdum sodales a, mollis nec enim.
Docs
Developers
Learn
Blog
Explore our blog for insights into the latest trends in workflow orchestration, real-world use cases, and updates on how our solutions are transforming industries.
Read blogs
Check out our latest blog:
How Conductor Skills Teaches AI Agents to Build Workflows
Customers
Discover how leading companies are using Orkes to accelerate development, streamline operations, and achieve remarkable results.
Read case studies
Our latest case study:
Twilio Case Study Thumbnail
Orkes Academy New!
Master workflow orchestration with hands-on labs, structured learning paths, and certification. Build production-ready workflows from fundamentals to Agentic AI.
Explore courses
Featured course:
Orkes Academy Thumbnail
Events icon
Events
Videos icons
Videos
In the news icon
In the News
Whitepapers icon
Whitepapers
About us icon
About Us
Pricing
Get a demo
Signup
Slack FaviconDiscourse Logo icon
Get a demo
Signup
Slack FaviconDiscourse Logo icon
Orkes logo image

Company

Platform
Careers
HIRING!
Partners
About Us
Legal Hub
Security

Product

Cloud
Platform
Support

Community

Docs
Blogs
Events

Use Cases

Microservices Workflow Orchestration
Realtime API Orchestration
Event Driven Architecture
Agentic Workflows
Human Workflow Orchestration
Process Orchestration

Compare

Orkes vs Camunda
Orkes vs BPMN
Orkes vs LangChain
Orkes vs Temporal
Twitter or X Socials linkLinkedIn Socials linkYouTube Socials linkSlack Socials linkGithub Socials linkFacebook iconInstagram iconTik Tok icon
© 2026 Orkes. All Rights Reserved.
Back to Blogs

Table of Contents

Share on:Share on LinkedInShare on FacebookShare on Twitter
Worker Code Illustration

Get Started for Free with Dev Edition

Signup
Back to Blogs
PRODUCT ENGINEERING

Build an Agentic Workflow: Automate a Technical Ticket Triage

Maria Shimkovska
Maria Shimkovska
Content Engineer
December 10, 2025
5 min read

Related Blogs

How to Connect Supabase to Orkes Conductor | Build the Integration Yourself

Nov 6, 2025

How to Connect Supabase to Orkes Conductor | Build the Integration Yourself

Connect Supabase and Orkes Conductor in a Couple of Minutes | No Code Needed

Nov 5, 2025

Connect Supabase and Orkes Conductor in a Couple of Minutes | No Code Needed

Discover how easy it is to build your own personalized AI agent! This hands-on guide walks you through the basics; then shows you how to create a fun, tool-using ghost chatbot to make it your own.

Oct 31, 2025

Discover how easy it is to build your own personalized AI agent! This hands-on guide walks you through the basics; then shows you how to create a fun, tool-using ghost chatbot to make it your own.

Ready to Build Something Amazing?

Join thousands of developers building the future with Orkes.

Start for free

Company X employees are frustrated juggling support tickets. Learn how an agentic workflow can auto-triage issues so engineers get back to building.


Cover illustration for the article Build an Agentic Workflow: Automate a Technical Ticket Triage

Section 1 — The Problem: Company X’s Ticket Triage Issues

We have Company X. Company X sells software that helps customers create shipping labels. Sometimes the software runs into problems, like expired certificates, incorrect setup in an environment, confusing error messages, or urgent “we’re blocked” issues right before a deadline, or issues with logging in.

Their support team is skilled and knows how to troubleshoot. The issue is how the customer requests come in. Customers send unstructured emails, and an engineer has to manually turn each one into a proper support ticket.

That usually means reading long email threads with logs, screenshots, and forwarded messages, pulling out the important details (customer/account, environment, exact error, how urgent it is), rewriting it into the company’s ticket format, and sending it to the right queue. This repetitive admin work slows down the first response and uses up engineer focus before anyone even starts fixing the customer’s actual problem.

The current routing rulesThe outcome Company X wants
Company X routes tickets with two simple internal teams:

Team 1: Certificate Support (existing customers only)
Handles expired certificates, but only for existing customers.

Team 2: General Technical Support
Handles everything else—new user questions, product bugs, and non-certificate issues.

The challenge is that the inbox doesn’t arrive labeled. Emails are unstructured, but the support process requires structure.
When an email arrives, Company X wants the system to automatically:

- Classify the request (certificate issue vs everything else)
- Extract the details engineers always need (customer/account, environment, errors, urgency, relevant context)
- Route it to the correct team with a clean summary

To fix this, they decide to implement an agentic workflow to handle triage automatically and they turn to Conductor.

Next, in Section 2, I’ll show exactly how Conductor solves this problem.

Section 2 — The Solution: How Orkes Conductor Automates Triage (Workflow Walkthrough)

To get rid of manual sorting, Company X builds an agentic workflow in Orkes Conductor that turns unstructured emails into structured, auto-routed tickets. The entire workflow follows this simple pattern:

  1. Take in the customer email
  2. Remove important information with AI
  3. Make the AI output reliable
  4. Automatically route to Team 1 or Team 2 and format the ticket

Even though LLMs are involved, this agentic workflow is deterministic because Conductor handles all orchestration logic. Only one step in the workflow "thinks". Everything else is explicit and repeatable. So if you are worried about the AI going off the rails, you can use the the rest of the features we have built to reign it in.

Here is what the workflow looks like:

Cover illustration for the article Build an Agentic Workflow: Automate a Technical Ticket Triage

If you are a type to want to dive into the weeds more, I broke down the steps of how this workflow works, step-by-step.

Step 1 — AI analysis: turn the raw email into structured fields

Conductor task: analyze_ticket_with_ai (LLM_TEXT_COMPLETE)

The workflow starts by sending three inputs to the LLM task:

  • ${workflow.input.emailFrom}
  • ${workflow.input.emailSubject}
  • ${workflow.input.emailBody}

In Conductor's Prompt Studio, you can define a prompt (ticket_triage_analyzer) that teaches the model Company X's routing rules and asks it to return strict JSON, not long prose.

Here is what a trimmed version of the required schema looks like this:

json
{
  "customerName": "string|null",
  "customerEmail": "string|null",
  "subject": "string|null",
  "issueDescription": "string",
  "isCertificateIssue": true,
  "isExistingCustomer": true,
  "priority": "low|medium|high|critical",
  "sentiment": "positive|neutral|negative|frustrated",
  "suggestedTeam": "team1|team2",
  "reasoning": "string"
}

The most important field is suggestedTeam, which includes the routing rules:

  1. Team 1: Certificate issues from existing customers
  2. Team 2: Everything else (including certificate issues from new prospects)

Prompt Studio lets you build and test this very quickly, ensuring the model consistently outputs valid JSON Conductor can use.

Screenshot of the prompt building feature in Orkes Conductor.

Instead of writing the prompts in code and make calls to various APIs, you can do it all visually. Take a look on the left side, you can see that you can write your prompt and specify the LLM model. On the right you can see that you can also very easily test the prompt.

Step 2 — Guardrails: parse and normalize the model output

Conductor task: parse_ai_response (INLINE)

LLMs outputs sometimes wrap JSON in code fences or include extra text. To keep the workflow reliable, a lightweight INLINE task cleans and parses the output. The script looks for JSON inside the models response, removes any sjon fences in they are present, attempts a safe JSON.parse, and returns a normalized object like:

json
{
  "success": true,
  "data": { ...structured fields from the model... },
  "extractedAt": "2025-12-10T15:23:41Z"
}

If parsing ever fails, the workflow can flag the ticket for human review instead of silently breaking.

This single guardrail step makes the rest of the workflow deterministic and dependable in production.

Step 3 - Routing: send to Team 1 or Team 2 using a SWITCH task

Conductor task: route_to_team (SWITCH)

With reliable fields from the AI step, routing is simply:

json
switch on:  suggestedTeam
cases:
  - team1 → format Team 1 ticket
  - team2 → format Team 2 ticket

Each branch has an INLINE task that assembles the final ticket payload.

Here’s the Team 1 version (Team 2 is nearly identical with different labels):

javascript
(function() {
  var ai = $.aiData;
  var meta = $.ticketData;

  return {
    ticketId: 'CERT-' + new Date().getTime(),
    team: 'Team 1 - Certificate Renewals',
    priority: ai.priority || 'medium',
    customerName: ai.customerName,
    customerEmail: ai.customerEmail,
    subject: ai.subject,
    category: 'Expired Certificate - Existing Customer',
    description: ai.issueDescription,
    sentiment: ai.sentiment,
    aiReasoning: ai.reasoning,
    assignedTo: 'cert-renewal-team@companyx.com',
    createdAt: meta.extractedAt,
    metadata: {
      customerType: 'Existing',
      issueType: 'Certificate',
      autoTriaged: true
    }
  };
})();

Team 2 uses a different ID prefix (TECH-…), team label, and category, but pulls from the same normalized AI output.

Step 4 — (Optional) Send the ticket to your support system

The formatted ticket object is now ready to be created in Jira, Zendesk, Freshdesk, or any internal system. This can be done with a simple Conductor HTTP task or whatever integration Company X prefers.

Company X engineers can use this workflow to automatically have their tickets sorted. Manual triage disappears, engineers get clean and consistent tickets, and customers get faster replies. It's a win-win-win situation. 🥳