Recued
Menu
← Back to recipes

PagerDuty on-call handoff digest

by recued-core v4 22 views

Use “PagerDuty on-call handoff digest” in Recued. It provides a scheduled, read-only handoff digest for PagerDuty.

How it works 17 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (17 steps)
◆ current_user recued-core.pagerduty.user.current
Current user on pagerduty
◆ oncalls_raw recued-core.pagerduty.on_call.search
Search on call on pagerduty
◆ schedules_raw recued-core.pagerduty.schedule.search
Search schedule on pagerduty
◆ incidents_raw recued-core.pagerduty.incident.search
Search incident on pagerduty
■ defaults defaults
Apply defaults
■ oncall_count count
Count items in oncalls
■ schedule_count count
Count items in schedules
■ incident_count count
Count items in incidents
■ has_incidents compare
Check if incident count is greater than 0
■ notify_enabled compare
Check if setting notify when incidents equals true
■ should_notify all
Check if all conditions are true
◆ notify core.notification.send
Send notification
skip: step.should_notify not_equal true
■ incident_rows slice
Take a subset of
■ oncall_rows slice
Take a subset of
■ incident_table to_table
Format results as a data table
■ oncall_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
▼
Output
summary card
table incident_table
table oncall_table
Settings 11 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

since setting =
until setting =
channels setting = [object Object]
end hour setting = 10
weekdays setting = 1,2,3,4,5
row limit setting = 20
start hour setting = 8
schedule ids setting =
incident statuses setting = triggered,acknowledged
escalation policy ids setting =
notify when incidents setting = true

Uses (6 operations)

Triggers Time watch core.watch.time
Pack operation Current user on pagerduty recued-core.pagerduty.user.current
Pack operation Search on call on pagerduty recued-core.pagerduty.on_call.search
Pack operation Search schedule on pagerduty recued-core.pagerduty.schedule.search
Pack operation Search incident on pagerduty recued-core.pagerduty.incident.search
Notifications Send notification core.notification.send

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Send notificationsRead your Pagerduty connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

What it's allowed to do

Read Triggers core.watch.time read-only
Read Notifications core.notification.send external change

4 more aren't listed here. You'll see them at install.

Data it touches

SurfacesTriggersNotifications

About

Tags

pagerduty pagerdutyincidentson-callhandoffschedulenotificationpack:pagerduty

Details

17 steps 11 configurable settings recipe_id: on-call-handoff-digest-pagerduty