Automatically send notifications to Matrix

When you work on a team, it's useful to have notifications go to a chat room where you can coordinate any necessary action. Reviewing a comment before publishing, seeing stories as they are written, getting notified of new orders are the kinds of things we like having in a shared room.

Setting this up in Drupal is easy with the Entities, Conditions, and Actions (ECA) module and the Matrix API module. After installing the Matrix API module, you can configure a Matrix account for it to use in the configuration settings, and then it exposes an action for use in ECA.

From there, you can send any message you want, with whatever conditions you would like!

An ECA diagram showing a send to Matrix action

Advent 2024 -- 24 days of Automations

Door number 7
7
Door number 10
10
Door number 14
14
Door number 19
19
Door number 6
6
Door number 17
17
Door number 16
16
Door number 22
22
Door number 21
21
Door number 5
5
Door number 11
11
Door number 9
9
Door number 15
15
Door number 12
12
Door number 8
8
Door number 13
13
Door number 18
18
Door number 20
20
Door number 23
23
Door number 24
24

Add new comment

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h1> <h2 id> <h3 id> <h4 id> <h5 id> <p> <br> <img src alt height width>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.