n8n

How to Automate Discord Ticket Triage?

Speed up service desk intake by sending each request to the right Discord channel with clear next steps. Great for support teams that share one inbox and need fast routing to IT, helpdesk, or customer success.

Incoming messages post to an n8n webhook. An OpenAI GPT 4 node reads the text and returns simple JSON with a category and an instruction. A JSON parse step cleans the reply so it is safe to read. A switch checks the category and sends the message to one of three Discord webhooks for user success, IT, or helpdesk. If the category is unknown, it goes to a no operation path so nothing noisy is posted.

You will need an OpenAI API key and three Discord incoming webhooks, one per channel. Expect a big drop in triage time and fewer misrouted tickets. Common uses include routing urgent issues to IT, new tickets to helpdesk, and customer praise to the success team. Most teams can get this running in under an hour with basic testing and a few sample messages.

What are the key features?

  • Webhook intake collects messages from any form, app, or service that can send a POST request.
  • OpenAI GPT 4 classifies each message and writes a simple JSON reply with category and instruction.
  • JSON parse step normalizes the model output and handles line breaks safely.
  • Switch based routing sends messages to user success, IT, or helpdesk channels.
  • Discord webhook posts deliver clear action text to the right channel.
  • Fallback to a no operation path prevents bad categories from spamming channels.
  • Manual trigger included for safe test runs during setup.

What are the benefits?

  • Reduce triage time from 30 minutes to under 1 minute
  • Automate up to 90% of request routing to the right team
  • Improve assignment accuracy by 95% with clear categories
  • Connect intake and Discord without manual copy and paste
  • Handle 10 times more requests with the same team

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and Discord. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n canvas, open the Webhook node and copy the unique URL. Keep the method as POST. This is where your app or form will send messages.
  4. Open the OpenAI node. In the Credential to connect with dropdown, click Create new credential, paste your OpenAI API key from your OpenAI account API page, and save.
  5. Confirm the model is set to GPT 4 and temperature near 0.5. The system message should ask for a JSON reply with category and instruction only.
  6. Create three Discord incoming webhooks in your Discord server, one in each target channel for user success, IT, and helpdesk. Copy the webhook URLs.
  7. Open each Discord node in n8n and paste the matching webhook URL into the webhook field. Use the instruction field to send the action text from the parsed JSON.
  8. Click Execute Workflow in n8n, then from another tab send a POST request with a sample support message to the webhook URL using a tool like Postman or curl.
  9. Check the Parse JSON node output. You should see gpt_reply with category and instruction fields. If not, adjust the OpenAI prompt to return clean JSON only.
  10. Send three more tests that fit urgent issue, ticket, and success story. Verify each Discord channel receives the correct instruction text.
  11. If no message arrives in Discord, confirm the webhook URL and channel permissions. If items hit the no operation path, add a new switch rule or refine the categories in the prompt.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Discord

Sign up

Free: $0 / mo (no API usage fees; standard rate limits apply)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.