{"product_id":"triage-support-tickets-with-groq-chat-completions-in-n8n","title":"Triage Support Tickets with Groq Chat Completions in n8n","description":"\u003ch3\u003eInstantly triage incoming support tickets with Groq Chat Completions in n8n\u003c\/h3\u003e\n\u003cp\u003eTurn every new support request into a structured triage outcome—priority, department, sentiment, summary, and a recommended action—by sending ticket text to \u003cstrong\u003eGroq’s OpenAI-compatible Chat Completions API\u003c\/strong\u003e from an \u003cstrong\u003en8n\u003c\/strong\u003e webhook.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives support tickets via a webhook\u003c\/strong\u003e (POST request) using an n8n Webhook trigger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts key fields\u003c\/strong\u003e from the incoming payload—such as \u003cem\u003esubject\u003c\/em\u003e, \u003cem\u003emessage body\u003c\/em\u003e, \u003cem\u003ecustomer email\u003c\/em\u003e, and \u003cem\u003echannel\u003c\/em\u003e—from either the top level or a \u003ccode\u003eticket\u003c\/code\u003e object.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a strict JSON-only classification prompt\u003c\/strong\u003e to instruct the model to return structured triage results.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls Groq’s OpenAI-compatible Chat Completions API\u003c\/strong\u003e to classify the ticket content.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and normalizes the response\u003c\/strong\u003e, applying sensible defaults when fields are missing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns the triage output as a JSON response\u003c\/strong\u003e to the original webhook request.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRoute tickets from your support form or system to the right team automatically (e.g., billing vs. technical support) based on the message content.\u003c\/li\u003e\n  \u003cli\u003eSurface the \u003cstrong\u003epriority\u003c\/strong\u003e and \u003cstrong\u003esentiment\u003c\/strong\u003e of new requests to speed up first-response workflows.\u003c\/li\u003e\n  \u003cli\u003eGenerate a concise \u003cstrong\u003esummary\u003c\/strong\u003e and \u003cstrong\u003erecommended action\u003c\/strong\u003e so agents can start resolving faster.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGroq integration:\u003c\/strong\u003e Uses a Groq API key via an \u003cstrong\u003eHTTP Header Auth\u003c\/strong\u003e credential.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAPI call:\u003c\/strong\u003e Sends the JSON-only classification prompt to Groq’s \u003cem\u003eOpenAI-compatible Chat Completions\u003c\/em\u003e endpoint.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes used:\u003c\/strong\u003e \u003cem\u003eWebhook\u003c\/em\u003e, \u003cem\u003eCode\u003c\/em\u003e (payload extraction + parsing), \u003cem\u003eHTTP Request\u003c\/em\u003e (Groq call), \u003cem\u003eRespond to Webhook\u003c\/em\u003e (JSON output), plus supporting nodes like \u003cem\u003eSticky Note\u003c\/em\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup tip:\u003c\/strong\u003e Copy the webhook URL from the Webhook trigger and configure your support system to POST ticket details including \u003ccode\u003esubject\u003c\/code\u003e, \u003ccode\u003ebody\u003c\/code\u003e\/\u003ccode\u003emessage\u003c\/code\u003e, and \u003ccode\u003ecustomer_email\u003c\/code\u003e\/\u003ccode\u003eemail\u003c\/code\u003e, along with \u003ccode\u003echannel\u003c\/code\u003e.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46029452607667,"sku":"N8N-19592","price":58.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/aJRL2ly_Z2_ZePEMOOXJS_8XpnH4xi.png?v=1789463626","url":"https:\/\/buyflowscripts.com\/products\/triage-support-tickets-with-groq-chat-completions-in-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}