Skip to main content

AI Automator chains - custom AI assistants in CKEditor

Automatically generating meaningful alt text for images in CKEditor—without writing a single line of code—is now within reach. AI-powered automation improves accessibility and streamlines content creation, allowing teams to focus on what matters most.

Alt text plays a key role in creating inclusive digital experiences, especially for users who rely on screen readers. While it’s a small part of the content workflow, it has a big impact—and AI can make it even easier to get right.

In this blog, we’ll look at how to build an AI Automator in CKEditor that generates alt text for images automatically. For example, when a content creator inserts an image of a chart comparing annual CO₂ emissions by country, the AI Automator can instantly generate alt text like “Bar chart comparing annual CO₂ emissions in the US, China, India, and EU from 2015 to 2024.”

The result: more accessible content, smoother publishing, and one less manual step.

Setting up AI assistants in CKEditor

The AI Automator module in Drupal allows for seamless AI-powered workflows inside CKEditor. Automator Chains type helps you chain multiple AI processes together (e.g., image analysis → text generation). AI can:

The use case

Alt text is crucial for accessibility, helping visually impaired users understand images. Instead of manually adding alt text for each image.

Prerequisite‍

Steps to configure the AI Automator

To create an AI Automator Chain Type for generating alt text from images, you first need to navigate to the Automator Chain Types configuration page. After adding a new chain type, you will define input and output fields to process the image and store the generated alt text.

Configuration of the AI Automator


Configuring the AI Automator for the fields

1. Enable AI Automator for Image Alt Text

You now need to edit the Image Alt Text field, configure the AI Automator settings, define the input mode and prompt, and set the AI provider.

AI Automator for Image Alt Text

Input image settings
AI Provider as OpenAI.

2. Enable AI Automator for Output Image with Alt Text

To enable AI Automator for Output Image with Alt Text, you need to similar settings with appropriate prompt.

Output Image with Alt Text
Output Image with Alt Text

Enabling AI Automator in CKEditor

Enable AI Automator in CKEditor, by configuring the text format settings, here you will add the AI CKEditor plugin for the text format and  enable AI Automators, and setting up the image alt text generation settings for ckeditor.

AI Automator in CKEditor
AI Automator in CKEditor

Testing the AI Automator chain type

To test the AI Automator Chain Type, you should now create an article and insert an image in CKEditor.

This feature can be extended for media reference entities as well once the ticket is closed.

Real-world applications

This AI-powered CKEditor assistant can be useful for:

Accessibility Tools: Improve image descriptions for visually impaired users. 

SEO Optimization: Enhance image searchability with meaningful alt text. 

Content Automation: Streamline the process of adding alt text to images.

Conclusion

AI assistants in CKEditor are already reshaping content creation. With the AI Automator module for Drupal, you can generate meaningful alt text for images—without writing a single line of code. From improving accessibility to enhancing SEO and removing repetitive steps, AI is making content workflows faster and more intentional.

A 2024 study found that 88% of marketers use AI daily, and 68% of service professionals rely on it for content creation. Even small businesses are part of the shift—98% use AI enabled services  and 40% are experimenting with generative models.

Drupal is keeping pace. With support for OpenAI, Azure, Cohere, and others, its growing AI ecosystem brings model-based automation directly into the editor. The AI Automator handles everything from alt-text suggestions to smart content tweaks—already used by nonprofits, publishers, and public agencies across the US, India, and Europe.

This is the start of model-driven publishing: CMS experiences that work with you. Try the AI Automator, build your assistant in CKEditor, and be part of what’s next.

We'd love to talk about your business objectives

Written by