Autonomous customizable support chatbot on Intercom + Discord thread reports
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent1 (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (15)
- Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Intercom
n8n-nodes-base.intercom
What it does
Click here to access this Workflow for free. --- Connect your own LLM-boosted chatbot to Intercom (f their overly priced FlN Agent), and stay in touch on Discord !ic.png(fileId:1731) This workflow connects your Intercom chat system with your own AI Agent and sends a complete log of each conversation to Discord using threads. It allows you to run a fully automated support system while maintaining full visibility of the bot's behavior in real time. For every new conversation in Intercom, a thread is created in a specified Discord channel. Each message from the user, the AI, and even manual human responses is logged to the thread, offering full traceability and transparency. You also have fine-grained control over the AI agent. By simply clicking the ⭐️ star in Intercom’s UI, support agents can instantly pause or resume AI responses for a specific chat — no coding or config changes needed. --- Requirements - A working n8n instance - An Intercom account with permission to set up webhooks - A Discord bot with the following permissions: - Send Messages - Create Public/Private Threads - Manage Threads - API credentials for your preferred LLM (OpenAI is used by default) - Google Chrome or any browser to access Intercom’s UI --- Setup 1. Intercom: - Go to Intercom’s webhook settings. - Add a webhook that listens to new incoming messages and points to the Webhook URL in this n8n workflow. - Make sure to send full conversation data. 2. Discord: - Create a Discord bot and invite it to your server with the required permissions. - In the Discord + Token node at the top of the workflow: - Add your bot token - Add the ID of the channel where threads should be created 3. LLM / AI Agent: - By default, the workflow uses OpenAI via HTTP Request. - You can substitute it with any LLM provider of your choice. - Make sure to set up your credentials in n8n and select them in the HTTP nodes. 4. HTTP Authentication Tips: - For both Intercom and Discord API calls, it's recommended to create credentials in n8n's Credential Manager. - Then, assign those credentials inside each HTTP Request node for a cleaner setup. --- Usage - When a new conversation starts in Intercom, a Discord thread is created automatically. - Each message — user input, AI response, and human reply — is logged into the Discord thread in real time. - The AI replies automatically unless the ⭐️ star is checked in Intercom: - ☆ Unchecked = AI replies enabled - ⭐️ Checked = AI replies disabled, human takeover enabled !screenshot intercoms inbox.png(fileId:1116) This gives you on-the-fly control of each conversation’s automation level directly from the Intercom inbox. --- Customization - You can replace OpenAI with any LLM that provides a compatible API. - Discord channel ID, thread naming, and message formatting can be customized to match your team’s preferences. - You can expand the workflow to handle events like conversation closure or satisfaction ratings for deeper analytics. --- If you need any help, or have any question, feel free to come discuss about it on Telegram