- Home
- Skills
- Workflow Automation
- AI Chatbot Website
AI Chatbot Website
Adds a responsive AI chat widget to any website using an n8n webhook and OpenRouter backend.
Free
AI Chatbot Website
Example session with this skill installed
Add an educational assistant chatbot named "EduBot" to my landing page in the current directory. Use #4F46E5 as the primary color.
- Read your context and instructions
- Compiled the ai chatbot website
- Generated the UI component
I have added the chatbot interface to your landing page and prepared the backend configuration.
Chatbot Implementation
<!-- Chat Widget Markup added to index.html -->
<div id="chat-widget-container">
<div id="chat-header" style="background-color: #4F46E5;">
<span>EduBot</span>
</div>
<div id="chat-messages"></div>
<div id="chat-input-area">
<input type="text" id="user-input" placeholder="Ask a question...">
<button id="send-btn" disabled>Send</button>
</div>
</div>
<style>
/* Responsive Chat Styles */
#chat-widget-container { position: fixed; bottom: 20px; right: 20px; width: 350px; height: 500px; display: flex; flex-direction: column; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-family: sans-serif; }
#chat-header { padding: 15px; color: white; border-radius: 10px 10px 0 0; font-weight: bold; }
#chat-messages { flex: 1; overflow-y: auto; padding: 15px; background: #f9fafb; }
.message { margin-bottom: 10px; padding: 8px 12px; border-radius: 15px; max-width: 80%; }
.user-msg { align-self: flex-end; background: #4F46E5; color: white; margin-left: auto; }
.bot-msg { align-self: flex-start; background: #e5e7eb; color: black; }
</style>
<script>
// Chat Logic
const webhookUrl = 'YOUR_N8N_WEBHOOK_URL';
const input = document.getElementById('user-input');
const btn = document.getElementById('send-btn');
input.addEventListener('input', () => {
btn.disabled = !input.value.trim();
});
async function sendMessage() {
const text = input.value.trim();
if (!text) return;
appendMessage(text, 'user-msg');
input.value = '';
btn.disabled = true;
// Typing indicator
const loading = appendMessage('...', 'bot-msg');
const response = await fetch(webhookUrl, {
method: 'POST',
body: JSON.stringify({ message: text, type: 'educational' }),
headers: { 'Content-Type': 'application/json' }
});
const data = await response.json();
loading.remove();
appendMessage(data.output, 'bot-msg');
}
</script>
Next steps
- Import
n8n/chatbot-workflow.jsoninto your n8n instance. - Add your OpenRouter API key to the n8n credential manager and activate the workflow.
- Copy the production webhook URL from n8n and replace
YOUR_N8N_WEBHOOK_URLin yourindex.html.
index.html
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Adding an AI chat widget to a site often involves wrestling with complex third-party embeds or writing custom WebSocket logic. This skill implements a lightweight, single-file chat interface that connects directly to an n8n webhook.
What it does
- Responsive UI implementation: Adds a clean HTML/CSS chat interface that works on mobile and desktop.
- Workflow integration: Connects the frontend to an n8n workflow for backend logic and LLM processing.
- OpenRouter connectivity: Facilitates LLM calls via OpenRouter within the n8n environment.
- Interactive features: Includes a typing animation, auto-scrolling, and input validation to disable the send button when empty.
- Thematic styling: Configures the chatbot name and primary brand colors during setup.
How it works
- Provide the location of your website files and specify your chatbot use case and color scheme.
- The skill injects the necessary markup, styles, and JavaScript into your project.
- Import the provided
.jsonworkflow into your n8n instance and add your OpenRouter credentials. - Replace the placeholder URL in the JavaScript with your n8n production webhook address.
Frameworks & tools
This skill uses standard HTML5, CSS3, and vanilla JavaScript for the frontend. The backend requires an n8n instance and an OpenRouter account for LLM access.
Why this beats prompting it yourself
Writing reliable frontend-to-webhook logic requires specific event handling and state management for chat bubbles. This skill provides a tested, single-file implementation that avoids the common pitfalls of API key exposure by routing all logic through n8n.
Use cases
- Deploy an educational assistant for student support.
- Build a career guidance bot for a professional portfolio.
- Add an AI learning assistant to a documentation site.
- Create a general-purpose Q&A widget for a landing page.
Known limitations
The chat interface is a single-file implementation. Complex features like persistent chat history or file uploads are not supported out of the box.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
Permissions
What's inside
Creator
Mounika Chappidi
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.