Integrations
Connect Plexus with Slack, Discord, and other services for notifications.
Plexus can send notifications to external services when your AI agents need attention. This is especially useful when you're away from your computer or working in a team.
Webhook Notifications
Plexus supports webhook-based notifications for:
- Discord - Get alerts in your Discord server
- Slack - Receive notifications in Slack channels
- Custom Webhooks - Send to any HTTP endpoint
Setting Up Discord
- In Discord, go to Server Settings > Integrations > Webhooks
- Click New Webhook
- Choose a channel and copy the webhook URL
- In Plexus, go to Settings > Integrations
- Paste the webhook URL in the Discord field
- Click Save
Test the Connection
Click Test to send a test notification to your Discord channel.
Setting Up Slack
- Go to Slack API and create a new app
- Enable Incoming Webhooks
- Add a new webhook to your workspace
- Copy the webhook URL
- In Plexus, go to Settings > Integrations
- Paste the webhook URL in the Slack field
- Click Save
Using Slack Workflows
For more advanced notifications, you can use Slack Workflows:
- Create a new Workflow in Slack
- Add a webhook trigger
- Use the workflow URL in Plexus
Notification Events
You can choose which events trigger notifications:
| Event | Description |
|---|---|
| Agent Waiting | Agent is waiting for user input |
| Agent Error | Agent encountered an error |
| Session Started | New agent session began |
| Session Ended | Agent session completed |
Custom Webhooks
For custom integrations, Plexus can send POST requests to any HTTP endpoint.
Payload Format
{
"event": "agent_waiting",
"agent": {
"type": "claude-code",
"status": "waiting"
},
"session": {
"id": "session-123",
"project": "my-project",
"branch": "main"
},
"timestamp": "2024-01-15T10:30:00Z"
}Headers
Custom webhooks include these headers:
Content-Type: application/jsonUser-Agent: Plexus/1.0X-Plexus-Event: <event-type>
Troubleshooting
Notifications Not Arriving
- Verify the webhook URL is correct
- Check that the webhook is active in Discord/Slack
- Ensure Plexus has internet access
- Check the Plexus logs for errors
Rate Limiting
To prevent notification spam, Plexus limits notifications to:
- Maximum 1 notification per agent per minute
- Maximum 10 notifications per hour total
You can adjust these limits in Settings > Integrations > Rate Limiting.