Classify Intercom Messages & Route to ClickUp or Slack with GPT-4 Mini

## How it works This workflow automates the classification and routing of incoming Intercom conversations. When a new customer message arrives, it is analyzed by AI to determine category, sentiment, urgency, and tags. Based on this classification, the workflow creates tasks in ClickUp for Support or Product requests, or sends real-time alerts to Slack for Sales inquiries. ## Step-by-step **Webhook Intake** - Triggered when Intercom sends a new conversation payload. - Captures customer details, message content, and metadata. **AI Classification** - Sends the conversation JSON to OpenAI (gpt-4-mini) with a structured prompt. - AI returns a JSON object with category (Support, Product, Sales, Other), sentiment, urgency, reasoning, and tags. **Processing & Structuring** - A Code node parses the AI output and merges it with conversation details. - Prepares formatted task fields such as title, description, customer info, and priority. **Conditional Routing** - Support requests – Task created in ClickUp with urgency and tags. - Product requests – Task created in ClickUp with structured details. - Sales inquiries – Slack alert sent to the Sales channel with context and AI reasoning. - Other – No task/action triggered. ## Benefits - Automates Intercom ticket triage and routing in real time. - Ensures consistent, AI-driven classification of all customer conversations. - Reduces manual review time for Support, Product, and Sales teams. - Creates structured tasks with enriched metadata for faster resolution. - Keeps Sales teams instantly informed with Slack alerts for urgent leads.

Platform
n8n
Category
Customer Support
Price
$9.99
Creator
Avkash Kakdiya

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Customer Support workflows

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.