Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
Short description Automatically triage incoming chat messages into Incidents , Service Requests , or Other using an LLM powered classifier; create Incidents in ServiceNow, submit Service Catalog re...
@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.textclassifier, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.chainsummarization, n8n-nodes-base.httprequest, n8n-nodes-base.servicenow
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tushar Mishra.
Original n8n.io sourceAutomatically triage incoming chat messages into Incidents, Service Requests, or Other using an LLM-powered classifier; create Incidents in ServiceNow, submit Service Catalog requests (HTTP), and route everything else to an AI Agent with web search + memory. Includes an optional summarization step for ticket context.
This n8n template wires a chat trigger to an LLM-based Text Classifier and then routes messages to the appropriate downstream action:
Trigger: When chat message received — incoming messages from your chat channel.
Text Classifier: small LLM prompt/classifier that returns one of three labels: Incident, Request, or Everything Else.
Create Incident (ServiceNow connector): when labeled Incident, the workflow creates a Servicenow Incident record (short fields: short_description, description, priority, caller).
Submit General Request (HTTP Request): when labeled Request, the workflow calls your Service Catalog API (POST) to place a catalog item / submit a request.
AI Agent: when labeled Everything Else, route to an AI Agent node that:
Summarization Chain: optional chain to summarize long chat threads into concise ticket descriptions before creating incidents/requests.
This template is ideal for support desks that want automated triage with human-quality context and searchable memory.
short_description and description fields.When chat message receivedText Classifier (OpenAI/LLM)ServiceNow (Create Incident)HTTP Request (Service Catalog POST)AI Agent (OpenAI + SerpAPI + Simple Memory)Summarization Chain (used before A or B where enabled)Error / Audit logging node, Slack/email notifications{ label: "Incident", confidence: 0.92 }) so you can implement confidence thresholds.variables JSON.{
"sysparm_quantity": 1,
"variables": {
"description": "User reports VPN timeout on Windows machine; error code 1234"
}
}
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | AI-powered ServiceNow chat triage with GPT-4 — Incident & request router |
|---|---|
| Complexity | advanced |
| Nodes | 15 |
| Categories | AI Chatbot, Multimodal AI |
| Author | Tushar Mishra |
| Published | 17 Aug 2025 |
Use the JSON export at /data/workflows/7515/7515.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Short description Automatically triage incoming chat messages into Incidents , Service Requests , or Other using an LLM powered classifier; create Incidents in ServiceNow, submit Service Catalog re...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Chatbot, Multimodal AI use case.