Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module adds new actions and conditions to the ECA system, allowing you to integrate Simplenews subscription and unsubscription functionality into your automated workflows. It provides actions to subscribe and unsubscribe users from newsletters, along with conditions to check subscription status or self-unsubscribes. This enables you to automate user newsletter management based on various events and conditions within your Drupal site.

At this time, the Simplenews "subscribe" and "unsubscribe" actions (among other events, actions, and conditions) are not available to models created with ECA: Event - Condition - Action. This tries to fix that. (See this Simplenews issue for more background._

Features

Upon installation (along with the required ECA and Simplenews modules), two new actions are made available to ECA models: "Subscribe to newsletter" and "Unsubscribe from newsletter." Three conditions are also made available: "User is currently subscribed," "User has ever subscribed," and "Check for self-unsubscribes."

The "Check for self-unsubscribes" carries a caveat. Although Simplenews records the newsletter id for a subscribe, it does not do the same for an unsubscribe. Therefore this condition checks whether a user has previously unsubscribed from ANY newsletter. If you use this condition, you may want to use "Send email" or another action to notify and administrator to check for false positives.

Post-Installation

Here's an an example of how this module can be used:

Event: Presave content entity (Type and bundle: User -any- )
Action: Subscribe to newsletter (Email address: [user:mail] Subscribe to: default)

When saved and enabled, that model will automatically subscribe a user to the "default" (machine name) newsletter when the user is created or updated. Additional conditions can be added as with any ECA module. For example, "role of current user."

Additional Requirements

Requires ECA and Simplenews modules.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-alpha1 Pre-release 10–11 Apr 28, 2026
1.0.x-dev Dev 10–11 Feb 3, 2026