# AI Chatbot Website

> Adds a responsive AI chat widget to any website using an n8n webhook and OpenRouter backend.

AI Chatbot Website is a free AI agent skill on Agensi by Mounika Chappidi, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Mounika Chappidi](https://www.agensi.io/creators/mounika-chappidi)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-chatbot-website
- Tags: automation, n8n, openrouter, chatbot, javascript

## 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
1. Provide the location of your website files and specify your chatbot use case and color scheme.
2. The skill injects the necessary markup, styles, and JavaScript into your project.
3. Import the provided `.json` workflow into your n8n instance and add your OpenRouter credentials.
4. 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the AI Chatbot Website skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly is included in the download package?

The purchase includes the HTML, CSS, and vanilla JavaScript code for the frontend widget, as well as a pre-configured .json workflow file to import directly into your n8n instance.

### Can I use this skill with automation platforms other than n8n?

While the frontend is built with standard web technologies, the backend logic specifically requires an n8n instance and an OpenRouter account to handle the LLM processing.

### Is my OpenRouter API key secure when using this chat widget?

Yes, because the skill uses a backend webhook through n8n, your OpenRouter API keys remain securely on your server rather than being exposed in the website's source code.

### Can I customize the look and feel of the chat widget to match my brand?

Absolutely; the setup process allows you to customize the chatbot's name and primary brand colors to ensure the widget matches your website's aesthetic.

### Does the chatbot remember user conversations after the page is refreshed?

This skill provides a lightweight, single-session interface; it does not include built-in database integration for persistent chat history across different browser sessions.

### How much coding knowledge do I need to get this running on my site?

Installation is straightforward: you inject the provided code into your site, import the workflow into n8n, and update one URL in the JavaScript to point to your webhook.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
