---
title: "Chatbot Help Widget"
description: "Floating AI assistant for product questions and contacting NICE HMS support from any page on the website."
date: 2026-08-09
lastModified: 2026-08-09
category: "getting-started"
author: "Dr. Umesh Bilagi"
beta: true
---

## Overview

The chatbot widget is a floating help button that appears on every page of your NICE HMS website. Visitors can ask product questions and get instant AI-powered answers. If they need to reach a human, they can send a Contact Us message with their email and mobile directly from the chat — no login required.

For direct contact outside the chat widget, email **admin@nicehms.com** or call/WhatsApp **+919611560555**.

## Prerequisites

- The LangGraph chatbot server must be running and accessible at the `LANGGRAPH_API_URL` configured in your environment.
- `GOOGLE_GMAIL_USER` must be set in `.env` for the Contact Us email notification to work.
- Google Sheets integration (`GOOGLE_SHEET_SCRIPT_URL`) logs all contact form submissions.

## Workflow

### Asking questions

1. Click the **chat bubble icon** in the bottom-right corner of any page.
2. The chat panel opens showing "NICE HMS Help".
3. Type your question and press **Enter** or click **Send**.
4. The AI assistant streams its response in real time.
5. Click **+ New** to start a fresh conversation.

### Sending an enquiry

To send an enquiry, request a demo, ask about pricing, or contact the NICE HMS team, use the **Contact Us** button right inside the chat widget. You do not need to send a separate email or fill out an external form.

1. Inside the chat panel, click the **Contact Us** button in the header.
2. A form card appears inside the chat with these fields:
   - **Email** — mandatory, your email address
   - **Mobile** — mandatory, your phone number with country code
   - **Your Message** — mandatory, describe your enquiry in detail (e.g. "I want a demo for my 20-bed hospital", "What's the pricing for the Clinic plan?", "I need help setting up ABDM")
3. Click **Send Message**.
4. You'll see a confirmation in the chat. The support team receives your enquiry by email and it is logged to Google Sheets. They will respond to you at the email or mobile you provided.

### Resizing the panel

Drag the **bottom-left corner** of the chat panel to resize it. On mobile, the panel opens full-screen.

## Common Issues

- **"Failed to send" error**: The LangGraph server may be unreachable. Check that `LANGGRAPH_API_URL` is correctly set in your environment.
- **No response from assistant**: Verify the LangGraph server is running and the `chatbot` assistant is deployed.

## FAQ

**Q: How do I send an enquiry or contact the NICE HMS team?**
A: Click the **Contact Us** button at the top of this chat widget, fill in your email, mobile, and message, then click **Send Message**. The team will get back to you.

**Q: Who can use the chat widget?**
A: Anyone visiting your website — patients, staff, or prospective customers. No login is needed.

**Q: Where do Contact Us messages go?**
A: They are logged to Google Sheets (under the "contact" type) and an email is sent to the address configured in `GOOGLE_GMAIL_USER`.

**Q: Does the chat remember previous conversations?**
A: Yes. A thread ID is stored in your browser's local storage so the assistant maintains context across sessions. Click **+ New** to reset it.

**Q: Is my data secure?**
A: The chat widget proxies all requests through your own server (`/api/chat`). No data is sent directly to third parties from the browser.
