Get Service Details

📘

Availability

This workflow action is available on our Enterprise plan for Incident Management. Please contact our Sales Team to upgrade to an account with this action.

Description

Returns details about a Service, including the Escalation Policy, collaboration channel, and more.

Instructions

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

Inputs

📘

Field References

Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Please see our Field References article for more information.

NameDescription
Service IDThe ID of the service whose details will be returned

Outputs

NameDescription
DetailsThe JSON-formatted details of the service. Note: This JSON will exactly match the value of the service property returned from the endpoint linked below.
NameThe name of the service
HTML URLThe URL of the service in the PagerDuty web app
DescriptionDescription of the service
Escalation Policy IDThe ID of the Escalation Policy associated with the service
Teams
TeamsThe array of Teams associated with the service
Support HoursThe Support Hours associated with the service
On-call Now User IDsThe IDs of the users currently on-call for the service
On-call Now User NamesThe names of the users currently on-call for the service
Communication Channel IDThe ID of the communication channel associated with the service
Communication Channel NameThe name of the communication channel associated with the service
ResultValue that shows if the action was successful or not. Either "Success" or "Failed."
Result SummaryBrief description of what the action did or if it failed
ErrorBrief description that populates if the action failed

PagerDuty API Endpoint

Endpoint used: