# Ticket management system with OpenAI: n8n workflow template

> Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/ticket-management-system-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Customer support](https://millionrounds.com/workflows?category=Customer+support#library)

# Ticket management system with OpenAI

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 19 steps, 4 branches: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fticket-management-system-with-openai)

**19 steps** Medium: a working afternoon

**4** Branches: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Model 1 Logic 4 Service 13

The steps in the order they run, from what starts it.

- 1 **Service Ticket Created** Taiga trigger *Starts it*
- 2 **Define Status** Open Ai *Model*
- 3 **Define Type** Switch *Logic*
- 4 **Set Type to Question** Taiga *Service*
- 5 **Set Type to Enhancement** Taiga *Service*
- 6 **Set Type to Bug** Taiga *Service*
- 7 **Set Type to Onboarding** Taiga *Service*
- 8 **Define Severity** Switch *Logic*
- 9 **Set Severity to Wishlist** Taiga *Service*
- 10 **Set Severity to Minor** Taiga *Service*
- 11 **Set Severity to Normal** Taiga *Service*
- 12 **Set Severity to Critical** Taiga *Service*
- 13 **Set Severity to Important** Taiga *Service*
- 14 **Define Priority** Switch *Logic*
- 15 **Set Priority To Low** Taiga *Service*
- 16 **Set Priority To Normal** Taiga *Service*
- 17 **Set Priority To High** Taiga *Service*
- 18 **More Info Needed?** If *Logic*
- 19 **Set to Needs Info & Block** Taiga *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 19, with 4 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fticket-management-system-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also customer support, with the same services where possible, closest in size first.

- [**Answer questions from documents with RAG and Supabase** 19 steps · calls a model · Google Drive, Supabase vectors](https://millionrounds.com/workflow/answer-questions-from-documents-with-rag-and-supabase)
- [**Create Linear tickets from Notion content with OpenAI** 19 steps · calls a model · Linear, Notion](https://millionrounds.com/workflow/create-linear-tickets-from-notion-content-with-openai)
- [**Mine pharma complaint trends and trigger CAPA alerts** 19 steps · calls a model · Slack](https://millionrounds.com/workflow/mine-pharma-complaint-trends-and-trigger-capa-alerts)
- [**Smart chat routing system with Gemini and Notion** 19 steps · calls a model · Notion](https://millionrounds.com/workflow/smart-chat-routing-system-with-gemini-and-notion)
- [**Sync website FAQs to Pinecone weekly with OpenAI** 19 steps · calls a model · Pinecone](https://millionrounds.com/workflow/sync-website-faqs-to-pinecone-weekly-with-openai)
- [**Convert PDF to PNG with PDF.co API** 19 steps](https://millionrounds.com/workflow/convert-pdf-to-png-with-pdf-co-api)
