Chat panel open over a page with an assistant header, a welcome message, three suggested questions and a message field
Arabic right-to-left chat panel with an assistant header, welcome message, suggested questions and a message field

This project is not covered by Drupal’s security advisory policy.

iDigit Gov chatbot adapter adds an accessible chat widget and a provider plugin API. It ships one provider, a generic HTTPS webhook. No AI service is included or implied: with the default provider none, nothing is shown and the endpoint refuses requests.

It is a community contribution by iDigit. It is not an official DGA product and is not endorsed by DGA.

What it does

  • Chat widget: launcher, panel with header and status, suggested questions and a message field; right-to-left aware.
  • Provider plugin API (#[ChatbotProvider]); a webhook provider that POSTs {"message","session"} and expects {"reply":"..."}.
  • Operations: permission and CSRF header token for authenticated sessions, JSON validation, length limits, per-client flood control, strict timeouts, no redirects, response size cap, circuit breaker and structured logging without message content.
  • The backend secret is read from settings.php.
  • Arabic translation included.

Privacy

Messages are passed to your backend and are not stored by this module. Tell visitors who receives their messages; the data handling of your provider is your responsibility.

Related projects

Drupal.org has AI-based chatbot modules (for example AI Chatbot Plus). This module isn't a single product; it is a widget and an adapter API for a backend you choose.

Requirements

Drupal core ^11.3 (tested for 1.0.0-beta1 on 11.3.21, 11.4.11 and 11.4.12 with PHP 8.3 and 8.4, and on 11.5.0-beta1, beta only). No other dependencies.

Install

composer require 'drupal/idigit_gov_chatbot:^1.0@beta', enable the module, configure the provider, and place the block.

Supporting organizations: 
funded the development and ongoing maintenance, released as a community contribution

Project information

Releases