Researched: Sourced and summarized, not yet run end-to-end by us Customer support

Intercom conversations routed to ClickUp or Slack by AI (n8n)

Last checked: · Sourced and summarized; not yet run end-to-end by us. What this means

At a glance

Setup estimate
1–2 h (ESTIMATE)
Tools
Industries
SaaS
View source template on n8n.io (opens in new tab)

Problem

Support, product feedback and sales questions all land in the same Intercom inbox

Who it's for

An n8n Intercom triage flow for small SaaS teams that answer customers in Intercom and track work in ClickUp and Slack. The trigger: new conversations arrive faster than someone can read and sort them, and you want each one classified (Support, Product, Sales or Other) with sentiment, urgency and tags, then turned into a ClickUp task or a Slack alert for sales.

Skip it if you need replies sent to customers (it only routes internally), or if you don't use both ClickUp and Slack. As shared, the template won't run end to end without two code fixes, so it isn't a plug-and-play install.

Tools and what each does

n8n Webhook
Receives Intercom's webhook notification for a new conversation.
n8n AI Agent with OpenAI gpt-4o-mini
Reads the conversation JSON and must return only JSON: category, sentiment (Positive/Neutral/Negative), urgency (High/Medium/Low), reasoning and 2–4 tags.
Code node ('Process Classification')
Parses the AI's JSON and pulls conversation ID, subject, message, customer name and email to build a task title and description.
IF nodes
Three parallel checks: category equals Support, Product or Sales.
ClickUp
Creates a task in your list for Support and for Product, with tags, status, priority and assignee.
Slack
Posts a 'New Sales Inquiry Alert' with customer, subject, sentiment, urgency, message and the AI's reasoning to your sales channel.

Browse by tool: n8n, Intercom, OpenAI, ClickUp, Slack

Steps

  1. In Intercom's Developer Hub, subscribe your app's webhook to new-conversation notifications and point it at the n8n webhook URL.
  2. A customer starts a conversation; Intercom posts the conversation object to n8n.
  3. The AI agent classifies it and returns the JSON fields.
  4. The Code node merges classification and conversation details into task fields.
  5. Support and Product conversations each create a ClickUp task titled '[CATEGORY] subject'.
  6. Sales conversations post an alert to the Slack sales channel.
  7. 'Other' (or any unexpected category) does nothing.

Known problems in the source template

Found by reading the template's JSON, not by running it. Likely fails as shipped.

  • Problem: The Code node reads the AI result as $input.first().json.choices[0].message.content (the raw OpenAI API shape), but n8n's AI Agent node returns its answer in an 'output' field, so this line likely throws before the try block and every run stops there.

    Fix: Read $input.first().json.output instead, strip any ``` code fences, then JSON.parse it.

  • Problem: Both the prompt and the Code node read the conversation from $json.data.item, but n8n's Webhook node puts the request payload under body, so the AI likely receives no conversation and the Code node can't find the IDs.

    Fix: Use $json.body.data.item in the prompt and $('📨 Intercom Webhook').first().json.body.data.item in the Code node.

Before you start

  • An Intercom workspace with a developer app that can send webhooks (plan requirement UNKNOWN).
  • An OpenAI API key with billing set up.
  • ClickUp (OAuth2 in n8n) with your team, space, folder and list IDs, a status name and an assignee ID to replace the 'YOUR_…' placeholders.
  • A Slack app added to your sales channel, and that channel's ID.
  • Setup estimate: 1–2 h (ESTIMATE).

What can go wrong

Needs an Intercom workspace that can send webhooks (plan UNKNOWN), an OpenAI API key, ClickUp and Slack. Customer messages are sent to OpenAI. Conversations classified as Other get no action, so check that bucket regularly so nothing is dropped.

  • Silent failureThe message and subject are taken from conversation_parts[0]. Intercom's docs describe the conversation's 'source' as the first message that started it, so for a brand-new conversation the parts list may be empty and the task would get no text. Use source.body and source.subject.
  • Silent failureClickUp's Create Task API takes priority as an integer, but the template passes the AI's 'High', 'Medium' or 'Low'. Map them to ClickUp's numbers or the task creation may fail.
  • Silent failureConversations classified as Other, or any label that isn't exactly Support, Product or Sales, get no action and no log. Check that bucket regularly, or add a catch-all Slack post.
  • ReliabilityThe customer name and email come from a 'user' object; depending on your Intercom API version the conversation may list contacts instead, leaving those fields blank.
  • Data privacyFull customer conversations, names and emails are sent to OpenAI. The webhook doesn't verify Intercom's signature, so anyone with the URL could create tasks; add a check.
  • ModelThe template uses gpt-4o-mini, which OpenAI's deprecations page lists for removal from the API on Jan 14, 2027 (recommended replacement gpt-6-luna).

How to adapt it

  • Change the categories and IF checks to match your teams (for example Billing or Bug) and update the prompt's guidelines to match.
  • Send High-urgency Support items to Slack as well as ClickUp.
  • Write the classification back to Intercom as conversation tags so agents see it in the inbox.
  • Swap ClickUp for Linear or Jira, which have their own n8n nodes, if that's where your product team works.

Sources we checked

Status
Researched: Sourced and summarized, not yet run end-to-end by us
Last checked
Details checked

Setup estimates are rough guesses for someone comfortable with the tools who already has the accounts and API keys. Real time is unknown until tested.

Practical AI workflows for small businesses, every Tuesday

A few workflows each issue for lead follow-up, CRM, proposals, onboarding and support, each labeled Researched or Tested.

We'll email you a link to confirm. Unsubscribe in one click. Privacy policy.

Why trust it: every entry links its source and caveats, and nothing is called Tested until we publish the logs. Our method.

More customer support workflows