{"product_id":"ai-customer-inquiry-classifier-n8n-webhook-sheets-slack","title":"AI Customer Inquiry Classifier: n8n Webhook → Sheets \u0026 Slack","description":"\u003ch3\u003eTurn incoming customer messages into categorized, trackable tickets—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for customer inquiries through a \u003cstrong\u003eWebhook\u003c\/strong\u003e, validates the submitted \u003cstrong\u003ename (isim)\u003c\/strong\u003e, \u003cstrong\u003eemail\u003c\/strong\u003e, and \u003cstrong\u003emessage (mesaj)\u003c\/strong\u003e, then uses \u003cstrong\u003eOpenAI (gpt-4o-mini)\u003c\/strong\u003e to classify each request by \u003cstrong\u003ecategory\u003c\/strong\u003e and \u003cstrong\u003eurgency\u003c\/strong\u003e. It logs everything to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e and sends \u003cstrong\u003eSlack alerts for complaints\u003c\/strong\u003e, while returning a JSON confirmation response.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives inquiries via POST webhook\u003c\/strong\u003e with fields: \u003cem\u003eisim\u003c\/em\u003e, \u003cem\u003eemail\u003c\/em\u003e, and \u003cem\u003emesaj\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates inputs\u003c\/strong\u003e: ensures all fields are present, checks email format, and flags suspiciously short messages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies with OpenAI\u003c\/strong\u003e (gpt-4o-mini): extracts a \u003cstrong\u003ecategory\u003c\/strong\u003e (Satış\/Destek\/Şikayet\/Genel), \u003cstrong\u003eurgency\u003c\/strong\u003e (düşük\/orta\/yüksek), and a \u003cstrong\u003eone-sentence summary\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses the model’s JSON output\u003c\/strong\u003e and merges the classification back with the sender details.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends a new row to Google Sheets\u003c\/strong\u003e with sender info, summary, category, urgency, and a timestamp.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAlerts on complaints\u003c\/strong\u003e: if the category is Şikayet, it posts an alert to a configured \u003cstrong\u003eSlack channel\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns a JSON webhook response\u003c\/strong\u003e confirming receipt (the response is similar across categories).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRoute customer support messages from a website form into a Google Sheet “inbox,” automatically categorized.\u003c\/li\u003e\n  \u003cli\u003eEscalate complaints in real time by sending Slack alerts for Şikayet with AI-generated summary + urgency.\u003c\/li\u003e\n  \u003cli\u003eReduce manual triage for SaaS teams by converting free-text inquiries into structured data.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook\u003c\/strong\u003e (POST) for inbound requests\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e for validation and JSON handling\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e node using \u003cstrong\u003egpt-4o-mini\u003c\/strong\u003e for classification\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSwitch\u003c\/strong\u003e to route by category (including complaint handling)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e to append inquiry rows\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e to post complaint alerts to a specific channel\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eIncludes setup steps for OpenAI credentials, Google Sheets OAuth, Slack credentials, and configuring the webhook URL in your form or source system—ideal for n8n users, automation engineers, and SaaS operators building reliable customer inquiry workflows.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46086677299379,"sku":"N8N-19844","price":10.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/C5kf5S7oos2_K9_FWx8Fl_Vyqqk3cg.png?v=1790327829","url":"https:\/\/buyflowscripts.com\/products\/ai-customer-inquiry-classifier-n8n-webhook-sheets-slack","provider":"N8N Commerce","version":"1.0","type":"link"}