# Kibana Rules & Connectors for Webhook body format - JSON format

**URL:** <https://discuss.elastic.co/t/kibana-rules-connectors-for-webhook-body-format-json-format/317643>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [October 27, 2022, 7:08pm UTC](https://discuss.elastic.co/t/kibana-rules-connectors-for-webhook-body-format-json-format/317643 "2022-10-27T19:08:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TXBigDawg1836](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@TXBigDawg1836](https://discuss.elastic.co/u/TXBigDawg1836)\
**Post date:** [October 27, 2022, 7:08pm UTC](https://discuss.elastic.co/t/kibana-rules-connectors-for-webhook-body-format-json-format/317643/1 "2022-10-27T19:08:24Z")

</div>

Attempting to send an alert using a webhook to a Microsoft Power Automate flow. We can see the alert fire from Kibana but the body is coming across as one, long string to the Power Automate flow. Wondering how the content can be sent in the same JSON format as the body in the UI?

---

<div class="post-metadata">

**Author:** ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)\
**Post date:** [October 27, 2022, 8:49pm UTC](https://discuss.elastic.co/t/kibana-rules-connectors-for-webhook-body-format-json-format/317643/2 "2022-10-27T20:49:27Z")

</div>

Not quite sure what you're describing. Kinda sounds like your webhook is getting the JSON as a string, and not treating it as an object? You may need to add a content-type header, as many services don't accept JSON input without an appropriate content-type header. Here's a page seeming to describe that:

> **[Remember to include a Content-Type header set to application/json in your...](https://powerusers.microsoft.com/t5/Building-Flows/Remember-to-include-a-Content-Type-header-set-to-application/td-p/152799)**
>
> Hi   I am trying to create HTTP Request "When a HTTP request is recevied". Whenever i add "Request Body JSON Schema" the Flow designer prompts me "Remember to include a Content-Type header set to application/json in your request.". I know that i...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 24, 2022, 2:42pm UTC](https://discuss.elastic.co/t/kibana-rules-connectors-for-webhook-body-format-json-format/317643/3 "2022-11-24T14:42:27Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 22, 2022, 2:42pm UTC](https://discuss.elastic.co/t/kibana-rules-connectors-for-webhook-body-format-json-format/317643/4 "2022-12-22T14:42:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
