Browse Webhook Templates
Pre-configured webhook templates for popular monitoring and observability tools with field mappings already set up.
Overview
Webhook templates provide quick-start configurations for common monitoring tools. Each template includes:
- Pre-configured field mappings: Fields are already mapped to Harness alert properties.
- Example payloads: Sample webhook bodies showing the expected structure.
- Ready-to-use setup: Create a webhook from a template and start receiving alerts immediately.
How templates work
Follow these steps to use a webhook template:
- Select a template from the list below.
- Create a webhook in Harness using the template.
- Copy the webhook URL generated by Harness.
- Configure the external tool to POST to that URL. Go to External System Setup for detailed guides.
Available templates
Monitoring and observability
Templates for monitoring and observability tools:
- AlertSite: Website and API monitoring.
- BigPanda: Alert aggregation and correlation.
- Datadog: Infrastructure, APM, and log monitoring.
- Dynatrace: Application performance monitoring.
- Grafana: Unified alerting from any data source.
- Grafana Incident: Incident management platform.
- Harness SLO: Service level objective violations.
- Lacework: Cloud security monitoring.
- New Relic: Full-stack observability.
- Opsgenie: Alert management and on-call.
- PagerDuty: Incident management.
- Prometheus: Cloud-native monitoring.
- Sentry: Error tracking and performance.
Cloud providers
Templates for cloud provider monitoring services:
- AWS CloudWatch: AWS metric alarms and log insights.
CI/CD and development
Templates for CI/CD and source control tools:
- Bitbucket: Repository event notifications.
- GitHub: Repository and deployment events.
- GitLab: Repository and pipeline events.
- Octopus Deploy: Deployment automation events.
- Travis CI: Build and deployment notifications.
ITSM
Templates for IT service management tools:
- Jira: Issue tracking and project management.
- ServiceNow: IT service management events.
Templates versus custom webhooks
| Feature | Webhook templates | Custom webhooks |
|---|---|---|
| Setup speed | Fast, pre-configured | Slower, manual configuration |
| Field mapping | Pre-mapped | Manual mapping required |
| Flexibility | Limited to template fields | Full control over all fields |
| Use case | Standard integrations | Custom tools or unique requirements |
Go to Create a Webhook to set up a custom webhook without a template.
Template payload structure
Each template defines how incoming webhook payloads map to Harness alert properties. The template reads fields from the webhook body and maps them to standard alert fields:
- title: Alert title or summary.
- message: Alert description or body.
- severity: Alert severity level.
- source: Source system name.
- link: URL to view the alert in the source system.
- tags: Key-value tags for filtering and routing.
External system configuration
After creating a webhook from a template, configure the external monitoring tool to send alerts to your Harness webhook URL.
Go to External System Setup for step-by-step guides on configuring:
Next steps
- External System Setup: Configure your monitoring tool to send webhooks.
- Use CEL in Webhooks: Add custom filtering logic.
- Use Mustache in Webhooks: Customize field mapping.
- Route Alerts: Route and process incoming alerts.