Skip to main content

Configure Webhook Integration

Last updated on

Webhook integrations in Harness AI SRE enable bidirectional communication with external monitoring tools, CI/CD systems, and other services. These integrations process incoming webhook payloads to create alerts and incidents in AI SRE, and can also send updates back to external systems when configured with proper authentication and connectors.

Overview

Webhook integrations provide real-time, scalable processing of external system events with 25+ pre-configured templates for popular tools and services. Key capabilities include:

  • Real-Time Processing: Immediate processing of alerts, incidents, and deployment events from external systems
  • Automated Incident Creation: Automatically create incidents and alerts from external monitoring tools, CI/CD systems, and ticketing platforms
  • Bidirectional Synchronization: Maintain sync with external systems like ServiceNow and Jira (comments, status updates, work notes)
  • Flexible Payload Mapping: Customize field extraction and mapping for different webhook sources with custom field support
  • Centralized Management: Manage all webhook integrations from a single interface with scalable, high-volume processing

Integration Types and Templates

Alert Type Integrations

Process alerts and monitoring data from external systems:

Available Templates:

  • AlertManager - Prometheus AlertManager notifications
  • AlertSite - Website monitoring alerts
  • BigPanda - Alert correlation and management
  • Bitbucket - Repository and pipeline alerts
  • Cloudwatch - AWS CloudWatch alarms
  • Datadog - Infrastructure and application monitoring
  • Dynatrace - Application performance monitoring
  • GitHub - Repository events and security alerts
  • GitLab - CI/CD pipeline and security notifications
  • Grafana - Dashboard and alerting notifications
  • Grafana Incident - Grafana incident management
  • Harness SLO - Service level objective violations
  • Jira - Project and issue notifications
  • Lacework - Cloud security alerts
  • New Relic - Application performance and infrastructure monitoring
  • Octopus Deploy - Deployment notifications
  • Opsgenie - Incident management and alerting
  • PagerDuty - On-call and incident notifications
  • Sentry - Error tracking and performance monitoring
  • ServiceNow - IT service management alerts
  • Travis CI - Continuous integration build notifications

Incident Type Integrations

Handle incident data with bidirectional synchronization:

Available Templates:

  • Jira Incident - Bidirectional sync with Jira issues (comments, status updates)
  • ServiceNow Incident - Bidirectional sync with ServiceNow incidents (work notes, status updates)

Build Type Integrations

Process build and CI/CD notifications:

Available Templates:

  • Harness Build - Harness CI pipeline build notifications

Deployment Type Integrations

Handle deployment events and notifications:

Available Templates:

  • Harness Deployment - Harness CD deployment notifications

Integration Capabilities

Certain integrations support bidirectional communication, enabling AI SRE to both receive data from and send updates to external systems:

ServiceNow Integration

  • Inbound: Receive incident notifications and updates from ServiceNow
  • Outbound: Send work notes, comments, and status updates back to ServiceNow incidents
  • Synchronization: Maintain real-time sync between AI SRE incidents and ServiceNow records

Jira Integration

  • Inbound: Receive issue notifications and updates from Jira
  • Outbound: Send comments, status updates, and field changes back to Jira issues
  • Synchronization: Keep AI SRE incidents and Jira issues synchronized

Requirements for Bidirectional Sync

  • Proper authentication configuration (API keys, OAuth)
  • Appropriate connector setup for outbound communication
  • Matching field mappings between systems
  • Network connectivity for both inbound webhooks and outbound API calls

Creating Webhook Integrations

Follow this interactive guide to configure webhook integrations with payload mapping and field configuration.

Payload Configuration Best Practices

Field Selection Strategy

  • Include Essential Fields: Always map critical fields like severity, service, and description
  • Avoid Over-Mapping: Don't extract unnecessary fields that won't be used
  • Consider Future Needs: Include fields that might be useful for future automation
  • Validate Data Types: Ensure field types match expected webhook payload structure

Custom Field Design

  • Descriptive Names: Use clear, meaningful names for custom fields
  • Consistent Naming: Follow naming conventions across all integrations
  • Proper Data Types: Choose appropriate data types for field content
  • Default Values: Set sensible defaults for optional fields

JSON Payload Optimization

  • Structure Validation: Ensure JSON structure matches webhook sender format
  • Field Nesting: Handle nested objects and arrays appropriately
  • Error Handling: Plan for missing or malformed data scenarios
  • Performance: Optimize payload size for processing efficiency

Troubleshooting Common Issues

Integration Not Receiving Data

  • Verify Endpoint URL: Ensure correct webhook URL is configured in source system
  • Check Network Connectivity: Verify network access between systems
  • Validate Payload Format: Ensure webhook payload matches expected structure
  • Review Authentication: Check authentication credentials and permissions

Field Mapping Issues

  • Missing Fields: Verify required fields are present in webhook payload
  • Data Type Mismatches: Check that field types match expected formats
  • Nested Data: Ensure nested objects are properly mapped
  • Array Handling: Verify array data is correctly processed

Performance Problems

  • Payload Size: Optimize webhook payload size for better performance
  • Processing Time: Monitor integration processing times
  • Rate Limiting: Implement appropriate rate limiting for high-volume integrations
  • Error Handling: Ensure robust error handling for failed processing

Next Steps

Getting Started

Response Automation

Advanced Configuration


info

Need Help? Contact our support team by email at support@harness.io or visit the Harness Documentation for additional resources and troubleshooting guides.