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 →
{
"createdAt": "2025-06-26T09:38:45.357Z",
"updatedAt": "2025-06-26T10:19:12.179Z",
"id": "AJnfPZRUdnP5wVZQ",
"name": "fastcampus",
"active": false,
"isArchived": false,
"nodes": [
{
"parameters": {
"content": "\n## \ub9e4\uc6b0 \ube60\ub978 \ud035\uc2a4\ud0c0\ud2b8\n\n\uc774 \uc6cc\ud06c\ud50c\ub85c\ub294 [very quick quickstart](https://docs.n8n.io//try-it-out/quickstart/) \ud29c\ud1a0\ub9ac\uc5bc\uc5d0 \uc0ac\uc6a9\ub418\ub294 \ubd88\uc644\uc804\ud55c \uc6cc\ud06c\ud50c\ub85c\uc785\ub2c8\ub2e4.\n\n1. \ud558\ub2e8\uc5d0 Test Workflow\ub97c \ub204\ub985\ub2c8\ub2e4.\n2. \uac01 \ub178\ub4dc\ubcc4\ub85c \ud558\ub098\uc529 \ub20c\ub7ec\ubcf4\uba70 \ub178\ub4dc\uc758 \uc124\uc815\uc744 \uc0b4\ud3b4\ubcf4\uace0 Input, Ouput\uc774 \uc5b4\ub5bb\uac8c \ub098\uc654\ub294\uc9c0 \ud55c\ubc88 \uc0b4\ud3b4\ubd05\uc2dc\ub2e4.\n3. \ubcf8 \uc6cc\ud06c\ud50c\ub85c\uc6b0\ub294 \uace0\uac1d \ub370\uc774\ud130\uc2a4\ud1a0\uc5b4 \ub178\ub4dc\uc5d0\uc11c \ub370\uc774\ud130\ub97c \ub85c\ub4dc\ud55c \ub2e4\uc74c \ud544\ub4dc \ud3b8\uc9d1\uc744 \ud1b5\ud574 \ub370\uc774\ud130\ub97c \ubcc0\ud658\ud569\ub2c8\ub2e4.",
"height": 331,
"width": 496
},
"id": "b42f1898-38f6-4adc-ae0c-bb88d73fed9e",
"name": "Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
420
],
"typeVersion": 1,
"disabled": true
},
{
"parameters": {
"content": "**Get fake sample data**",
"height": 220,
"width": 220
},
"id": "27126554-11c7-4353-831c-23b533727bda",
"name": "Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
780
],
"typeVersion": 1
},
{
"parameters": {
"content": "**Extract data and prepare it for use in the next node**",
"height": 220,
"width": 200
},
"id": "c564b666-f374-4064-95bd-b5aa4a68d6fb",
"name": "Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
780
],
"typeVersion": 1
},
{
"parameters": {},
"id": "8bbd2536-15f6-4b4b-80c6-4cdda9b9043b",
"name": "When clicking \"Test Workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"position": [
1620,
1080
],
"typeVersion": 1,
"disabled": true
},
{
"parameters": {
"customerId": "={{ $json.customer_id }}",
"message": "=Hi {{$json.customer_name}}, Your description is {{$json.customer_description}}"
},
"id": "abf4a08a-77ab-4111-a192-fea345a097e1",
"name": "Customer Messenger (n8n training)",
"type": "n8n-nodes-base.n8nTrainingCustomerMessenger",
"typeVersion": 1,
"position": [
1260,
840
]
},
{
"parameters": {
"operation": "getAllPeople",
"returnAll": true
},
"id": "c5002636-0728-4f42-91fd-62eb1d2ffd36",
"name": "Customer Datastore (1st)",
"type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
"position": [
840,
840
],
"typeVersion": 1
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "df041e3c-fc09-4ba2-8e6b-37f2c6a02526",
"name": "customer_id",
"type": "number",
"value": "={{ $json.id }}"
},
{
"id": "bf288953-4fef-4f55-a45f-c223714919c0",
"name": "customer_name",
"type": "string",
"value": "={{ $json.name }}"
},
{
"id": "1cff0b21-6740-4697-9d2c-9bcb045af0be",
"name": "customer_description",
"type": "string",
"value": "={{ $json.notes }}"
},
{
"id": "e1908d93-c750-4e9f-abfc-bc572755ea1b",
"name": "customer_country",
"value": "={{ $json.country }}",
"type": "string"
}
]
},
"options": {}
},
"id": "1a787940-8cac-4aab-be00-5f835307ca94",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
1060,
840
],
"typeVersion": 3.3
},
{
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
1480,
640
],
"id": "81ea13c8-f2b2-4967-82c4-da995ec13682",
"name": "Schedule Trigger",
"disabled": true
},
{
"parameters": {
"path": "c72429cb-1ee5-4cae-a66a-a8f808ff0749",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
1480,
460
],
"id": "7b33fb0e-8c0f-4b50-9dd9-4c87483d7a55",
"name": "Webhook",
"disabled": true
},
{
"parameters": {
"formTitle": "Survey",
"formDescription": "Hello",
"formFields": {
"values": [
{
"fieldLabel": "Name",
"requiredField": true
}
]
},
"options": {}
},
"type": "n8n-nodes-base.formTrigger",
"typeVersion": 2.2,
"position": [
1740,
460
],
"id": "d6096d23-ccf9-4c6e-a681-602d96cc2b2b",
"name": "On form submission",
"disabled": true
},
{
"parameters": {
"inputSource": "passthrough"
},
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
640,
840
],
"id": "71ce916e-adc4-437e-a363-63ea7b6463d1",
"name": "When Executed by Another Workflow",
"disabled": true
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "AJnfPZRUdnP5wVZQ",
"mode": "id"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
},
"options": {}
},
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.2,
"position": [
740,
1040
],
"id": "c2eeaa58-b59d-40be-a416-51bceb324d7c",
"name": "Execute Workflow",
"disabled": true
},
{
"parameters": {},
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
1900,
580
],
"id": "04993468-fb4e-4f18-ac7a-00b2f5375c14",
"name": "No Operation, do nothing",
"disabled": true
},
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
1700,
860
],
"id": "1010211a-c89a-4d29-adfe-1fb2ae08de6c",
"name": "When chat message received"
},
{
"parameters": {
"options": {
"systemMessage": "You are a helpful assistant"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2,
"position": [
1920,
860
],
"id": "0886ca17-b336-45c6-b941-478195354cea",
"name": "AI Agent"
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
1860,
1080
],
"id": "b2451929-7baa-4716-a05b-806954c2bedc",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"When clicking \"Test Workflow\"": {
"main": [
[]
]
},
"Customer Datastore (1st)": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Customer Messenger (n8n training)",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Customer Datastore (1st)",
"type": "main",
"index": 0
}
]
]
},
"Execute Workflow": {
"main": [
[]
]
},
"No Operation, do nothing": {
"main": [
[]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"callerPolicy": "workflowsFromSameOwner"
},
"staticData": {
"node:Schedule Trigger": {
"recurrenceRules": []
}
},
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "dd9e27e0-1b2d-4c3e-a48f-6e2f3f36ea9d",
"triggerCount": 2,
"shared": [
{
"createdAt": "2025-06-26T09:38:45.357Z",
"updatedAt": "2025-06-26T09:38:45.357Z",
"role": "workflow:owner",
"workflowId": "AJnfPZRUdnP5wVZQ",
"projectId": "sjNgDrdbhRMMF6SK"
}
],
"tags": [
{
"createdAt": "2025-06-25T04:00:38.130Z",
"updatedAt": "2025-06-25T04:00:38.130Z",
"id": "EyGUZypc5DKHVUyY",
"name": "\ud328\uc2a4\ud2b8\ucea0\ud37c\uc2a4"
}
]
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
fastcampus. Uses n8nTrainingCustomerMessenger, n8nTrainingCustomerDatastore, formTrigger, executeWorkflowTrigger. Event-driven trigger; 16 nodes.
Source: https://github.com/2innnnn0/fastcampus-n8n-data-analysis-agent/blob/main/workflows/[AJnfPZRUdnP5wVZQ]fastcampus.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.
Lection 9 main. Uses formTrigger, chatTrigger, agent, lmChatOpenAi. Event-driven trigger; 55 nodes.
Agent Nodes. Uses lmChatOpenAi, slack, stopAndError, errorTrigger. Event-driven trigger; 72 nodes.
1_4_Core_Node. Uses stopAndError, compression, xml, crypto. Event-driven trigger; 63 nodes.
Splitout Redis. Uses executeWorkflowTrigger, n8n, redis, splitOut. Event-driven trigger; 46 nodes.
3770. Uses executeWorkflowTrigger, n8n, redis, agent. Event-driven trigger; 46 nodes.