trigger-inbox-notification
Send targeted notifications to users within Liveblocks by specifying custom activity data, user ID, and subject for enhanced real-time collaboration alerts.
Instructions
Create a custom Liveblocks inbox notification
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activityData | Yes | Custom data related to the notification | |
kind | Yes | ||
roomId | No | Don't add this unless specifically asked | |
subjectId | Yes | ||
userId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"activityData": {
"additionalProperties": {
"type": [
"string",
"boolean",
"number"
]
},
"description": "Custom data related to the notification",
"type": "object"
},
"kind": {
"pattern": "^\\$",
"type": "string"
},
"roomId": {
"description": "Don't add this unless specifically asked",
"type": "string"
},
"subjectId": {
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"userId",
"kind",
"subjectId",
"activityData"
],
"type": "object"
}