Incident and on-call
PagerDuty
Turn overdue and failed payments into PagerDuty alerts, with a severity for every event and one alert per payment.
What you get
Each notification becomes an alert on the PagerDuty service you choose, sent through PagerDuty’s Events API:
- a summary that leads with the subscription and what happened, such as
Figma Organization has 2 overdue payments; - the subscription as the source, the provider as the component, the category as the group and the event as the class;
- custom details with the amount, due dates, billing, every unpaid payment for overdue alerts, and the workspace;
- a link to the subscription in SysCost, and the provider’s logo when it can be shown.
| SysCost event | Severity | Urgency |
|---|---|---|
| Overdue payment, Marked failed | error | High: notifies whoever is on call at once. |
| Upcoming payment | warning | Low. |
| Marked paid, Skipped | info | Low. |
Severity sets the urgency only when the service uses dynamic notifications. A service set to high urgency pages for every alert, so choose in the rule which events reach PagerDuty: overdue and failed payments are the ones worth waking someone for.
Every alert has a dedup key made of the subscription, the due date and the event, such as syscost:…:2026-10-01:payment_overdue. A daily overdue reminder joins the alert that is already open instead of paging again; once you resolve it, the next reminder opens a new one. SysCost doesn’t resolve alerts: when the payment is paid, resolve the incident in PagerDuty.
Before you start
SysCost sends to an Events API V2 integration on a PagerDuty service. Its integration key is all SysCost needs. You need permission to add integrations to the service.
Open the service
In PagerDuty, go to Services → Service Directory and select the service that should receive the alerts, or create one such as “Subscriptions”.
Add the integration
Open the Integrations tab, choose Add another integration, pick Events API V2 and select Add.
Copy the integration key
Find the new Events API V2 integration in the list and open it to view and copy its Integration Key: 32 letters and digits.
Check your region
If you sign in at
app.eu.pagerduty.com, your account is in PagerDuty’s EU service region. Otherwise it is in the US region.
PagerDuty’s own guides: Services and integrations and Send an alert event.
Add the channel
Workspace admins and owners can add channels.
Open Channels
In SysCost, open Notifications, then Channels, and choose + Channel.
Choose PagerDuty
Pick PagerDuty 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
Paste the key into Integration key and choose the Service region. SysCost checks that the key has 32 letters and digits; PagerDuty checks the key itself when SysCost sends, so send a test next.
Create
Choose Create. SysCost checks the details and saves the channel.
Pro and Team
PagerDuty is part of the Pro and Team plans. Slack, Discord, Telegram and email are on every plan. See pricing.
A test can page someone
A test uses its sample’s severity, so an Overdue payment test pages at high urgency. Send an Upcoming payment test first, or warn whoever is on call.
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 PagerDuty as an alert on the service 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: routing_key must be the 32-character integration key of an Events API v2 integration.” | The key is incomplete or isn’t an integration key. Copy it again from the integration on the service’s Integrations tab. REST API keys and user tokens are not integration keys. |
| “Destination responded with status 400.” | PagerDuty refused the event, usually because the integration key is wrong or its integration was deleted. Copy the key again, or add a new Events API V2 integration. |
| “Destination responded with status 429.” | PagerDuty is limiting events to the service for a moment. SysCost retries automatically. |
| The log says sent, but no incident appeared | PagerDuty accepted the event. On the service, check whether the event joined an alert that was already open, or whether an event rule or maintenance window held it back. |
| “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. |