This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"active": false,
"connections": {
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2024-10-21T15:23:21.394Z",
"id": "XSy2UE4ODHeBvZUO",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "IA",
"nodes": [
{
"parameters": {},
"id": "2122fc6d-10f1-4442-bf6f-5b9aae78b69f",
"name": "When clicking \u2018Test workflow\u2019",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
300,
320
]
},
{
"parameters": {
"options": {}
},
"id": "ed645107-29cc-437f-be52-823bcee478ae",
"name": "When chat message received",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
720,
320
]
},
{
"parameters": {
"options": {}
},
"id": "efe753df-de48-4ab7-b8c8-fe81fde8fd4b",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1.6,
"position": [
940,
320
]
}
],
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2024-10-22T18:36:54.000Z",
"versionId": "a502a144-936f-49a7-b73e-ed950c76db89"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
IA. Uses chatTrigger, agent. Event-driven trigger; 3 nodes.
Source: https://github.com/faustormz/n8n-backups/blob/288d38fb5ba4e1903490c5c43dbc90aa35d5aea6/workflows/IA.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Manual. Uses manualTrigger, chatTrigger, agent, lmChatOpenAi. Event-driven trigger; 6 nodes.
This workflow implements a custom tool via JavaScript code which returns a random color to users and excludes the given colors.
This n8n template demonstrates how to automatically process PDF purchase orders received via email and convert them into sales orders in Adobe Commerce (Magento 2) using Company Credit as the payment
AI Agent Workflow. Uses telegramTrigger, chatTrigger, telegram, openAi. Event-driven trigger; 82 nodes.
Agent Nodes. Uses lmChatOpenAi, slack, stopAndError, errorTrigger. Event-driven trigger; 72 nodes.