=== AutoFlow – AI Chatbot, Live Chat & Lead Generation ===
Contributors: autoflowai
Tags: ai chatbot, woocommerce, customer support, chat widget, live chat
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI chatbot for WordPress. Answers visitor questions from your own pages and products, captures leads, sets itself up. No OpenAI API key needed.

== Description ==

Most visitors who have a question never ask it. They can't find the answer, they close the tab, and you never know they were there.

AutoFlow is an AI chatbot and live chat widget for WordPress. It answers questions using your own business information — your services, prices, opening hours, policies — and when someone seems interested it captures their email and sends the lead straight to your inbox. It works around the clock, so the questions that arrive at 11pm still get answered.

= No API key. No developer. No leaving WordPress. =

Most AI chatbot plugins send you off to another website to sign up, then make you create an OpenAI or ChatGPT API key, paste it back, and pay for the AI separately on top.

This one doesn't. There is no API key to create, no second bill, and no code.

Install the plugin, choose a plan, and pay on Stripe's secure checkout. When you come back, your chatbot is already connected — there is no key to copy — and it has already read your own pages, WooCommerce products and contact details to work out what your business does. Review what it found, correct anything wrong, and you're live. Most people are answering visitors within a few minutes.

= Honest pricing, in numbers you can predict =

Most AI chatbots bill in "credits", and a single reply can quietly burn anywhere from one to six of them depending on which AI model happened to answer. You cannot predict that bill until it arrives.

AutoFlow counts conversations. 400 conversations means 400 conversations. The price on the box is the price you pay.

= What it does =

* Answers visitor questions as an AI chatbot trained on your own content
* Reads your existing pages, posts and WooCommerce products to train itself
* Captures visitor names and email addresses as leads
* Emails you every lead with the full chat transcript
* Hands over to a real person by phone, email, WhatsApp or Facebook Messenger
* Keeps a searchable history of every conversation
* Matches your brand colours, sits left or right
* Works on mobile and desktop

= What it won't do =

It only answers from what you've told it. If it doesn't know something, it says so and offers to put the visitor in touch with a person — it will not invent a price, a policy or an opening time just to fill the silence. You can read every conversation in your dashboard, so you'll know quickly if anything needs correcting.

= Never traps anyone with a bot =

The fastest way to lose a customer is to make them fight a chatbot when they want a human. Add any combination of phone, email, WhatsApp and Facebook Messenger, and the moment a visitor asks for a person, the chatbot stops answering and hands them the buttons.

= WooCommerce chatbot =

If you run a WooCommerce store, the chatbot reads your products and prices during setup, so it can answer "do you sell X?" and "how much is Y?" from the first day, without you typing your catalogue into a form.

= Requires an account =

This plugin connects your WordPress site to AutoFlow, a paid AI chatbot service from AutoFlow AI (from $29/month CAD, no contract, 30-day money-back guarantee). You can sign up directly inside the plugin.

* Sign up: https://autoflowai.ca/site-chat
* Dashboard: https://autoflowai.ca/site-chat/dashboard
* Privacy policy: https://autoflowai.ca/privacy
* Terms: https://autoflowai.ca/terms

= Third-party service disclosure =

This plugin loads a script from autoflowai.ca and sends visitor chat messages to that service so they can be answered. Messages, and any contact details a visitor chooses to provide, are processed and stored by AutoFlow AI on the site owner's behalf. Nothing is sent until a visitor opens the chat and types a message.

Payment is handled entirely by Stripe on Stripe's own checkout page. No card details are entered in WordPress or stored on your site.

Service endpoints used:

* https://autoflowai.ca/api/site-chat/widget.js — the chat widget script
* https://autoflowai.ca/api/site-chat/config — appearance settings
* https://autoflowai.ca/api/site-chat/message — chat messages
* https://autoflowai.ca/api/site-chat/site — your settings and training, read and written from this plugin
* https://autoflowai.ca/api/site-chat/create-checkout-session — starts Stripe checkout
* https://autoflowai.ca/api/site-chat/claim — collects your credentials after payment

== Installation ==

1. Install and activate the plugin.
2. Go to **Settings → AutoFlow Chat**.
3. Choose a plan and click **Continue to secure checkout**.
4. Pay on Stripe. When you return to WordPress your chatbot is already connected.
5. Review the business information it filled in from your own site, correct anything wrong, and save.

Already have an AutoFlow account? There's a box on the same screen for your setup token instead.

== Frequently Asked Questions ==

= Do I need an OpenAI or ChatGPT API key? =

No. Unlike most AI chatbot plugins for WordPress, there is no API key to create, paste, or pay for separately. Your subscription covers the AI, so there's no second bill that grows with your traffic.

= Do I need to edit any code? =

No. Nothing to paste, nothing to copy. Choose a plan on the settings screen and the plugin connects itself.

= Are card details entered in WordPress? =

No. Payment happens on Stripe's own secure checkout page. No card details are entered in WordPress or stored on your site.

= How does the chatbot learn about my business? =

During setup it reads your published pages, posts, WooCommerce products and contact details, and fills in your services, prices, hours and FAQs for you. You review everything before it goes live, and can edit any of it later.

= Will it make things up? =

No. It answers only from the information you give it. When it doesn't know, it says so and offers to connect the visitor with a person, rather than guessing at a price or a policy.

= Can it hand over to a real person? =

Yes. Add any combination of phone, email, WhatsApp and Facebook Messenger. When a visitor asks to speak to someone, the chatbot offers those directly instead of looping.

= Does it work with WooCommerce? =

Yes. Your products and prices are read during setup so the chatbot can answer product and pricing questions straight away.

= How is this different from a credit-based chatbot? =

Most AI chatbot plugins sell "credits", where one reply costs between one and six credits depending on the model used. AutoFlow counts whole conversations at a fixed number per plan, so your bill is predictable.

= Can I hide the chat temporarily? =

Yes — untick "Display the chat bubble on my site" in settings. Your account stays connected.

= Will it slow my site down? =

No. The script loads asynchronously after your page, so it never blocks rendering.

= What happens if my subscription lapses? =

The widget stops appearing. The plugin stays installed and starts working again as soon as the account is active.

= It says "we couldn't reach AutoFlow from your server" — is that bad? =

Usually not. Some hosts block outbound requests from PHP, which stops us double-checking your key from the server side. The chat itself loads in your visitor's browser, not from your server, so it will almost always still work. Open your site in a new tab to confirm.

== Screenshots ==

1. Set up inside WordPress — we read your own pages and fill in your services, hours and contact details for you.
2. Your chatbot answering a real visitor question from that information.
3. Ask for a person and it stops answering, handing over by phone, WhatsApp, Messenger or email.

== Changelog ==

= 1.2.0 =
* Sign up and pay from inside WordPress — choose a plan on the settings screen and pay on Stripe's secure checkout.
* No more copying keys. The plugin collects your credentials itself once payment clears.
* Your chatbot now arrives part-trained, from your own pages, products and contact details.

= 1.1.1 =
* Train your chatbot, set colours and configure hand-off to a real person without leaving WordPress.
* Clearer errors when a key or token isn't accepted.

= 1.0.0 =
* First release.

== Upgrade Notice ==

= 1.2.0 =
You can now sign up, pay and train your chatbot without leaving WordPress, and it trains itself from your own pages first.
