Workflows· Customer Support & Service

    The Ticket Pipeline

    The Ticket Pipeline automatically categorizes new IT support tickets, searches the knowledge base for matching solutions, and routes them to the responsible team for a final human check before a reply goes out.

    automatinganalyticalwriting

    Description

    Steps

    Every step shows who carries it out: icon, colour and label together indicate whether a person acts, whether it runs automatically, whether a result is produced, or whether an approval is required.

    01Person

    A new IT support ticket with a ticket ID, subject and description comes in and starts the process.

    02Automated

    03Automated

    04Automated

    05Result

    Key
    PersonAutomatedResultApproval

    Requirements and operations

    Requirements

    • Ticket system Zendesk, Freshdesk, Jira Service Management or comparable, with API access and write permissions for comments and assignments.
    • Knowledge base Notion, Confluence, GitBook or another system with maintained solution articles, searchable via the respective API.
    • Team mapping A fixed assignment of category (hardware, software, network, access) to the responsible team.
    • LLM access API access to a language model, for example from OpenAI, Anthropic or Google.

    Testing

    • Test ticket Run through a realistic problem, for example a WiFi connection that does not work in the office.
    • Categorization Check whether the ticket is correctly assigned to one of the four categories.
    • Solution proposal and routing Check whether the knowledge base matches are relevant and the right team is assigned.
    • Edge cases Test the five most common IT cases and at least one case with no match in the knowledge base.

    Go-live

    • Approval to start Activate the workflow only once categorization, solution proposal and team routing are reliably correct.
    • Pilot Start with a single team or a single queue instead of going straight to full operation.
    • Monitoring Track the rate of automatically resolved tickets and the escalation rate.
    • Self-learning loop Collect misclassifications and refine the prompt based on these cases.

    Common issues

    • Categorization is imprecise Extend the prompt with examples for each category.
    • No knowledge base matches Check whether the search is too narrow or the knowledge base indexing is incomplete.
    • Incorrect team assignment Validate the mapping of category to team.
    • API authentication fails Check tokens and write permissions.

    Builder Prompt

    GOAL
    Build a workflow that starts automatically on every newly incoming IT support ticket: categorization, a knowledge base search, deriving a solution proposal, and automatically assigning the ticket to the responsible team.
    
    Adapt the structure to the concepts of your automation tool (for example nodes, steps, zaps or agent actions). While doing so, preserve the trigger logic, the sequence and the data flow.
    
    TRIGGER
    Type: webhook or native integration with your ticket system (Zendesk, Freshdesk, Jira Service Management or comparable).
    Input: ticket ID, subject, description.
    
    STEPS
    1. AI step: categorization. Use exactly the Ticket Categorization working prompt (see the Working Prompts section). Output: JSON with category, urgency (1 to 5) and reasoning.
    2. Search the knowledge base: using the category and the core terms from the description, find similar, already resolved tickets and matching solution articles, including links to the matches.
    3. AI step: solution proposal. Use exactly the Solution Proposal working prompt (see the Working Prompts section) with the matches found as input. Output: formatted markdown comment.
    4. Add the comment: save the solution proposal as an internal comment on the ticket, not as a reply to the customer.
    5. Assignment: assign the ticket automatically via the category to team mapping (hardware, software, network, access). Optionally derive the priority from the urgency.
    
    PROMPTS
    Take over both working prompts from the section of the same name unchanged. Do not alter the placeholders they contain, and map them as described in the data flow.
    
    DATA FLOW
    Trigger to step 1: ticket ID, subject, description.
    Step 1 to steps 2, 3 and 5: category; urgency additionally for an optional priority.
    Step 2 to step 3: knowledge base matches found.
    Step 3 to step 4: formatted comment.
    
    ERROR HANDLING
    No knowledge base matches: do not abort the run. In this case, the Solution Proposal working prompt provides general best practices for the identified category.
    No valid JSON from step 1: retry once, then assign the ticket to the standard triage team and log the error.
    Category not clearly identifiable: choose the most likely category and state the uncertainty in the reasoning.
    API error while commenting or assigning: log the error and notify the workflow owner.
    
    PLACEHOLDER CONVENTION
    All placeholders in square brackets inside the two working prompts are fully mapped dynamically, as described in the data flow. There are no placeholders that require manual configuration in the prompts themselves. Only the system access credentials and the category to team mapping are configured manually.
    
    SELF CHECK BEFORE COMPLETION
    Check, before you report the workflow as finished:
    1. Are all five steps connected correctly and in the right order?
    2. Are both working prompts inserted in full and unchanged, and are all placeholders mapped?
    3. Is the JSON from step 1 parsed correctly, and is the comment saved as an internal comment, not as a reply to the customer?
    4. Are all points listed that require manual configuration: ticket system access, knowledge base access, the category to team mapping, and LLM access?

    Working prompts

    Ticket Categorization

    Assigns an incoming ticket to one of the four categories and estimates its urgency.

    You are an IT support assistant who analyzes and categorizes incoming support tickets.
    
    Analyze the following support ticket:
    
    Ticket ID: [TICKET_ID]
    Subject: [TICKET_SUBJECT]
    Description: [TICKET_DESCRIPTION]
    
    Your task:
    1. Identify the main problem in the ticket description.
    2. Assign the problem to EXACTLY ONE of the following categories:
    - Hardware (physical devices, printers, monitors, keyboards and similar)
    - Software (applications, programs, licenses, updates and similar)
    - Network (WiFi, VPN, connection issues, internet outages and similar)
    - Access (login problems, passwords, permissions, account management and similar)
    3. Rate the urgency on a scale from 1 (low) to 5 (critical).
    
    Respond in the following JSON format:
    {
      "category": "[Category]",
      "urgency": [1-5],
      "reasoning": "[Brief reasoning in one to two sentences]"
    }

    Solution Proposal

    Creates a structured comment with solution suggestions from the knowledge base matches found.

    You are an IT support expert who creates solution proposals for support tickets.
    
    Current ticket:
    - Category: [CATEGORY]
    - Subject: [TICKET_SUBJECT]
    - Description: [TICKET_DESCRIPTION]
    
    Knowledge base articles and similar tickets found:
    [KNOWLEDGE_BASE_RESULTS]
    
    Your task:
    Create a structured comment for the support team with the following information:
    1. Summary of the problem (one to two sentences)
    2. The three most likely solution suggestions based on the articles found
    3. Links to the relevant knowledge base articles
    4. Recommended next steps for the support team
    
    Format the comment professionally and practically. Use markdown for better readability.
    
    Important: if no matching articles were found, provide general best practices for the [CATEGORY] category.

    JSON export

    Setup

    Two routes lead to the same result. Pick the one that fits your setup.

    Suitable when you want to build the workflow in your own automation tool.

    1. Open your workflow tool, for example n8n, Make, Zapier or Langdock.
    2. Create a new workflow and give it a name.
    3. Choose the AI-assisted build option if your tool offers one.
    4. Paste the builder prompt from above in full.
    5. Check the result against the step sequence in this document, then add your access credentials and channels.

    Suitable when you want to take the workflow over unchanged.

    1. Download the JSON file from the JSON export section.
    2. Open the workflow area of your tool and create a new workflow.
    3. Give it a name and confirm.
    4. Open the menu on the workflow name and choose to import a JSON file.
    5. Upload the file, then add your own access credentials.
    6. Run a test before you activate the workflow.

    Last reviewed:

    In the workshop this becomes your method.

    A single prompt becomes a repeatable method. We show that in the workshop From Prompt to Method.

    View workshops

    Related resources

    Browse all resources

    Conversation, not pitch

    Understand first, then decide. We take time for an initial conversation, without sales pressure, without obligation.

    Schedule a call