Templates / Route procurement helpdesk tickets from Gmail with Groq and Slack

Route procurement helpdesk tickets from Gmail with Groq and Slack

Ready for 3.0

by WeblineIndia ✓ · 15 views · created 2026-07-14 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets, Groq Chat Model and Slack. It also calls jsonplaceholder.typicode.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Extract Email & Ticket Details (Code): runs custom JavaScript code
  2. Check Existing Ticket Thread (Google Sheets): uses Google Sheets
  3. Is This a New Ticket? (If): checks a condition and branches into true / false
  4. AI Procurement Ticket Classifier (AI Agent): runs an AI agent, with model: Groq Chat Model
  5. Smart Routing & SLA Engine (Code): runs custom JavaScript code
  6. Check Escalation Rules (If): checks a condition and branches into true / false
  7. Send Slack Escalation Alert (Slack): uses Slack
  8. Create Standard Support Ticket (HTTP Request): calls jsonplaceholder.typicode.com
  9. Create Escalated Support Ticket (HTTP Request): calls jsonplaceholder.typicode.com
  10. Prepare Ticket Assignment Data (Edit Fields (Set)): sets or maps fields

…plus 3 more steps. See the full node list below.

Services it uses

GmailGoogle SheetsGroq Chat ModelSlack

HTTP calls to: jsonplaceholder.typicode.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (New Procurement Email Trigger).

Nodes used (10)

From the author

Quick Overview This workflow monitors a Gmail inbox for procurement requests, uses Groq (Llama 3.1) to classify and route each ticket with SLA logic, escalates high-risk items to Slack, creates a ticket via HTTP, sends an auto-reply from Gmail, and logs the…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.