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

Go to Workflow
0 views
Built by Avkash Kakdiya Avkash Kakdiya
Created on June 05, 2026

Description

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-4o-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.

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
ClickUp
n8n-nodes-base.clickUp
Code
n8n-nodes-base.code
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Slack
n8n-nodes-base.slack