Automating Intercom Message Triage and Routing using GPT-4o-mini - n8n Workflow

Leverage this advanced n8n workflow to automatically classify incoming Intercom conversations using GPT-4o-mini, routing them to ClickUp tasks or Slack alerts based on category and urgency.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Support Operations Managers seeking to reduce manual ticket triage time.

  • Product Managers who need instant, categorized feedback and bug reports.

  • Teams utilizing n8n templates for advanced AI-driven business process automation.

  • Users wanting an example of integrating OpenAI and ClickUp within a single n8n node structure.

Overview

Manual triage of high-volume customer conversations from tools like Intercom is time-consuming and prone to human error. This powerful n8n workflow solves this by utilizing the speed and precision of GPT-4o-mini to instantly classify every inbound message. This automation allows your team to skip the triage step entirely, ensuring that support requests are immediately logged as high-priority tasks in ClickUp, product feedback is tracked separately, and urgent sales inquiries trigger immediate Slack notifications. This n8n node setup dramatically improves response times and ensures every query is handled by the appropriate team with the correct context and urgency derived from the AI classification.

How it Works

The entire process is initiated by an n8n trigger setup for an Intercom Webhook.


  1. Trigger Intake: The n8n trigger node receives the full JSON payload of a new Intercom conversation.

  2. AI Classification: The conversation data is passed to the AI component (using the Langchain Agent n8n node paired with the gpt-4o-mini model). This step uses a highly specific prompt to force the AI to return a structured JSON object, including fields for category (Support, Product, Sales), sentiment, urgency, and relevant tags.

  3. Data Structuring: A Code n8n node (🧮 Process Classification) parses the AI's JSON response. It merges the classification data with the original customer and conversation details (name, email, message body). Crucially, this code prepares formatted task titles and descriptions, making the downstream n8n nodes easier to configure.

  4. Conditional Routing: A series of sequential If n8n nodes checks the AI-assigned category.

  5. Action Execution:

If the category is 'Support' or 'Product', a ClickUp n8n node creates a detailed task, utilizing the AI-derived urgency for priority setting and applying the suggested tags.
If the category is 'Sales', a Slack n8n node is executed immediately to notify the relevant sales channel with the customer details and the AI's reasoning for the classification. This demonstrates dynamic routing within the larger n8n workflow.

Installation Guide

To deploy this comprehensive n8n workflow, follow these setup steps:


  1. Import the n8n template: Copy the provided JSON and paste it directly into your n8n canvas.

  2. Set up the n8n Trigger: Configure the 📨 Intercom Webhook n8n node. You will need to copy the generated webhook URL and path (your-webhook-path-here) into your Intercom settings to trigger this n8n workflow upon new conversations.

  3. OpenAI Credentials: Update the GPT model (gpt-4o-mini) n8n node with your valid OpenAI API key credentials.

  4. ClickUp Credentials: Set up OAuth2 credentials for ClickUp and configure the 🧾 Create Support Task and 🛍️ Create Product Task n8n nodes. You must replace placeholders for List ID, Team ID, Space, Folder, Status Name, and Assignee ID specific to your project management setup.

  5. Slack Credentials: Configure the 📣 Slack – Notify Sales team n8n node with your Slack API credentials and specify the target Channel ID for sales notifications.

Ensure all placeholder variables (indicated by names like YOURCLICKUPLIST_ID) are replaced before activating this essential n8n workflow.

Node Details


  • 📨 Intercom Webhook (Webhook n8n trigger): The starting point. It listens for POST requests from Intercom, initiating the n8n workflow.

  • 🧠 Classifier – AI prompt (Langchain Agent n8n node): Sends the conversation content to the Large Language Model (gpt-4o-mini) with a detailed prompt that mandates a structured classification JSON output.

  • GPT model (gpt-4o-mini) (Langchain OpenAI n8n node): The language model worker. Specifically configured to use gpt-4o-mini for fast and cost-effective text analysis.

  • 🧮 Process Classification (Code n8n node): Essential for robustness. It parses the raw AI text response into a structured JSON object and merges it with original conversation data pulled from the initial n8n trigger, preparing a unified data structure for conditional routing.

  • 🛠️ Is Support Request? / 📦 Is Product Request? / 💼 Is Sales Request? (If n8n nodes): These nodes conditionally route the flow based on the category output by the AI.

  • 🧾 Create Support Task / 🛍️ Create Product Task (ClickUp n8n node): Creates new tasks in ClickUp, dynamically setting the task name and priority based on the AI classification and including a full description generated by the Code n8n node.

  • 📣 Slack – Notify Sales team (Slack n8n node): Sends an immediate, formatted alert to the designated sales channel if the AI classifies the message as a sales inquiry.

Related n8n Workflows

Free

Nodes: 8 Nodes
Updated: December 26 2025
View all
Created by

🚀 Founder of iTechNotion — we build custom AI-powered automation workflows for startups, agencies, and founders. 💡 Specializing in agentic AI systems, content automation, sales funnels, and digital workers. 🔧 14+ years in tech | Building scalable no-code/low-code solutions using n8n, OpenAI, and other API-first tools. 📬 Let’s automate what slows you down.

Featured*