# Notifications, but with the option to compose the payload

**URL:** <https://forum.buildkite.community/t/notifications-but-with-the-option-to-compose-the-payload/976>\
**Category:** Features Requests\
**Created:** [April 6, 2020, 2:10pm UTC](https://forum.buildkite.community/t/notifications-but-with-the-option-to-compose-the-payload/976 "2020-04-06T14:10:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![petemounce](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/petemounce/32/339_2.png) [@petemounce](https://forum.buildkite.community/u/petemounce)\
**Post date:** [April 6, 2020, 2:10pm UTC](https://forum.buildkite.community/t/notifications-but-with-the-option-to-compose-the-payload/976/1 "2020-04-06T14:10:41Z")

</div>

We currently don’t use the `notify` pipeline feature because we want to customise the message template and there doesn’t seem to be a way to do that.

For example

- to target the slack notifications for a “build broken” we want to include the slack username of the last person to commit, so that they get an @-mention.
- we don’t use the email, basecamp options.
- we want to include contextual information _about_ the failure into the failure, like (say) the last few log lines of the command-step, so it’s more tempting for a person to drive-by fix.

Would it be possible to augment the `notify` feature with “run this binary to produce a document containing a message template”?

---

<div class="post-metadata">

**Author:** ![jess](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/jess/32/24_2.png) [@jess](https://forum.buildkite.community/u/jess)\
**Post date:** [May 12, 2020, 11:02pm UTC](https://forum.buildkite.community/t/notifications-but-with-the-option-to-compose-the-payload/976/2 "2020-05-12T23:02:58Z")

</div>

A post was merged into an existing topic: [Customizable Notification Body](https://forum.buildkite.community/t/customizable-notification-body/921)

A vote has been moved.

---

<div class="post-metadata">

**Author:** ![jess](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/jess/32/24_2.png) [@jess](https://forum.buildkite.community/u/jess)\
**Post date:** [May 12, 2020, 11:02pm UTC](https://forum.buildkite.community/t/notifications-but-with-the-option-to-compose-the-payload/976/3 "2020-05-12T23:02:59Z")

</div>


