Description
PlatformX by getDX, one or our partners, is a tool that allows platform admins to collect events and send pulse surveys to the users of their platform based on the events a user submitted. It uses an email to identify the user across both platforms. See the webhook format in their docs.
Part 1) Support integration via a middleware
A webhook notification can send events to middleware, which then informs PlatformX by modifying the request. This almost works today, except notifications such as "workspace created" go to the admin with no user email in sight.
- Add new notifications types: Notify on workspace creation/update #15845
- Notifications Patch: Add "email" property to webhook payload internal#323
- Middleware: https://github.com/coder/getdx-notifications.
- Docs: feat: add docs explaining how Coder integrates with PlatformX #16378
Part 2) Native notification target (no middleware needed)
Since the middleware simply manipulates the API request, filters the requests, and provides a getDX API key, Coder could provide a native PlatformX notification target with server config flags to take in the API key, just like our sample middleware does.
+ PLATFORMX_API_KEY=<>
Note
See my internal docs on the integration if you need access/help setting this up