Implement custom moderation and control workflows with real-time event interception and processing
Custom Moderation
Advanced Use Cases
Allow
Allow with Modification
Deny
Enable Pre-Hook Events
Set Up Webhook Endpoint
Configure Event Types
Test & Monitor
Message Events
Event | Triggered When | Available Data |
---|---|---|
message.shouldCreate | User sends a message | Message content, channel ID, sender |
message.shouldUpdate | User edits a message | Updated content, original message |
message.shouldFlag | User flags a message | Message data, flag reason |
message.shouldUnflag | User removes flag | Message data, flag count |
Channel Events
Event | Triggered When | Available Data |
---|---|---|
channel.shouldCreate | User creates channel | Channel data, creator |
channel.shouldJoin | User joins channel | Channel ID, user data |
channel.shouldLeave | User leaves channel | Channel ID, user data |
channel.shouldUpdate | Channel is updated | Updated channel data |
Post Events
Event | Triggered When | Available Data |
---|---|---|
post.shouldCreate | User creates post | Post content, community |
post.shouldUpdate | User edits post | Updated content |
post.shouldDelete | User deletes post | Post ID, deletion reason |
post.shouldFlag | User flags post | Post data, flag details |
Performance & Reliability
Security & Validation
User Experience
Common Issues
Testing & Debugging