Webhook Integrations
Build custom integrations with webhooks.
Overview
Use webhooks to integrate Irresistible with any service that accepts HTTP requests.
Common Use Cases
CI/CD Pipelines
Trigger external build systems:
- Jenkins
- CircleCI
- TeamCity
- Custom scripts
Monitoring Services
Send events to:
- Datadog
- New Relic
- PagerDuty
- Custom dashboards
Communication Tools
Notify teams via:
- Discord
- Microsoft Teams
- Email services
- SMS gateways
Webhook Events
Available Events
deployment.started
deployment.completed
deployment.failed
build.started
build.completed
error.detected
performance.degraded
Event Payload
{
"event": "deployment.completed",
"timestamp": "2024-01-01T00:00:00Z",
"project": {
"id": "proj_123",
"name": "My App"
},
"deployment": {
"id": "dep_456",
"version": "v1.2.3",
"url": "https://myapp.irresistible.dev"
}
}
Security
Webhook Signatures
Verify webhooks are from Irresistible:
const crypto = require('crypto');
function verifyWebhook(payload, signature, secret) {
const hash = crypto
.createHmac('sha256', secret)
.update(payload)
.digest('hex');
return `sha256=${hash}` === signature;
}
IP Whitelisting
Webhooks only come from:
52.89.214.238
34.237.76.91
52.51.85.211
Examples
Discord Webhook
{
url: "https://discord.com/api/webhooks/...",
transform: {
content: "Deployment {{status}} for {{project.name}}"
}
}
Zapier Integration
- Create Zap with webhook trigger
- Add webhook URL to Irresistible
- Map fields in Zapier
- Connect to 2000+ apps