Subscriptions

This page is for version 1.0. Read the current version.

For arlanix/notification 1.0.1

Subscriptions

A subscription sends the messages of one topic to one address. The address is an email address, a Telegram chat, or a Slack or Discord channel. To send a topic's messages to three people, make three subscriptions. A topic can have only one subscription for each address.

Open Subscriptions

In the admin menu, click Arlanix, then click Subscriptions under Notifications. You can also see a topic's subscriptions on the topic's page.

The Arlanix menu, with Subscriptions highlighted

The grid lists every subscription. For each subscription, it shows the topic, how it is delivered, where it is delivered to, which messages it gets, and the result of its last delivery.

The Subscriptions grid: name, topic, delivery method, address, which messages it gets, and the last delivery

Subscribe someone

In this example, the Operations team gets every message of the topic Feed alerts by email.

  1. Click Add subscription.

    The Subscriptions grid, with Add subscription highlighted

    A topic's page has its own Add subscription button. It opens the same form in a panel, with that topic already chosen.

  2. In Name, enter who gets the messages, such as Operations team. The grid and the Message Log show this name.

  3. In Topic, choose Feed alerts.

  4. In Gets, choose which of the topic's messages the subscription gets:

    • Everything: all messages, test messages included.
    • Warnings and errors: only the messages that report a problem.
    • Errors only: only the messages about something that failed.
  5. In Delivered by, choose Email. Then, in Email, enter one address, such as [email protected].

    The subscription form: Operations team, Feed alerts, Everything, Active, Email, operations@example.com

    Delivered by lists only the delivery methods your developer installed, because each method is a separate module. The other methods have their own pages:

  6. Click the arrow next to Save, then click Save & Close. The grid shows Subscription "Operations team" saved. and lists the new subscription. From now on, messages published to Feed alerts go to this address.

    The Subscriptions grid after saving: the success message and the Operations team row

  7. Send a test to check the address, as the next section explains. If the address has a typo, the test shows that nothing was delivered.

Send a test

Send test message sends one message directly to a subscription, right away. The test does not go through the queue and does not appear in the Message Log. It works even when the subscription is switched off.

  1. In the subscription's row, click Select, then click Send test message. The rows on a topic's page have this action too.

    The Select menu of Operations team open, with Send test message

  2. Read the message above the grid. It says whether the test was sent, or shows what the mail server, Telegram, Slack or Discord replied. The row's Last delivery column shows the result too.

    Above the grid: Test message sent. Check that it arrived., and the row's Last delivery

The subscription form also has Send test message, under Delivery. If you change where the subscription delivers to, the button is replaced by a note that asks you to save first. A test always goes to the saved address.

Switch it off, or delete it

You can stop a subscription or remove it:

  • To stop sending to a subscription and keep its settings, open it, switch Active off, and click Save.

    Active on the subscription form

  • To delete a subscription, click Select > Delete in its row, then confirm. The messages already sent to it stay in the Message Log.