Skip to main content
ECA - Drupal Modul

In today's digital world, where agility and adaptability are crucial, companies need flexible and powerful tools to implement their requirements quickly. With the ECA (Event-Condition-Action) module, Drupal offers exactly that: a no-code solution that bridges the gap between complex requirements and simple implementation.

What is the ECA module?

The ECA module is a powerful tool for Drupal that makes it possible to define workflows and actions without writing a single line of code. It is based on a simple principle:

  • Event: what triggers the process? (e.g. the saving of content)
  • Condition: Under what conditions should the action take place? (e.g. only if a certain field is filled in)
  • Action: Which action should be executed? (e.g. sending an e-mail)

By combining these three elements, even complex requirements can be mapped directly in the Drupal interface.

How does the implementation with ECA work?

  1. Visual no-code interface
    With an intuitive drag-and-drop interface, administrators and developers can create, test and customize workflows. The ECA interface is specifically designed to enable specialist departments to work without in-depth technical knowledge.
  2. Simple modularity
    ECA integrates seamlessly into existing Drupal systems. It supports most standard modules and can be flexibly extended to meet user-defined requirements.
  3. Example: Automatic e-mail notifications
    Suppose you want an e-mail to be sent when a user submits a form and a certain field has a defined value. This is how you implement this with ECA:
    • Event: Form submission.
    • Condition: Check field value.
    • Action: Send e-mail.

The best thing about it: not a single intervention in the code is required!

Beispiel: E-Mail akzeptieren / ablehnen nach Bedingung - herchel.com

The advantages of ECA

  • Cost efficiency: No expensive development hours for small adjustments.
  • Speed: Changes can be implemented directly - without detours via development teams.
  • Future-proof: As the logic is maintained in the interface, the system remains flexible even with Drupal upgrades.
  • Promoting collaboration: specialist departments and technical teams can work more closely together, as requirements are implemented in a directly visible and comprehensible way.

Practical example: Automated workflows for an e-commerce platform

An e-commerce company needs a workflow that automatically sends a confirmation email when a new customer orders a specific subscription. At the same time, an internal user should be informed when the customer takes advantage of a special discount promotion. With ECA, these processes can be defined and tested in just a few minutes.

  • Event: New user with subscription.
  • Condition: Discount code available.
  • Action 1: Confirmation e-mail to the customer.
  • Action 2: Notification to internal user.

Author of the module and documentation

The ECA module was developed by Jürgen Haas, co-founder of LakeDrops. Comprehensive documentation and further information can be found in the ECA Guide.

ECA extensions

ECA can be extended by various submodules to provide additional functionalities:

  • ECA Access: Control access to entities and fields.
  • ECA Content: Events, conditions and actions related to content entities.
  • ECA User: User-related events, conditions and actions.

A complete list of available extensions can be found on the ECA project page.

Conclusion: Taking technical requirements to a new level

The ECA module for Drupal impressively demonstrates how powerful no-code tools can be. It not only enables requirements to be implemented quickly and cost-effectively, but also brings specialist departments and technical teams closer together. With ECA, you can transform your Drupal platform into a flexible, adaptable solution - ready for the challenges of today and tomorrow.

If you would like to learn more about the possibilities of ECA or need support with the implementation, please contact us. We'll help you realize the full potential of this module!

For a visual insight into how ECA works, you can watch this video:

If you want to learn more about Drupal ECA, you can find detailed information in the following sources: