Skip to content

users cannot customize notification message's format #6942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bowenli86 opened this issue Apr 21, 2020 · 6 comments · Fixed by #8522
Closed

users cannot customize notification message's format #6942

bowenli86 opened this issue Apr 21, 2020 · 6 comments · Fixed by #8522
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required

Comments

@bowenli86
Copy link

Details

I want to use the notification webhooks feature, but my webhook expects a specific format, like

{
   "msgtype": "text",
   "body" {
      ....
    }
}

Right now it seems I cannot do any customization

Expected Result

Allow users to customize notification message in the "notification" page

Actual Result

notification message is of fixed format

@stsewd stsewd added Improvement Minor improvement to code Needed: design decision A core team decision is required labels Apr 21, 2020
@humitos
Copy link
Member

humitos commented Apr 22, 2020

Hi @bowenli86! Thanks for opening this issue. Unfortunately, I don't think we will implement this. Sounds like a very user-specific request and you should be able to change the implementation on your end to accept and parse the format that RTD sends.

@humitos humitos removed the Needed: design decision A core team decision is required label Apr 22, 2020
@bowenli86
Copy link
Author

Hi @bowenli86! Thanks for opening this issue. Unfortunately, I don't think we will implement this. Sounds like a very user-specific request and you should be able to change the implementation on your end to accept and parse the format that RTD sends.

Hi @humitos I'm not sure if it's a too user-specific request. The use case is that many chatbot webhooks on messaging platforms require some specific formats for various reasons. The limitation means I cannot send notifications to our chat apps.

@humitos
Copy link
Member

humitos commented Apr 22, 2020

I understand. You will need to put something between the RTD and the chatbot to parse RTD's webhook and convert it as the format required by the chatbot.

@ericholscher
Copy link
Member

Seems we could pretty easily allow customizable keys on the JSON, but that's definitely a product decision we need to think about.

@devamchakrabarty
Copy link

Since the homepage asks us to Think of it as Continuous Documentation, we genuinely hope this feature request can gain some importance.

We want to fit documentation as a step in our product's CI/CD pipeline. To do that, read the docs must at least allow the webhook JSON payload to be customisable. 🥺

The possibilities are literally endless!

@humitos humitos added the Needed: design decision A core team decision is required label Jun 2, 2020
@ericholscher
Copy link
Member

Interesting example here: https://twitter.com/mariatta/status/1278038611338772480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants