Introducing WhatsApp Flow Agent: A visual drag-and-drop Conversational Builder on WhatsApp

Explore
integration
June 25, 2025
8 min

Kipps.AI integration with Drupal

Kipps AI chatbot and Drupal website integration blog

Kipps.AI integration with Drupal

Share This Article

Table of Contents

Get Human-Like AI Phone Calls

Answer every call. Qualify leads. Book meeting 24/7.

About Drupal

Drupal provides an open-source back-end framework for at least 14% of the top 10,000 websites worldwide and 1.2% of the top 10 million websites — ranging from personal blogs to corporate, political, and government sites. Drupal can also be used for knowledge management and for business collaboration.

Because Drupal is built to be highly configurable rather than opinionated, adding a third-party widget like Kipps.AI isn't a single fixed process the way it is on a simpler website builder — it depends on your site's block layout and theme. The good news is that Drupal's core "Custom Block" system, described below, is a standard, theme-agnostic way to inject a chat widget without touching your site's template files or writing custom code. This guide walks through that approach, along with what to check if the widget doesn't behave as expected once it's live.

Before you start: prerequisites

  • Administrator access to your Drupal site, specifically permissions to manage blocks under Structure. If you're not the site administrator, you'll need someone with that role to make these changes or grant you temporary access.
  • A Kipps.AI account with a configured agent. Sign up at app.kipps.ai, build out your agent's knowledge base, and set its business hours before pointing real visitors at it.
  • Your Kipps.AI embed script, copied from the install or integrations section of your Kipps.AI dashboard.
  • Familiarity with your site's caching setup. Drupal caches aggressively by default, and many production sites add further caching layers (a reverse proxy like Varnish, or a CDN). Know how to clear these, since a newly added block sometimes won't appear until the cache is cleared.
  • A staging environment, if you have one. Testing block placement and visibility rules on staging first reduces the risk of visible mistakes on a live, public-facing site — particularly relevant given how often Drupal powers institutional and government sites.

Step-by-step integration guide

Step 1: Log into your Drupal website

Access your website's admin panel by entering your credentials. This is typically reached at a /user/login path or a dedicated admin URL configured for your site.

Step 2: Navigate to Structure

Find and click on the "Structure" option in the main admin menu. Structure is where Drupal groups the tools for managing your site's layout building blocks — content types, menus, taxonomy, and the blocks you'll use here.

Step 3: Select Blocks

In the Structure menu, you will find an option called "Blocks." Click on this. Drupal's block system lets you place a piece of content or code into a defined region of your theme — such as the header, footer, or sidebar — without editing template files directly.

Step 4: Add a new block

On the Blocks page, there should be a link or button to "Add block." Click on this to create a new custom block. This is where you'll define the block that will hold your Kipps.AI widget script.

Step 5: Enter your chat widget code

In the block configuration, there will be a text box for block content. This is where you add your Kipps.AI embed script. Make sure to select the "Full HTML" or "Raw HTML" text format for this field — Drupal filters HTML by default for security reasons, and a more restrictive format (like "Basic HTML" or "Plain text") will strip out the <script> tags your widget needs to function.

Step 6: Configure the block visibility

In the same block configuration, there will be settings for where and when this block should appear on your site. You can configure these to ensure the chat widget appears on all pages, only on certain pages, or only for certain user roles. For most businesses, placing the block in a region that renders on every page (such as the footer region) and setting visibility to "all pages" gives the broadest, most useful coverage.

Step 7: Save your block

Once you've entered your code and configured the block settings, save your block. The chat widget should now appear on your website according to the visibility settings you configured. If you're running a cache layer, clear it now, then load your site in a fresh browser tab to confirm the widget is visible.

Troubleshooting common issues

  • The widget doesn't appear after saving the block. Drupal's own page cache, plus any reverse proxy (like Varnish) or CDN in front of your site, can delay changes from showing up. Clear caches at Configuration → Performance in the admin menu, and purge any external caching layer separately.
  • The script got stripped out or looks broken. This almost always means the block's text format was set to something other than "Full HTML" or "Raw HTML." Drupal's text filtering strips <script> tags under more restrictive formats by default — re-check the format dropdown on the block content field.
  • The block appears in the wrong place, or not where you expected. Drupal themes define specific regions (header, footer, sidebar, and so on), and where a block appears depends on which region you assigned it to when placing it. Revisit the block layout page and confirm the block is assigned to a region that's rendered on every page.
  • The widget shows for some users but not others. Check whether your block's visibility settings are scoped by user role or permissions — a block accidentally restricted to "authenticated users" or a specific role won't show for anonymous visitors, who make up most of your traffic.
  • Styling conflicts or overlapping elements. Because Drupal themes vary enormously, check your Kipps.AI dashboard's widget position settings if the chat bubble collides with your theme's own sticky elements, like a "back to top" button or cookie notice.
  • A Content Security Policy blocks the script. Some Drupal security modules add strict CSP headers. If your browser console shows a blocked-by-policy error, you'll need to add Kipps.AI's script domain to your site's allowed sources, typically configurable through the security module you're using.

Best practices for a smooth launch

  • Use "Full HTML" or "Raw HTML" deliberately, and understand the security tradeoff. These formats bypass Drupal's HTML filtering, so only paste code from trusted sources like your own Kipps.AI dashboard into a block using this format.
  • Place the block in a footer or persistent region so it appears consistently across your site rather than needing to be re-added page by page.
  • Test on staging before touching a production Drupal site, especially for institutional, government, or high-traffic sites where an unexpected layout issue is more visible and costly.
  • Configure business hours and escalation logic in your Kipps.AI dashboard so visitors get an accurate signal about whether they're chatting with the AI or waiting for a human.
  • Clear all caching layers, not just Drupal's internal cache, when testing changes — a reverse proxy or CDN cache is a common reason a working configuration appears not to work.
  • Review block visibility settings carefully if your Drupal site has different content for logged-in users, members, or specific roles, so the chat widget reaches the audience you intend.

Frequently Asked Questions

Drupal filters HTML by default for security, and more restrictive formats like "Basic HTML" strip out <script> tags. The Kipps.AI widget requires JavaScript to function, so the block content needs a format that allows scripts through.

Yes. The custom block approach is a core Drupal feature that works independently of your theme, since it relies on Drupal's block and region system rather than theme-specific template code.

Reverse proxies and CDNs cache pages independently of Drupal's own cache. Clear Drupal's cache first, then purge your Varnish or CDN cache separately to make sure the updated page is served.

Yes. The block visibility settings in Step 6 let you scope the widget by page, content type, or user role, giving you fine-grained control over where and to whom it appears.

No additional module is required. Blocks are a core Drupal feature, so this integration works on a standard Drupal installation without needing a custom or contributed module.

Give your Drupal site an always-on way to answer visitor questions. Sign up for Kipps.AI to configure your agent, or talk to our team if you'd like help planning your rollout across a complex Drupal site. Learn more about the platform at kipps.ai.

Next to read

Ready to Get Started?

Transform Your Customer Experience Today

Join 50+ companies already using Kipps.AI to automate conversations, boost customer satisfaction, and drive unprecedented growth.