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.
Beginner AI Agent Duo: Lead‑Qualifier Task Automator & Ecommerce Chatbot Status: Ready for Use Note: This template is built entirely with official n8n nodes —no community‑node installation requir...
@n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.stickynote, n8n-nodes-base.code
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Robert Breen.
Original n8n.io sourceStatus: Ready for Use ✅
Note: This template is built entirely with official n8n nodes—no community‑node installation required.
This template demonstrates two beginner‑friendly AI‑agent patterns that cover the most common use cases:
| Agent | Purpose | Flow Highlights |
|---|---|---|
| Lead‑Qualifier Task Automator | Classifies phone‑call transcripts to decide if the caller is a good bulk‑order lead. | Manual Trigger → Code (sample data) → AI Agent (GPT‑4o‑mini) → Structured Output Parser → Set (clean fields) |
| Ecommerce Chatbot | Answers customer questions about products, bulk pricing, shipping, and returns. | Chat Trigger (webhook) → AI Agent (GPT‑4o‑mini) with Memory → If node → Order‑placed reply or no‑op |
Both agents run on GPT‑4o‑mini and use n8n’s LangChain‑powered nodes for quick, low‑code configuration.
Import the Workflow
Add Your OpenAI API Key
(Optional) Select a Different Model
Test the Lead‑Qualifier Agent
{
"Name": "Jordan Lee",
"Is Good Lead": "Yes",
"Reasoning": "Customer requests 300 custom mugs, indicating a bulk order."
}
Test the Ecommerce Chatbot
{ "message": "Hi, do you offer discounts if I buy 120 notebooks?" }
*****; the If node then sends “Your order has been placed”.I’m Robert Breen, founder of Ynteractive — a consulting firm that helps businesses automate operations using n8n, AI agents, and custom workflows. I’ve helped clients build everything from intelligent chatbots to complex sales automations, and I’m always excited to collaborate or support new projects.
If you found this workflow helpful or want to talk through an idea, I’d love to hear from you.
🌐 Website: https://www.ynteractive.com
📺 YouTube: @ynteractivetraining
💼 LinkedIn: https://www.linkedin.com/in/robert-breen
📬 Email: [email protected]
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 | Automate lead qualification & customer support with GPT-4o-mini agents |
|---|---|
| Complexity | advanced |
| Nodes | 16 |
| Categories | Lead Nurturing, AI Chatbot |
| Author | Robert Breen |
| Published | 29 Jul 2025 |
Use the JSON export at /data/workflows/6656/6656.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.
Beginner AI Agent Duo: Lead‑Qualifier Task Automator & Ecommerce Chatbot Status: Ready for Use Note: This template is built entirely with official n8n nodes —no community‑node installation requir...
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 Lead Nurturing, AI Chatbot use case.