The Architecture Guide will give you an overview of the most important concepts in PagerTree. This documentation is meant give you the "big picture" of how objects are connected, related and move in PagerTree.
For detailed documentation of each object, please see it's respective documentation page.
- User - Represents an actual person. A user can have many phones and emails. A user has their own notification preferences.
- Account - Represents an organization. This can usually be a company but could also be a department. Accounts are responsible for billing.
- Account User - A link between a User and Account. Account Users have specific security roles (admin, billing, ...).
- Team - Represents a group of Account Users. Teams have 1..n team admins, 1..n team members,1 on-call schedule and 1 escalation policy.
- Integration - Connects PagerTree to 3rd party applications. Integrations are responsible for transforming 3rd party webhook data into Alerts.
- Alerts - Represent and urgent notice (state of alarm). Alerts are created by Integrations or Account Users. Alerts can be sent to Account Users, Teams, or Routers to ultimately notify a User.
- Notifications - Represent a message sent on a single notification channel (push, email, sms, voice, ...).
PagerTree has two global objects, Accounts and Users, they are joined by an Account User object. This allows users to be part of many accounts. Every other model, belongs to the Account model. So it can be said:
- "A team belongs to an account"
- "An integration belongs to an account"
- "A user has many accounts"
- "An account has many users"
There are 4 global roles in PagerTree:
- admin - Admins manage any object with the exception of managing billing.
- billing - Can manage Account's PagerTree subscription.
- broadcaster - Has the special ability to manage Broadcasts.
- communicator - Has the special ability to create Communications.
If not assigned one of the above permission, the account user is then a regular member. Regular members can:
- view all objects
- acknowledge/reject Alerts
There are 2 roles for a PagerTree Team:
- team admin - Can manage the team, team members, team admins, schedule, and escalation policy. Can schedule account users on-call.
- team member - No special permissions
- There is only ever 1 account owner (usually the person who created the account, but could have also had the account transferred to them).
- The account owner always has the admin and billing permission
- The account owner is the only person that can transfer the account to another account user.
The diagram below is the most common alert workflow. It shows how data is ingested from 3rd Party systems, transformed, and moves through PagerTree to ultimately notify Account Users.
- A 3rd party software sends PagerTree data.
- The PagerTree integration accepts the data, transforming it to an alert.
- (Optional) A router, matches conditions and performs actions on the alert.
- The alert is routed to a team.
- The alert uses the team's on-call schedule, notifying account users current on-call for the escalation layers.
- (Optional) Notification Rules can customize notification channels to notify the user on.
- The user will be notified via their default notification preferences.
- A Notification is created and sent to the user via our communication providers.
Check out the following video, for a more in-depth explanation of the above diagram.
On-Call Schedule Workflow
- The alert status changes to
- The alert is sent to a team.
- PagerTree determines who is on-call for Layer 1 for the team's schedule.
- After determining who is on-call, PagerTree notifies the Account Users on-call for Layer 1
- The Account Users get a timeout period to either acknowledge or reject the alert. The timeout period is configurable and determined by the team's escalation policy.
- If an account users acknowledges the alert, the workflow stops and no other layers are notified.
- If all account users on Layer 1 reject the alert, the remaining time for the layer is ignored and the alert is escalated to Layer 2.
- If account users don't respond (either acknowledge or reject) and the timeout elapses, the alert is said to have "timed out" and is escalated to Layer 2.
- Layer 2 follows the same pattern as bullet #3.
- If the alert times out of Layer 2 or is rejected by all users on Layer 2 it is determined there are no more escalation layers
- PagerTree determines if there is a repeat or reassign configured for the escalation policy (in this priority order).
- If a repeat is configured this process will start over at Layer 1 for the repeat amount of times (1-3x).
- If a reassign destination is configured, the alert will be sent to that team and this process will begin again at Layer 1 respecting the new teams schedule and escalation policy.
- If there are not repeat or reassign destinations configured, the alert's status is changed to
For full documentation and more examples please see schedules documentation.