Skip to content
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

Add Webhook JSON customizability or Slack WebHook format support #24

Open
mkorkalo opened this issue Jan 11, 2022 · 4 comments
Open

Add Webhook JSON customizability or Slack WebHook format support #24

mkorkalo opened this issue Jan 11, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@mkorkalo
Copy link

Currently there's no easy to to integrate with slack using the standard methods.
https://api.slack.com/messaging/webhooks

I see two logical options:

  1. Allow to customize the webhook json payload e.g. editable json template with fields as ${parameters}, or similar. This has the upside of supporting many APIs, including Slack's and customizing message can be done. Downside is you're possibly creating a way for users to use the site to post custom requests anywhere. Maybe that's not a big deal?

  2. If you do not wish to allow custom payload, maybe just add an option for slack payload format and create a default slack template that should be good enough for anyone.

@sullivanmatt sullivanmatt added the enhancement New feature or request label Jan 11, 2022
@sullivanmatt
Copy link
Collaborator

sullivanmatt commented Jan 11, 2022

This will definitely take some dev work, but I think it's a great idea to parameterize our values and let users customize the JSON body, possibly with some templates for major services to help ease the burden for the average user.

I also need to build an ability to test webhooks anyway, so this area will get some much needed love soon.

@mkorkalo
Copy link
Author

Awesome! I thought I'd better speak out now when the feature is still in development.

@mattlorimor
Copy link
Member

Currently there's no easy to to integrate with slack using the standard methods.

Yeah, until something like this exists, the easiest stopgap solution is probably to get the @BugAlertDotOrg Tweets to a Slack channel.

@pointydev
Copy link

Something to consider if offering premade payloads would be Discord's webhook format, as well as their handling of Slack-compatible webhooks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants