n8n Claude Webhook Chatbot: Answer Website Service Questions
n8n Claude Webhook Chatbot: Answer Website Service Questions
Regular price
£7.99
Regular price
£7.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Claude Webhook Chatbot: Answer Website Service Questions
Regular price
£7.99
Regular price
£7.99
Sale price
Unit price
/
per
Turn website visitor questions into instant Claude-powered answers—via an n8n POST /chat webhook
This n8n automation workflow creates a browser-friendly AI chatbot endpoint that answers visitor questions about your services. It exposes a POST /chat webhook, uses Anthropic Claude (Haiku) to generate scoped responses, maintains short session-based memory, and returns a CORS-enabled JSON reply your frontend can embed.
What this workflow does
-
Receives chat requests on the
/chatwebhook endpoint via a POST request with a JSON body. -
Validates input by extracting and trimming the incoming
message; if it’s empty, the workflow errors. -
Assigns a sessionId (uses a provided
sessionIdor a default) so conversations can stay consistent across requests. - Generates answers with Claude using Anthropic Claude (Haiku) and a system prompt that restricts responses to Ali İlhan’s defined services, projects, and tech stack.
-
Maintains per-session memory with a buffer keyed by
sessionIdto preserve short conversational context. -
Returns a JSON response containing
{ reply, success, timestamp }, including CORS headers for frontend use.
Use cases
- Answer common questions on your website (services, projects, and tech stack) without manual support.
- Embed an AI chat widget that calls your n8n webhook and renders the returned
reply. - Support lead qualification by guiding visitors toward the right service topic with consistent, session-aware context.
Technical details
-
Webhook trigger: Receives
{"message":"...","sessionId":"..."}and responds to the original request. -
AI integration:
n8nn8n-nodes-langchainagent+n8nn8n-nodes-langchainlm chat anthropicusing Anthropic Claude (Haiku). -
Memory: Per-session memory buffer keyed by
sessionId. -
Nodes used:
code,webhook,sticky note,respond to webhook, and the LangChain Anthropic chat nodes.
Requirements: Anthropic API credentials.
