Chat apps
Matrix
Post renewal reminders and payment alerts to a Matrix room from a bot account, on matrix.org or your own homeserver.
What you get
Each notification arrives as one message from a bot account, in the Matrix room you choose, in Element or any other Matrix app:
- a bold headline with one emoji for the kind of event;
- one fact per line with a bold label: amount, due date, billing, provider and category;
- for overdue alerts, every unpaid payment as a list; for payment updates, who made the change;
- a link to the subscription in SysCost, and the event and workspace in italics. Apps that can’t show formatting get the same text plainly.
⏰ Figma Organization is due in 3 days
💰 Amount: $540.00
📅 Due: Thu, Nov 12
🔁 Billing: Monthly
🏢 Provider: Figma
🏷️ Category: Design
Open in SysCost →
SysCost · Upcoming payment · Acme IncReminders are normal messages, so they notify like any other message in the room. They never mention anyone, and a retried delivery never posts twice.
Before you start
SysCost posts as a Matrix account that you create for it. You need three things: the homeserver URL, the bot account’s access token and the room ID.
Create a bot account
Register a separate account for SysCost on your homeserver, such as
@syscost-bot:matrix.org, so reminders don’t come from your own account.Find the homeserver URL
This is the address apps connect to, which can differ from the server’s name. For matrix.org it is
https://matrix-client.matrix.org. For another server, openhttps://<server>/.well-known/matrix/clientin a browser and usem.homeserver.base_url; if that page doesn’t exist, use the server’s own address. See server discovery.Get an access token
Sign the bot account in through the API with its password, using your homeserver URL:
Sign in the bot account curl -X POST https://matrix-client.matrix.org/_matrix/client/v3/login \ -H 'Content-Type: application/json' \ -d '{"type": "m.login.password", "identifier": {"type": "m.id.user", "user": "syscost-bot"}, "password": "the bot account password", "initial_device_display_name": "SysCost"}'Copy
access_tokenfrom the reply. It stays valid until that session is signed out. See login in the Matrix specification.Let the bot into the room
From your own account, invite the bot to the room. Then sign in to Element as the bot, in a private browser window, and accept the invite. Signing that window out afterwards ends only that session, not the token from the previous step.
Copy the room ID
In Element, open the room’s Settings → Advanced and copy the Internal room ID. It starts with
!, such as!AbCdEfGh:matrix.org; rooms created recently have no:serverpart. Room aliases such as#finance:matrix.orgdon’t work: Matrix sends only to room IDs.
Use the sign-in above, not the token Element shows
On servers that use Matrix’s newer sign-in service, including matrix.org, the access token under Element’s Help & About is replaced every few minutes, so SysCost would soon be refused. The token from the sign-in request doesn’t expire.
Encrypted rooms
SysCost sends messages without end-to-end encryption. In an encrypted room, Element shows them with a warning, so use a room without encryption for reminders.
SysCost sends with the send a message event API of the Matrix client-server specification.
Add the channel
Workspace admins and owners can add channels.
Open Channels
In SysCost, open Notifications, then Channels, and choose + Channel.
Choose Matrix
Pick Matrix from the list of channels (type its name in Search channels to find it quickly). Give the channel a Name your team will recognise, such as
#finance alerts.Fill in the details
- Homeserver URL: the address from step 2, such as
https://matrix-client.matrix.org. - Access token: the token from step 3. SysCost hides it once you save.
- Room ID: the internal room ID, starting with
!.
- Homeserver URL: the address from step 2, such as
Create
Choose Create. SysCost checks the details and saves the channel.
Pro and Team
Matrix is part of the Pro and Team plans. Slack, Discord, Telegram and email are on every plan. See pricing.
Your own homeserver must use HTTPS on the standard port (443) and be reachable from the internet.
Test it and add a rule
Send a test
On the channel, pick a sample (Upcoming payment, Overdue payment, Marked paid, Marked failed or Skipped) and choose Send test. A test message starts with “🧪 Test” and appears in the room within seconds. The result shows at once and in the delivery log.
Add a rule
Open Rules, choose + Rule, pick which subscriptions it covers and which events to send, and tick this channel under Send to. See rules and delivery for every option.
Keep the details private
Anyone who has the channel’s secret details can post to it. SysCost hides them once you save; to change them, type new ones when you edit the channel (blank keeps the stored value).
Troubleshooting
Problems with the details show when you save. Problems at delivery show in Notifications → Delivery log, next to each attempt. SysCost shows the status code the service returned, never its reply. A 4xx status is not retried: fix the channel, then send a test.
| What you see | What to do |
|---|---|
| “Invalid channel configuration: room_id must be the room ID, which starts with "!", not a room alias (#…)…” | Copy the Internal room ID from the room’s Settings → Advanced. |
| “Invalid channel configuration: homeserver_url: Use the standard HTTPS port (443).” | SysCost only connects on port 443. Use the address apps connect to, from the server’s /.well-known/matrix/client. |
| “Destination redirected; redirects are not followed.” or status 404 | The homeserver URL isn’t the address apps connect to. For matrix.org, use https://matrix-client.matrix.org; otherwise check m.homeserver.base_url. |
| “Destination responded with status 401.” | The access token isn’t valid: its session was signed out, or it was copied from Element on a server whose tokens are replaced. Sign in again with the request above. |
| “Destination responded with status 403.” | The bot isn’t in the room (invite it and accept the invite as the bot), or the room doesn’t let it send messages (Settings → Roles & Permissions). |
| “Destination responded with status 429.” | The homeserver’s rate limit. SysCost retries automatically. |
| “The destination did not respond in time.” | The service took longer than 10 seconds. SysCost retries automatically; if it keeps happening, check the service’s status page. |
| “Could not connect to the destination.” or “The destination host could not be found.” | A network problem. SysCost retries automatically. |
| A reminder never arrived and the log has no entry for it | No enabled rule sends that event to this channel, the channel is disabled, or the subscription is paused. See which rules apply in rules and delivery. |