# How to add a webhook connector with its body to all existing Elastic detection rules automatically?

**URL:** <https://discuss.elastic.co/t/how-to-add-a-webhook-connector-with-its-body-to-all-existing-elastic-detection-rules-automatically/382212>\
**Category:** Elastic Security\
**Created:** [September 25, 2025, 8:30am UTC](https://discuss.elastic.co/t/how-to-add-a-webhook-connector-with-its-body-to-all-existing-elastic-detection-rules-automatically/382212 "2025-09-25T08:30:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar\_Medhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omar_medhat/32/140627_2.png) [@Omar\_Medhat](https://discuss.elastic.co/u/Omar_Medhat)\
**Post date:** [September 25, 2025, 8:30am UTC](https://discuss.elastic.co/t/how-to-add-a-webhook-connector-with-its-body-to-all-existing-elastic-detection-rules-automatically/382212/1 "2025-09-25T08:30:10Z")

</div>

I created a webhook connector, and I want to add it to all of my installed detection rules without having to manually edit each rule’s actions section one by one. Is there a way to add it to all of them automatically? Especially if the body of the connector might change in the future.

---

<div class="post-metadata">

**Author:** ![vitaliidm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vitaliidm/32/101610_2.png) [@vitaliidm](https://discuss.elastic.co/u/vitaliidm)\
**Post date:** [September 30, 2025, 4:38pm UTC](https://discuss.elastic.co/t/how-to-add-a-webhook-connector-with-its-body-to-all-existing-elastic-detection-rules-automatically/382212/2 "2025-09-30T16:38:39Z")

</div>

Hey @Omar_Medhat

Welcome to the community.

I think bulk action “ **Add rule action”** from this section of documentation might be what you are looking for: [Manage detection rules | Elastic Docs](https://www.elastic.co/docs/solutions/security/detect-and-alert/manage-detection-rules#edit-rules-settings)

It would allow you to add the same body for webhook connector to multiple selected rules at a time.
