PagerDuty
Trigger PagerDuty Alert
Sends an alert to a PagerDuty service, which opens an incident and pages on-call.
Unverified
What the model is told
Trigger a PagerDuty alert for a serious issue that the on-call team must act on now. Confirm with the customer or caller that it is urgent, and get a short summary first. This pages people, so do not use it for routine requests. A successful call returns a status and a dedup_key. Tell the caller the on-call team has been alerted.
Request
POSThttps://events.pagerduty.com/v2/enqueue
Headers
Content-Typeapplication/json
Body
{
"routing_key": "YOUR_PAGERDUTY_ROUTING_KEY",
"event_action": "trigger",
"payload": {
"summary": "{{summary}}",
"source": "YOUR_PAGERDUTY_SOURCE_NAME",
"severity": "critical"
}
}Parameters
summary stringA short description of the problem, up to 1024 characters.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "d4c4f712-316b-451d-ab8a-13fec40e9cb7",
"type": "HTTP_REQUEST",
"label": "Trigger PagerDuty Alert",
"name": "trigger_pagerduty_alert",
"customName": false,
"description": "Trigger a PagerDuty alert for a serious issue that the on-call team must act on now. Confirm with the customer or caller that it is urgent, and get a short summary first. This pages people, so do not use it for routine requests. A successful call returns a status and a dedup_key. Tell the caller the on-call team has been alerted.",
"parameters": [
{
"name": "summary",
"type": "string",
"description": "A short description of the problem, up to 1024 characters."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://events.pagerduty.com/v2/enqueue"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"routing_key\": \"YOUR_PAGERDUTY_ROUTING_KEY\",\n \"event_action\": \"trigger\",\n \"payload\": {\n \"summary\": \"{{summary}}\",\n \"source\": \"YOUR_PAGERDUTY_SOURCE_NAME\",\n \"severity\": \"critical\"\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.