Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough
Oct 27 2023
Oct 27

As artificial intelligence (AI) is steadily seeping into nearly every aspect of modern life, government website stakeholders are sorting through what’s new and next to explore possibilities, embrace advantages, and avoid pitfalls. 

AI refers to a multifaceted mix of technologies, that draw upon advanced computer systems and algorithms to simulate human intelligence and reasoning.

AI is essentially an umbrella term that incorporates machine learning and deep learning, both of which are designed to continuously learn from data – functioning far beyond the types of outcomes that can result from explicit programming.

What are the top applications for AI in local government websites?

The potential for AI to enhance the functionality, efficiency, and user experience of county and municipal government websites is huge. The top five AI applications are currently: 

  1. Language translation,
  2. Content personalization,
  3. Search enhancements,
  4. Chat for customer support, and
  5. Predictive analytics.

Language translation

It's now the norm, not the exception, for counties and municipalities to serve diverse populations that speak a wide variety of languages.

AI language translation tools, such as the Drupal OpenAI Translation Toolbox, can automatically translate website content into multiple languages, making information accessible to a broader audience.

As websites increasingly serve as the front door from which local governments serve and interact with all constituents, robust translation capabilities that can serve a multilingual population, are helping to break down language barriers and ensure inclusive, efficient government services and outreach.

Content personalization

Content personalization capabilities have the potential to transform user experience.

By analyzing user behavior and preferences, AI powered applications can recommend relevant information and services, making an individual’s experience on the site more efficient and tailored to their needs.

One example of content personalization for a user that frequently searches for for children-related activities and events, would be a prioritization of this type of content, by highlighting or efficiently directing them to topics that are likely to be of interest.

Search enhancements

With the intention of efficiently delivering relevant search results, machine learning and natural language processing capabilities are managing to more accurately understand the intent behind search queries, based on user behavior and search patterns.

Traditionally, text entered in a search box produced the same results, regardless of the user. AI enhancements are making it possible to produce more relevant results that are adjusted in real time based on factors such as a user’s browsing history and the intent commonly associated with the words used.  

Chat for instant support

AI-powered chat is currently the most common form of AI on county and municipal government websites.

Chat can provide immediate responses to frequently asked questions, guide users through complex processes, and offer assistance 24/7. The potential benefits of chat functionality are deep and far reaching, and include:

  • Cost savings. By reducing the need for support staff to respond directly to routine inquiries, chatbots cut operational costs and free up staff to focus on more complex tasks.
  • Efficiency and consistency. Chatbots can provide quick and consistent responses to frequently asked questions, making it easier for users to find information and access services without waiting on hold or for calls or emails to be returned. 
  • Availability: 24/7 availability combined with multilingual capabilities broadens access to a diverse population. 
  • Scalability. The ability to handle a high volume of citizen inquiries simultaneously, is a critical for government websites that experience varying levels of traffic. 
  • Data collection and analysis: Chatbots’ ability to collect data pertaining to citizen inquiries provides valuable data concerning citizen needs and concerns.

Predictive analytics

AI-driven predictive analytics can help local governments optimize resource allocation.

By analyzing historical data and web usage activity or inquiries, AI models can help inform decision-making on issues that range from improvements to web navigation and content, to usage patterns, to primary sources of complaints and concerns. 

How is AI currently being used in county and municipal government websites?

With chat currently serving as the most prevalent form of AI on county and municipal government websites, new possibilities for AI are a top-of-mind consideration among public sector website stakeholders looking to enhance user experiences and streamline government operations.

Here are a four examples of municipal websites are making excellent use of AI applications:

Chat functions

Top navigation icons for the City of Los Angeles website, begin with a “Chat with Chip” option, followed by Language Translation, Accessibility, and Search.

When clicked, “Chat with Chip” opens into an inviting window for inquiries – versus the typical chat user experience, which appears as a small speech bubble in the lower right of the screen.

As Los Angeles been hit particularly hard with the Covid-19 pandemic, the chat function encourages residents to seek accurate and up-to-date information and resources.


The chat function for the San Jose, Calif., website appears in the more traditional location. It explicitly encourages inquiries.


And the level of functionality is clearly robust — suggestions of multiple options for inquiries, along with an open-ended question box.


Language options

With a drop down in the upper right for language options that include English, Suomi, and Svenski, Finland’s capital city of Helsinki’s website, consistently leverages AI to encourage citizen engagement and to filter analytics concerning how citizens are using the site, in order to improve city services, as well as the user experience of the site itself.


Personalized content

The website for the City of Barcelona in Spain is utilizing AI to provide personalized content to users. Information and services are tailored for individual users based on their behaviors and preferences.  


What are some pitfalls of relying on AI for government websites?

In the words of former President Ronald Reagan, “Trust but verify.”

AI-generated information tends to be surface-level. While information can be amazingly on target, there is the possibility of nuanced inaccuracies or true misinformation.

Here’s an example of how AI can miss the mark:

Reasons to be cautious of AI

A ChatGPT query concerning examples of AI applications currently deployed on county and municipal government websites resulted in the following response: 

“San Francisco implemented a chatbot on its website to assist residents with common inquiries, report issues, and find information about city services. This chatbot aimed to provide quick and efficient customer support.”

A review of the website for the City of San Francisco reveals that this is not the case. What was likely being referenced was an entirely separate site, San Francisco GPT. This site, however, is still very much in its beta form, and is not integrated into the official website for the city. 

In addition to widely reported inaccuracies, here are six additional reasons to exercise caution before diving too deep or too fast into AI at this point.  

  • Accessibility. AI applications, if not designed and tested with Web Content Accessibility Guidelines in mind, can result in accessibility issues for people with disabilities. 
  • Privacy and Data Security. AI applications often involve collecting and processing user data. Robust systems need to be in place to protect this information. Data breaches or misuse can have serious legal and reputational consequences.
  • Bias and Fairness. AI models can inherit biases from the data they are trained on. If these biases are not properly addressed, they can lead to unfair or discriminatory outcomes, which is especially problematic for government services.
  • Transparency and Accountability: Transparency in decision-making is a fundamental principle in government. AI systems can be complex, making it challenging to explain their decisions, which can erode public trust. 
  • Resource Allocation. Developing and maintaining AI applications can be a resource-intensive use of taxpayer dollars. Costs need to be justified. 
  • Vendor Dependence. Many governments rely on third-party vendors to provide AI solutions. As open-source enthusiasts, we at Promet Source vigorously caution against the potential perils of vendor lock-in and data ownership. 

While each of the above six factors are significant, this is not to say that we at Promet are not 100% on board with the possibilities and potential of AI for county and municipal government websites. New challenges are inherent to new technology.

What’s important is to be aware of issues as they emerge and ensure that they are addressed ethically and efficiently.

Drupal AI modules that can be worked into public sector sites right now

As was perceptively anticipated in an AI applications for Drupal blog published on this site earlier this year by Sonal Bendle, 2023 has shaped up to be the year that AI catapulted past the hype and into the mainstream of life and work – as well as Drupal development

