🎯 Automated ticket triage for HaloPSA with Gemini AI summary generation

⚑ 491 views · 🎯 AI Summarization & Classification

Description

What it is

This workflow listens for new tickets in HaloPSA via webhook, generates a professional AI-powered summary of the issue using Gemini (or another LLM), and posts it back into the ticket as a private note.

It’s designed for MSPs using HaloPSA who want to reduce triage time and give engineers a clear head start on each support case.

βΈ»

✨ Features β€’ πŸ”” Webhook trigger from HaloPSA on new ticket creation β€’ 🚧 Optional team filter (skip Sales or other queues) β€’ πŸ“¦ Extracts ticket subject, details, and ID β€’ 🧠 Builds a structured AI prompt with MSP context (NinjaOne, M365, CIPP) β€’ πŸ€– Processes via Gemini or other LLM β€’ πŸ“‘ Cleans & parses JSON output (summary, next step, troubleshooting) β€’ 🧱 Generates a branded HTML private note (logo + styled sections) β€’ 🌐 Posts the note back into HaloPSA via API

βΈ»

πŸ”§ Setup 1. Webhook β€’ Replace WEBHOOK_PATH and paste the generated Production URL into your HaloPSA webhook. 2. Guard filter (optional) β€’ Change teamName or teamId to skip tickets from specific queues. 3. Branding β€’ Replace YOUR_LOGO_URL and Your MSP Brand in the HTML note builder. 4. HaloPSA API β€’ In the HTTP node, replace YOUR_HALO_DOMAIN and add your Halo API token (Bearer auth). 5. LLM credentials β€’ Set your API key in the Gemini / OpenAI node credentials section. 6. (Optional) Adjust the AI prompt with your own tools or processes.

βΈ»

βœ… Requirements β€’ HaloPSA account with API enabled β€’ Gemini / OpenAI (or other LLM) API key β€’ SMTP (optional) if you want to extend with notifications

βΈ»

⚑ Workflow overview

πŸ”” Webhook β†’ 🚧 Guard β†’ πŸ“¦ Extract Ticket β†’ 🧠 Build AI Prompt β†’ πŸ€– AI Agent (Gemini) β†’ πŸ“‘ Parse JSON β†’ 🧱 Build HTML Note β†’ 🌐 Post to HaloPSA

πŸ”— Nodes Used

HTTP Request, Webhook, AI Agent, Google Gemini Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup