Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Rules

81,434 sites Security covered Rules ecosystem
View on drupal.org

The Rules module enables site administrators to create custom logic by defining actions that execute based on specific events. This allows for the automation of tasks such as content publishing workflows, custom notifications, and more, all without requiring extensive coding.

The Rules module allows site administrators to define conditionally executed actions based on occurring events (known as reactive or ECA rules).

Example use cases

  • Build flexible content publishing workflows changes
  • Send customized mails to notify your users about important
  • Create custom redirections, system messages, breadcrumbs, ...

And many more...

Features

  • Obviously, you may use reaction rules to react upon any event with custom conditions and actions.
  • Allows functionality to be re-used via components.
  • Flexible scheduling system that allows scheduling any component / action.
  • Users can share their customizations by using the built-in import/export feature.
  • Modular input evaluation system - for example you can install the Token module and use it in every action.
  • The module has been developed with site performance in mind, so it makes use of caching routines to speed up rule evaluation.

Integrations

Modules may use the Rules module's API to provide new events, conditions, actions or default rules, which can be customized by users. Some notable ones are:

  • Rules Link - Provides clickable links on entities and views that trigger Rules execution
  • Rules list conditions - Allows checking condition(s) on list items, evaluating to TRUE if either "any" or "all" items match the condition(s)
  • Views Rules - Provides Views directly as Rules actions and loops to seamlessly use view result data
  • Rules Forms - Provides a Rules based method for controlling forms and their elements
  • Conditional Rules - Provides inline conditional branching in Rules configuration with statements: If/Else, Switch/Case, While

To make your own integration, check out the developer docs. See also issues tagged rules-integration and a manually updated list of modules supporting Rules.

Requirements

Resources

Maintainers

Activity

Total releases
1
First release
Feb 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
4.0.1 Stable Feb 3, 2026