Webhooks Guide
Receive asynchronous workflow results — real‑time delivery of completed business work units
Why webhooks?
AccelEx processes invoices, contracts, support cases, and compliance records as asynchronous work units. Instead of polling for status, your system receives a secure HTTP POST when a workflow unit is completed: an invoice resolved, a contract risk‑scored, or a case routed. Webhooks transform raw operational noise into system‑ready decisions without blocking your infrastructure.
🔌 Setup your endpoint
1. Register webhook URL
In the AccelEx Dashboard → Webhooks → Add endpoint. Provide https://your-domain.com/api/accelex/webhook. Choose events:
- ✓ invoice.resolved – verified invoice ready for payment
- ✓ contract.processed – clause intelligence + risk score
- ✓ case.closed – categorized support case with routing
- ✓ compliance.record_generated – auditable record
- ✓ workflow.failed – confidence below threshold
2. Verify signature (security)
Every webhook includes X-AccelEx-Signature (SHA-256 HMAC). Validate before processing:
📦 Webhook payload structure
Every completed work unit shares the same envelope: provenance, validation traces, and deterministic outcome ready for enterprise systems.
All payloads include decision-ready records that plug directly into ERPs, CRMs, or case management.
🔄 Handling delivery & retries
Idempotency
Each webhook includes a unique event_id. Your endpoint should store processed IDs to prevent duplicate execution. AccelEx guarantees at-least-once delivery.
Retry policy
If your endpoint returns non-2xx or times out (>5s), AccelEx retries with exponential backoff: 5s, 30s, 2min, 10min, 1h (up to 24h). Failed events appear in Dashboard → Webhook Logs.
Best practice: respond with 200 OK as soon as you've validated the signature, then process asynchronously.
📋 Supported event types (workflow outcomes)
| Event type | Trigger condition | Output ready for |
|---|---|---|
invoice.resolved | Finance pipeline completes verification & anomaly detection | ERP / payment approval system |
contract.processed | Legal pipeline extracts clauses, risk classification | CLM, legal review queue |
case.closed | Support pipeline produces summary + routing decision | Zendesk, Salesforce, ticketing |
compliance.record_generated | Audit-ready structured object created | Data lake, GRC platform |
workflow.failed | Confidence below threshold or validation error | Fallback human review queue |
🛡️ Security & best practices
🔐 HTTPS required
All webhook endpoints must use HTTPS with a valid certificate. AccelEx rejects plain HTTP endpoints. Use mutual TLS (mTLS) for additional security — contact support to enable.
📡 IP allowlisting
AccelEx webhooks originate from static IP ranges: 52.44.120.0/24, 3.216.98.0/24. Whitelist these in your firewall. For on‑premise deployments, contact our team for direct connectivity options.
🧪 Testing webhooks locally
Use the AccelEx Dashboard Test Webhook feature or simulate an event via API. For local development, we recommend ngrok or Cloudflare Tunnel:
Dashboard also provides a dry-run payload generator with real signatures to verify your endpoint logic.
📌 Example: invoice resolved webhook handler (Node.js)
⚡ Need dedicated webhook infrastructure? AccelEx offers guaranteed delivery SLA, dead‑letter queues, and replay capabilities for enterprise plans.
View pricing →