Coming soonYour agent on WhatsApp, Messenger and Instagram
ReplyBash

AI chatbot for Drupal

Add the Header and Footer Scripts module, paste one script in its settings, and your Drupal site gets an agent that answers visitors from your own pages.

  • Header and Footer Scripts module
  • No theme edit
  • Free plan to start
Who it's for

Made for Drupal sites and the people who run them

This is for colleges, councils, charities and organisations on Drupal whose visitors can't find answers in a large site and end up emailing.

Drupal has no built-in box for a script, so this uses a contributed module. Whoever maintains your site adds it with Composer, and from then on anyone with access can change the script in its settings.

Install

Install on Drupal, step by step

Create your agent first: paste your website's address and it reads your pages. Then add it to your site.

Add it with a module

  1. 1Create your agent: paste your website URL and let it read your pages.
  2. 2Add the Header and Footer Scripts module with Composer (composer require drupal/header_and_footer_scripts), then install it on the Extend page.
  3. 3Open its settings at /admin/config/development/header-and-footer-scripts/header, paste the script and save the configuration.
  4. 4Open your site and ask a question you know the answer to.
Header and Footer Scripts
<script
  src="https://replybash.com/embed.js"
  data-agent-id="YOUR_AGENT_KEY"
  defer>
</script>

The script goes in the page's head. It has defer, so it waits for your page to load. Other ways to install, such as the chat inside one page, are in the quickstart.

On Drupal

What works on your site

Every feature below is built and in the product today.

  • No theme files changed

    The script is stored in the module's settings, so switching or updating your theme leaves it alone.

  • A security-covered module

    Header and Footer Scripts is covered by Drupal's security advisory policy, per its project page.

  • Set up once by your developer

    The module goes in with Composer once. After that, the script is a settings field anyone with access can change.

  • Off the admin pages

    Page rules such as all but /admin/* and /user/* keep the chat away from editors at work.

  • Answers with sources

    Every answer comes from your public pages and shows the page it used.

  • Enquiries to the right inbox

    Forms in the chat send each enquiry to email, Slack, Telegram or a webhook.

FAQ

Drupal questions

Something else? We answer every email.

Email us

No. A general-purpose module, Header and Footer Scripts, adds the script to your pages.

The module's project page lists Drupal 8, 9, 10 and 11.

The head is fine. The script has defer, so it doesn't hold your page up.

Use page rules in Playground › Appearance › Pages, such as all but /admin/* and /user/*, to keep it off them.

No. It reads what a signed-out visitor can read. Add anything else as files or Q&A in Knowledge.

The chat works on every plan, the Free plan included, which has 100 messages a month. Paid plans start at $39 a month with a 7-day free trial.

Put your website to work tonight

Paste your URL and chat with your agent in minutes.

Free for 100 messages a month · No credit card required