Block 1 - AI Agent
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
Real Working Demo https://crmaiinsight.com/leadbot How It Works (High Level) 1) Chat Capture LeadBot greets, collects Full Name → Email → Mobile (optional) ...
@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.salesforcetool, @n8n/n8n-nodes-langchain.toolthink, n8n-nodes-base.emailsendtool, n8n-nodes-base.slacktool, n8n-nodes-base.httprequesttool
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Le Nguyen.
Original n8n.io sourcehttps://crmaiinsight.com/leadbot
Chat > Capture
LeadBot greets, collects Full Name → Email → Mobile (optional) → Product interest via friendly chat (no forms).
De-dupe
Checks Salesforce for an existing lead by Email.
Product Selection
Pulls your Feature_Product__c list (Name + one-line Description) and lets the user choose by number or name.
Demo Booking (Optional)
If the user says Yes:
Notifications & Follow-ups
> Tip: Start with the provided Feature_Product__c object. You can switch to your own product catalog with a few tweaks (see below).
Salesforce
FirstName, LastName, Email, MobilePhone, and one product lookup/text field (e.g., Interested_Product__c or Feature_Product__c). Name, Description__c, Features__c, Tags__c.n8n Credentials
salesforceOAuth2Api (to read/write Leads & Events). smtp (or use your email provider node). slackApi (for internal notifications). openAiApi (for the chat agent).Widget Embed (optional)
Import the flow into n8n
Add/Bind Credentials
Map Product Field on Lead
Interested_Product__c). (Option A) Use Feature_Product__c
Name, Description__c (used in the numbered list). Id is returned; pass it as customFieldsValues0_Value.(Option B) Use Your Own Catalog
customObject: Feature_Product__c → Product2 (or your object). Id, Name, and a short description field. Id, name, description).Configure Demo Booking
Customize Widget (optional)
Test End-to-End
customObject: Product2 (or your object API name). Id, Name, and a short description are returned.Interested_Product__c (or your chosen field) to the returned Product Id.Id, Name, Description__c (or equivalent) are returned by get_products. update_lead receives Lead_ID. 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.
Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.
| Workflow | LeadChat Booker — conversational lead capture that schedules |
|---|---|
| Complexity | advanced |
| Nodes | 25 |
| Categories | Lead Nurturing, AI Chatbot |
| Author | Le Nguyen |
| Published | 29 Aug 2025 |
Use the JSON export at /data/workflows/8018/8018.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.
Real Working Demo https://crmaiinsight.com/leadbot How It Works (High Level) 1) Chat Capture LeadBot greets, collects Full Name → Email → Mobile (optional) ...
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.