> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-sre/ai-sre-for-administrators/set-up-runbook-management/triggers/key-events.md).

# Trigger on Key Events

### Integration with key events <a href="#integration-with-key-events" id="integration-with-key-events"></a>

#### Key event trigger configuration <a href="#key-event-trigger-configuration" id="key-event-trigger-configuration"></a>

When using key events as trigger sources:

1. **Set trigger condition:** In the Triggers section, set the condition to "Key Event Created"
2. **Map event to input:** Configure how event data maps to runbook input variables
3. **Dynamic execution:** Enable automatic execution when specified key events occur
4. **Data validation:** Ensure event data meets runbook input requirements

<figure><img src="/files/hf3ebel8fmYZlbYBeGcI" alt=""><figcaption><p>Configuring Key Event Triggers</p></figcaption></figure>

This approach allows for seamless integration between event detection and automated response, without requiring manual configuration of input variables for each execution.

***

### Benefits <a href="#benefits" id="benefits"></a>

Key event triggers provide the following operational advantages:

* **Automated response:** Immediate response to incidents and alerts without manual intervention
* **Consistent execution:** Standardized response procedures triggered by specific conditions
* **Scalable operations:** Handle increasing incident volumes without additional manual effort
* **Reduced MTTR:** Faster incident resolution through automated trigger-based responses
* **Operational efficiency:** Free up team members to focus on complex issues requiring human intervention
* **Audit trail:** Complete tracking of automated actions and their triggers
* **Flexible configuration:** Adapt trigger behavior to changing operational requirements

***

### Next steps <a href="#next-steps" id="next-steps"></a>

* Go to [Create runbook triggers](/ai-sre/ai-sre-for-administrators/set-up-runbook-management/triggers/create-trigger.md) to configure key event triggers.
* Go to [Trigger overview](/ai-sre/ai-sre-for-administrators/set-up-runbook-management/triggers/overview.md) to understand trigger fundamentals.
* Go to [Create runbooks](/ai-sre/ai-sre-for-administrators/set-up-runbook-management/create-runbook.md) to build runbooks that respond to key events.

{% hint style="info" %}
**Need Help?** Contact our support team by email at **<support@harness.io>** or visit the [Harness Documentation](https://docs.harness.io) for additional resources and troubleshooting guides.
{% endhint %}