Here are some exciting new Drupal AI module developments can be deployed right now to leverage the potential of AI within government websites:

  • Open AI Metadata uses Open AI to generate meta description for different content types. 
  • The AI Interpolator module is an API enabler to aid in the transformation or interpolation of one field into something else – such as descriptive text into an image. 
  • The AI Interpolator Open AI module is a plugin for the AI Interpolator module that makes it possible to use the power of AI to manipulate nodes, entities, blocks, and other content types. 
  • The Open AI Translation Toolbox is a module designed for to provide an efficient means to produce translations for multilingual websites. It leverages the capabilities of the OpenAI platform, including Azure OpenAI, to generate accurate translations for all enabled languages on a Drupal site. 
  • Open AI / Chat GPT / AI Search Integration. OpenAI is the company behind artificial generational intelligence products that power applications such as ChatGPT, GPT-3, and GitHub CoPilot. The Open AI / Chat GPT / AI Search Integration module aims to provide a suite of modules and an API foundation for OpenAI integration in Drupal for generating text content, images, content analysis and more, with a goal of augmenting and adding assistive AI tech and leveraging OpenAI API services in Drupal. 
  • Open AI Images is a Drupal module that leverages the OpenAI API to generate images from text descriptions. This module enables the effortless transformation of textual content into images. Using the OpenAI API's advanced natural language processing capabilities, the module interprets the provided text and generates corresponding images that capture the essence of the description. The generated images can then be saved as media entities on a Drupal site’s media library, ensuring easy access and management.
  • The Artificial intelligence Image Generator module provides a CKEditor 5 plugin to generate images using artificial intelligence.
  • The Leap AI module enables the remote generation images via the Leap AI (https://tryleap.ai/). It provides a media source plugin that allows for the creation, configuration, and management AI-generated images directly within a Drupal site – allowing for dynamic and customizable visual content. 
  • Augmentor AI is an AI framework for Drupal which allows for the easy integration of disparate AI systems into Drupal, providing a pluggable ecosystem for managing a variety of AI services such as GPT3, ChatGPT, NLP Cloud, Google Cloud Vision and many more.
  • AI Connect is a powerful Drupal module that serves as a bridge between Drupal and AI-powered services, and is designed to fast track content creation by seamlessly integrating with cutting-edge AI technology. 
  • AI Work is a backend module that end users will not interact with directly. It serves as a flexible system and data structure creation tool for building AI apps and agents. The AI chat user interface will be first module to use AI Work as a default backend.
  • Search API AI is a cutting-edge module that provides a collection of tools to integrate artificial intelligence and advanced search capabilities into a Drupal site. By leveraging the OpenAI Embedding API and storing vectors in Pinecone, this module enables the creation of powerful, AI-driven search experiences.

This is a short list and a start concerning Drupal’s depth and breadth of potential within AI. 

Interested in pulling it all together – leveraging the power of Drupal alongside the potential of innovations in AI module development? That’s what we do. Let’s talk right now about AI features and functions that can take your website to the next level and beyond.

Sep 21 2023
Sep 21

With Drupal 9 slated for end of life within a matter of weeks, the time to jump on the Drupal 10 upgrade fast track is now. 

The November 1 scheduled end of life for Drupal 9 signals a true hard stop, with no possibility of extended commercial support or off-grid security and bug fixes.  

At issue is the November 2023 decommissioning of Symfony 4.

Drupal versions beginning with Drupal 8 are now built on top of the Symfony open source PHP web application framework. As such, the decommissioning of a Symfony version sparks end of life for the Drupal version upon which it was built. 

Upgrade vs. Migration

Fortunately, the upgrade from Drupal 9 to 10, and even Drupal 8 to 10 is a relatively straightforward process, bearing little resemblance to the architectural restructuring that accompanied migrations from Drupal 7 to current versions.

Drupal migration team graphic

But despite Drupal 9’s impending hard stop, the Drupal community’s appetite for another upgrade appears a bit lacking at the moment. As of mid-September, only 2.2 percent of Drupal sites have upgraded to version 10. While that small percentage might appear as an indicator that far to many of the 104,795 sites that are currently on Drupal 9 are headed for security vulnerabilities and a lack of support after Drupal 9’s November 2023 end-of-life date, there are actually two great reasons for optimism.  

Advantages of upgrading to Drupal 10 are huge and the Drupal 9 to 10 upgrade process can be amazingly fast and value-added. 

Drupal 10 Advantages

The Drupal Community has enthusiastically greeted Drupal 10 as the best-ever version of the CMS, and the June 2023 release of Drupal 10.1 raised the bar even higher with a host of new benefits for site builders.

Upgrade to Drupal 10 graphic

Here are some essential benefits that are built into Drupal 10.

Enhanced Security 

Drupal 10 introduces important new security features, the most significant being advanced password hashing, improved cross-site scripting (XSS) protection, and fortified session management. While these security enhancements are designed to further reign in platform vulnerabilities, the more significant security motivating a Drupal 10 upgrade is actually the impact of not upgrading, as Drupal 9 sites will no longer receive security support following the November 2023 end of life.

I imagine public sector websites and those that house sensitive data would be interested in ensuring their website remains as secure as possible.

Drupal 9 on a headstone graphic

Performance Optimization  

There is less code to maintain with Drupal 10, resulting in a faster, more efficient and easier to maintain CMS.

Improved Experience 

Drupal 10 provides a more marketer friendly CMS that has an intuitive and user-friendly interface for content editors and administrators. An enhanced and modernized backend, delivers better authoring, editing, and support.

Built-in Mobile Responsiveness

Drupal 10 comes with built-in responsive design capabilities, ensuring that websites will seamlessly adapt to different screen sizes and devices for consistent and optimized user experience.

A Move toward Automatic Updates 

automatic updates initiative

The Automatic Updates module is designed to simplify the process of keeping Drupal Core up to date. Automatic Updates requires Composer 2.3.5 or later, and for the module to work, Drupal must be able change its own code base and not all hosting environments allow for this. When Automatic Updates is not compatible with the hosting environment, it is recommended that Automatic Updates be leveraged in a local development environment, and the changes then being pushed to the host.

Continued Community Support

An overarching benefit of Drupal is the professional community of dedicated developers and contributors who work collaboratively and continuously improve and extend the platform. Upgrading to Drupal 10 ensures continued alignment with the community and unbroken access to the monitoring and expertise of Drupal's vast, global brainpower.

Extensibility and Scalability 

Drupal 10 offers greater flexibility within its architecture that allows for easier customization and scalability to accommodate evolving needs of organizations of all sizes.

Better Integration

Drupal 10 integrates seamlessly with other systems, applications, and third-party services including CRM platforms, marketing automation tools, and social media platforms, for enhanced integration within specific digital ecosystems.

Streamlined Migration Processes

Drupal 10 offers a streamlined migration path from previous versions, excluding Drupal 7. The robust Drupal community has developed tools and resources to facilitate a smooth transition, minimizing disruption and downtime during the upgrade process.

As specialists in Drupal migrations, Promet Source is adept at thoroughly auditing a site in preparation for a straightforward migration. We have the tools, the team, and the systems in place to ensure a streamlined and value-added migration that positions you to benefit from Drupal 10 ASAP.

Start with a Site Audit 

The best and most efficient place to start a migration from Drupal 7 or an upgrade from subsequent versions, is an audit of the current site with the objective of inventorying, categorizing, and rationalizing all content. Whether you're performing a migration from one CMS to another or a Drupal upgrade, this is where we begin. 

Dividing the migration process into the following six sequential steps creates a framework for avoiding shortcuts that lead to pitfalls, while ensuring a consistent path forward.

  1. Audit the existing content.
  2. Consider the design.
  3. Plan the migration
  4. Build a new content model.
  5. Map the content.
  6. Execute the migration .

Content Considerations

Often, tough choices surrounding what content to keep and what to let go of. 

Fact is, organizations are constantly evolving and the content on a site too often lags behind. Here are some questions to ask for evaluating the relative value of various pages and the content that’s on them:

  • How old is the content? 
  • How does it rank for page visits?
  • How integrated is the content to your messaging?
  • Are there redundancies?
  • How does it rank on the spectrum of trivial to essential?
  • Does the content drive engagement? Revenue? SEO?
  • Are there regulatory considerations that require the content remain?
  • Are there roles and permissions concerning content governance and workflows?
  • Is this documented?

Design Issues

Migration is the ideal time to redesign a website, or at least to define and determine essential design issues. To cite a few:

  • Is structured content in place?
  • Is CSS used to indicate heading styles, fonts, the color palette, quote style, ordered and unordered lists, buttons, hover states, etc. Does the design reflect the brand?
  • Is the UX aligned with current expectations and best practices?
  • Would a modern refresh help to engage constituents and clients?

Thorough time and attention to these initial steps will serve to lay the groundwork for a streamlined website migration that stays on course without pitfalls and unwanted surprises.

Never before has it been more essential for websites to ensure user experiences that offer a straightforward path to desired objectives, compelling content, engaging visuals, and added value. 

Looking for more insights into  wrangling your content, redesigning your site, or mapping out a migration to Drupal 10? That's what we do! Sign up for a free Drupal upgrade consultation

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web