For arlanix/notification 1.1.0
Choose a channel
A subscription delivers a topic's messages through one channel, the one set in Delivered by. A topic can have subscriptions on several channels, so the same alert can reach a mailbox and a team chat.
| Channel | Delivers to | What you need | Kept secret |
|---|---|---|---|
| One email address | How the store sends email, chosen once: Magento's own mail or an SMTP server | The SMTP password, if you use a server | |
| Telegram | A private chat, a group or a channel | A Telegram bot, made with BotFather: the store's bot, or a bot of the subscription's own | The bot's token |
| Slack | One Slack channel | An incoming webhook, made in a Slack app. Some workspaces need an admin to approve the app | The webhook URL |
| Discord | One Discord channel | A webhook, made by someone with Manage Webhooks on the server | The webhook URL |
| Microsoft Teams | One Teams channel | A workflow made from the template Send webhook alerts to a channel, in Teams with a Microsoft 365 work or school account | The workflow URL |
| One WhatsApp number | A business that Meta has verified, an approved message template, and a system user's access token | The access token | |
| Webhook | Your own service, over HTTPS | A receiver your developer builds, and optionally a signing secret and headers | The URL, the signing secret and the header values |
Which to choose
- For a person who reads alerts at a desk: email. Several notifications that arrive together come as one digest, not a run of emails.
- For a team that already works in a chat: Telegram, Slack, Discord or Microsoft Teams, whichever the team uses. A message in the team's channel is seen by everyone on duty.
- For a phone, away from the desk: Telegram or WhatsApp. WhatsApp takes the most setup: Meta must verify the business and approve a template first, and Meta charges for each message delivered. See What it costs.
- For another system, such as a helpdesk or an on-call service: Webhook. It sends a JSON request that a developer can read, signed when you set a signing secret.
What every channel shares
- A subscription's secret is stored encrypted and never shown again. The form says that one is stored; leave the field blank to keep it.
- The grid and the Message Log never show a secret. They show the email address, the WhatsApp number, the URL's host for Webhook, or a name you give the chat or channel.
- Send test message on a subscription shows at once whether the channel accepts it.
- A delivery that fails is tried again by itself. See How a notification is delivered.