=== Webaaty – AI Chat Assistant ===
Contributors: ifdev
Tags: AI Chatbot, lead generation, whatsapp, chat button, appointment booking
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn visitors into customers. An AI assistant trained on your site answers questions 24/7, captures leads, books appointments & opens WhatsApp.

== Description ==

**Right now, someone is on your website with a question. If nobody answers, they leave — and buy from a competitor who did.**

Webaaty puts an AI assistant on your WordPress site that answers every visitor instantly, day and night, in their language — trained on *your* pages, files and Q&A, so it talks about your business, not generic chatbot filler. While it chats, it captures names and emails, books appointments, and hands hot visitors straight to your WhatsApp.

It's like hiring a receptionist who never sleeps, never takes a day off, and costs less than one lost customer a month.

**Webaaty is the official WordPress plugin for [Chaaty](https://chaaty.io)** — the hosted AI chat platform. One install, no coding, no theme editing. Live in about 5 minutes.

= What it does for your business =

**🕐 Answers every visitor, 24/7**
Real AI — not a rigid decision tree. It reads your website, your uploaded files and your Q&A, then answers natural questions accurately and on-brand, in 16 languages. Evenings, weekends, holidays: covered.

**🧲 Captures leads while you sleep**
The assistant asks for the visitor's name and email naturally, mid-conversation — right when interest is highest. You wake up to leads, not missed chats. (Paid plans)

**📅 Books appointments inside the chat**
Visitors pick a time without ever leaving the conversation. No back-and-forth emails, no third-party booking page. (Paid plans)

**💬 One widget, every contact channel**
WhatsApp, Call, SMS, Email, Messenger, Telegram, Instagram, Directions and custom links — shown as buttons inside the chat or as a standalone floating contact launcher. Prefer channels only, without AI chat? That's a mode too. (Paid plans)

**📲 Reply from Telegram**
When a conversation needs a human, take over and reply to website visitors directly from Telegram on your phone. (Paid plans)

**🎯 Shows up at exactly the right moment**
Trigger the widget by time on page, scroll depth or exit intent. Target by page, country, traffic source, business hours or campaign dates. Greet visitors with animated greeting cards that get the first click.

**🔌 Plays nicely with your stack**
Zapier, Make.com, webhooks and an API push every lead and booking into your CRM, email tool or spreadsheet automatically. (Paid plans)

= Looks great, loads fast =

* 6 adaptive themes, large font library, ready-made templates, custom avatar & name
* Flexible bubble position, icon library, notification badge, responsive on every device
* Page-speed-friendly loading — the widget won't drag down your Core Web Vitals
* Custom CSS & JS editors for pixel-perfect control
* Conversations persist across pages; visitors return to their last message
* Chat transcripts emailed to you

= Start free — no credit card =

The free plan is genuinely useful: 1 assistant, 50 AI messages and 200 widget views per month, trained on your content, with quick replies, display triggers, greeting cards, all 6 themes and full customization. Setup takes about 60 seconds — install, click **Create free account**, and the plugin walks you through the rest. No API keys, no embed code to paste into your theme.

Paid plans start low and unlock lead capture, bookings, contact channels (WhatsApp & friends), Telegram handoff, integrations, branding removal and higher limits. Agency and white-label plans are available for freelancers and agencies managing client sites — see [chaaty.io](https://chaaty.io).

= Who it's for =

Service businesses that live on inquiries: contractors, clinics, salons, restaurants, real estate, law firms, e-commerce stores, SaaS, and the agencies that build their sites. If a missed question means a missed sale, Webaaty pays for itself with one captured lead.

**See it live:** the assistant on [chaaty.io](https://chaaty.io) is the product itself — ask it anything.

== External services ==

This plugin connects your site to **Chaaty**, a third-party service operated by Chaaty (https://chaaty.io). The connection is required because the chat assistant is hosted and processed by Chaaty.

What the plugin does:

* It loads the Chaaty widget script from `https://chaaty.io/widget/embed.js` on the front end of your site (only when you have entered a Chatbot ID and the assistant is enabled).
* When a visitor interacts with the assistant, their messages and related session data are sent to Chaaty (`https://chaaty.io`) to generate replies and, where enabled, capture leads or bookings. This happens in the visitor's browser via the loaded widget.
* The plugin sends your Chatbot ID (which you provide) to identify which assistant to load.

The plugin itself does not send your visitors' data to any other service. Data handling by Chaaty is governed by its policies:

* Terms of Service: https://chaaty.io/terms
* Privacy Policy: https://chaaty.io/privacy

If you remove the plugin or disable the assistant, the widget script is no longer loaded on your site.

== Installation ==

1. Install and activate the plugin.
2. Open **Webaaty** in your WordPress sidebar and click **Create free account** (or sign in to an existing Chaaty account) — no credit card needed.
3. The plugin scans your site and builds your assistant on your own content.
4. That's it — the assistant is live on your site. Fine-tune its look, training and channels any time, and choose which pages it appears on from the settings screen.

== Frequently Asked Questions ==

= Will it actually know about MY business? =

Yes — that's the point. The assistant is trained on your website pages, uploaded files and your own Q&A. It answers about your services, prices and policies, not generic filler. Re-scan any time your content changes.

= How fast can I be live? =

About 5 minutes. Install, create a free account from inside the plugin, let it scan your site, done. No coding, no theme editing, no embed code.

= Is it really free? =

The plugin is free, and Chaaty has a free plan (1 assistant, 50 AI messages & 200 widget views per month) — enough to see real conversations from your real visitors before spending anything. Paid plans unlock lead capture, bookings, WhatsApp & contact channels, integrations, branding removal and higher limits.

= Do I need a Chaaty account? =

Yes — Webaaty connects your site to Chaaty, the hosted service that runs the AI. You can create the free account right from the plugin in one click. Hosted means zero maintenance for you: no API keys to manage, no model updates to install, and the AI keeps improving without you touching anything.

= Can I add a WhatsApp or Messenger button? =

Yes, on a paid plan. Add WhatsApp, Call, SMS, Email, Messenger, Telegram, Instagram, Directions and custom links — as buttons inside the chat or as a standalone floating contact launcher. You can even run channels-only mode without AI chat.

= Will it slow down my site? =

No. The widget loads asynchronously and is built to be page-speed-friendly, so your Core Web Vitals stay intact.

= Can a human take over a conversation? =

Yes — with Telegram handoff (paid plans) you get visitor chats in Telegram and reply from your phone in real time.

= Where does the assistant appear, and can I control that? =

By default it shows on every page. In the Webaaty settings you can hide it on specific pages by slug or ID, and on the Chaaty side you can target by country, traffic source, business hours and more.

= How do I remove it from my site? =

Turn off "Show on site" in the Webaaty settings, or deactivate the plugin. Either stops the widget from loading instantly.

== Screenshots ==

1. The AI assistant answering a visitor's question and offering WhatsApp, Messenger & Telegram on a live site.
2. Lead captured in-conversation — the assistant collects name & email at the moment of highest interest.
3. Guided setup — create your free account and go live in about 5 minutes, without leaving WordPress.
4. The Webaaty settings screen with connection status and page targeting.

== Changelog ==

= 1.7.0 =
* You can now sign out of Chaaty, or remove the assistant from your site, from the Settings screen.

= 1.6.1 =
* Fixed upgrade buttons doing nothing when clicked from the Overview screen.
* Upgrade buttons now go straight to checkout for the right plan.
* Signing in with an existing Chaaty account is now a clear option on the setup screen.

= 1.6.0 =
* Already have a Chaaty account? Sign in and pick your assistant from a list — no need to find a Chatbot ID.
* Your plan, monthly usage and what's included are now clear at a glance, with one-click upgrades.

= 1.5.1 =
* Fixed "you are not allowed to do that" when returning from Chaaty while connecting your account.

= 1.5.0 =
* Already built an assistant in Chaaty? You can now connect it to WordPress and manage it here — sign in once to link your account.
* Fixed saving a Chatbot ID appearing to do nothing.

= 1.4.1 =
* Fixed a false "setup details are missing" message that could appear even when the connection had actually succeeded.
* Setting up again no longer takes a working assistant off your site.

= 1.4.0 =
* Webaaty now has its own menu in the WordPress sidebar, with Overview and Settings, instead of sitting under Settings.

= 1.3.1 =
* The setup screen now explains exactly why a connection hasn't finished, instead of waiting silently.
* Added a "Start over" option to re-run setup if the connection can't be completed.
* Housekeeping for WordPress coding standards.

= 1.3.0 =
* Redesigned plugin screens: a clear Overview and Settings view built around your assistant.
* Overview now shows real numbers — conversations, leads captured, sources trained, and your monthly usage.
* Faster setup screen explaining exactly what the scan does before it runs.
* Quick show/hide toggle, and direct links to appearance, training, leads and conversations in Chaaty.

= 1.2.0 =
* Build your assistant without leaving WordPress: scan your site, preview the assistant live, and sign up in one step.
* Manage your assistant natively — name, greeting, colour, position, size, suggested questions and lead capture — right from the plugin.
* Usage meter and one-click upgrade links.
* Re-scan to retrain your assistant on your latest content.

= 1.1.0 =
* New guided setup: create a free account, build your assistant, and connect it — all explained in the plugin.
* Added page targeting: choose to show the assistant everywhere or hide it on specific pages.
* Connection status panel and quick links to customize your assistant.
* Rewritten, clearer onboarding so new users know exactly what to do.

= 1.0.0 =
* Initial release: add your Chaaty AI assistant to WordPress with a single setting.

== Upgrade Notice ==

= 1.8.0 =
New guided setup, page targeting, and a clearer path from install to a live assistant.
