-
Notifications
You must be signed in to change notification settings - Fork 13k
feat: add separateResponse param to incoming webhooks for optional per-channel responses markdown
#36386
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
feat: add separateResponse param to incoming webhooks for optional per-channel responses markdown
#36386
Conversation
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 77becba The changes in this PR will be included in the next version bump. This PR includes changesets to release 36 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #36386 +/- ##
===========================================
- Coverage 65.57% 65.57% -0.01%
===========================================
Files 3172 3172
Lines 105477 105477
Branches 20041 20058 +17
===========================================
- Hits 69170 69166 -4
- Misses 33627 33629 +2
- Partials 2680 2682 +2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
separateResponse param to incoming webhooks for optional per-channel responses markdown Copy EditseparateResponse param to incoming webhooks for optional per-channel responses markdown
2536d92 to
40b38ea
Compare
Signed-off-by: Abhinav Kumar <[email protected]>
Signed-off-by: Abhinav Kumar <[email protected]>
40b38ea to
f5e7af8
Compare
Signed-off-by: Abhinav Kumar <[email protected]>
Signed-off-by: Abhinav Kumar <[email protected]>
…n-multiple-channels
…n-multiple-channels
Proposed changes (including videos or screenshots)
Adds a new boolean parameter
separateResponseto the incoming webhook configuration. When enabled, the API will return an array of result objects—one per channel—indicating individual success or error. IfseparateResponseis disabled (the default), the server will first validate all target channels; on validation failure it returns a singlesuccess: falsewithout sending any messages, or on success it sends to all channels and returnssuccess: true.This PR also fixes an issue where in an outgoing integrations, if the message returned from the webhook had multiple channels, the messages would be sent but it would show only one channel in history.
Issue(s)
Steps to test or reproduce
separateResponsein the payload. When true -> separate response will be returned. In case of falsy -> message wont be sent to either of the channels since it would have failed for the channel which the user can't access.Further comments
SUP-779