Skip to content

Commit 3bc5c3c

Browse files
authored
Create README.md
1 parent 22be680 commit 3bc5c3c

File tree

1 file changed

+4
-0
lines changed
  • Server-Side Components/Business Rules/Send Custom Slack Message When VIP Logs an Incident

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
When a VIP user creates an incident, notify a Slack channel (or send via webhook) with a custom JSON message.
2+
Note : You’d need to set up a Slack Incoming Webhook for this.
3+
4+
This business rule triggers on incident creation and checks if the `caller` has the `vips` flag set to `true`. If so, it constructs a JSON payload with incident details and sends a POST request to a predefined Slack webhook URL using `sn_ws.RESTMessageV2`. The purpose is to notify support teams in real time when a VIP user logs an incident.

0 commit comments

Comments
 (0)