Weglob AI Agent

By Weglob

0+ active installationsVersion 1.0.2

An AI sales assistant that answers visitors from your own content, captures leads and books appointments – on your website, on WhatsApp, or both.

Description

Weglob AI Agent puts an AI assistant on your website that knows your business. It searches your pages, posts, products and listings to answer questions, qualifies prospects, saves leads, books appointments in your opening hours and hands the chat to your team when needed.

The same agent can also answer on WhatsApp (optional), through the official WhatsApp Cloud API.

Made for any business

Pick your business type and the agent adapts its role and the questions it asks:

  • Real estate agencies – finds listings, qualifies buyers and renters (budget, area, bedrooms, timing) and books viewings.
  • Service providers and agencies – qualifies requests and books calls or quote visits.
  • Clinics, salons, health and beauty – answers about treatments and books appointments (never gives medical advice).
  • Restaurants and hotels – menu, hours, reservations.
  • Online stores – product questions, delivery and returns (WooCommerce prices and stock included).
  • Schools, training centres and coaches – programs and trial sessions.

Features

  • Floating website chat, mobile friendly, your colour and position.
  • Answers from your own site content (any public post type, custom fields and taxonomies included) plus your business information.
  • Lead capture with email notification and CSV export.
  • Appointment booking with your opening hours and slot length, no double booking.
  • Human hand-over: the agent steps back, your team replies from the WordPress inbox (website and WhatsApp in one place).
  • Optional WhatsApp agent (Cloud API) and/or a simple “Continue on WhatsApp” link.
  • Works with the WordPress AI Client (WordPress 7.0+, Settings > Connectors), or bring your own AI key: Anthropic Claude, OpenAI, Google Gemini or any OpenAI-compatible endpoint (OpenRouter, local Ollama…).
  • Replies in the visitor’s language.
  • Cost control: limit of AI replies per conversation, usage log with tokens.
  • Rate limiting on the public chat endpoint.
  • Optional “AI assistant by Weglob” credit link under the chat (off by default, you choose).
  • Developer hooks: wgai_tools, wgai_run_tool, wgai_system_prompt, wgai_show_widget, wgai_pre_ai_step.

External services

This plugin sends data to third-party services only after you configure them:

  • Your AI provider (one of: Anthropic – https://www.anthropic.com/legal/privacy, OpenAI – https://openai.com/policies/privacy-policy, Google Gemini – https://policies.google.com/privacy, or the custom endpoint you enter). When a visitor or WhatsApp contact sends a message, the conversation history, your business information and the matching site content are sent to generate the reply.
  • Meta WhatsApp Cloud API (https://www.whatsapp.com/legal/business-policy, https://www.facebook.com/privacy/policy), only if you enable the WhatsApp agent. Replies are sent to graph.facebook.com and incoming messages are received from Meta’s webhook.

Tell your visitors about the AI chat in your privacy policy.

Installation

  1. Install and activate the plugin.
  2. Go to AI Agent > Settings > AI provider, choose a provider and paste your API key. Click “Test the AI connection”.
  3. In Agent, pick your business type, add your business information and choose the content the agent can search.
  4. Set your opening hours in Hours & booking.
  5. The chat bubble appears on your site. Conversations and leads appear under AI Agent.

WhatsApp (optional)

  1. Create a Meta app with the WhatsApp product and add your business number.
  2. In AI Agent > Settings > WhatsApp, paste the Phone number ID, a permanent access token and the App secret.
  3. In the Meta app, set the Callback URL and Verify token shown on that tab and subscribe to “messages”.

FAQ

Do I need WhatsApp?

No. The website chat works on its own. WhatsApp is an extra channel.

How much does the AI cost?

You pay your AI provider directly for usage. Small models cost a fraction of a cent per reply. The usage page shows tokens per reply, and you can cap AI replies per conversation.

Will it invent answers?

The agent is told to answer only from your site content and business information, and to offer a follow-up by your team when it does not know.

Where are conversations stored?

In your WordPress database. Nothing is stored on Weglob servers.

Screenshots

Changelog

1.0.2

  • The WordPress AI Client (Settings > Connectors) is now the default provider whenever it is available; direct provider keys are only a fallback.
  • Security: opening a conversation only marks it as read through a signed (nonce) link.

1.0.1

  • Fix: the chat now checks for team replies on sites without pretty permalinks.
  • Fix: a temporary AI provider error no longer hands the conversation over to a human.
  • The agent saves the lead as soon as the visitor gives a phone or email.
  • One lead per conversation: new details and the appointment update the same lead.
  • The welcome message now always shows first when a visitor comes back.

1.0.0

  • First release.