Webhook Format: PagerDuty
When format is set to pagerduty, incoming emails trigger PagerDuty incidents via the Events API v2. This format requires a routing_key option.
Get the Routing Key
Section titled “Get the Routing Key”- In PagerDuty, go to Services and select the service you want to trigger.
- Open Integrations and add Events API v2.
- Copy the integration key.
Configure in echoValue
Section titled “Configure in echoValue”curl 'https://api.echovalue.dev/webhook' \ -H 'x-token: mytoken' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://events.pagerduty.com/v2/enqueue", "format": "pagerduty", "options": { "routing_key": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6" } }'Output Mapping
Section titled “Output Mapping”| PagerDuty field | Value |
|---|---|
summary | Email subject |
source | Sender email address |
severity | info |
custom_details.text | Plain text email body |
custom_details.from_name | Sender display name |