What problem does it solve?
Enonic XP teams often need to wire event listeners, outbound webhooks, and inbound HTTP endpoints to automate content lifecycle integrations. This Skill provides a cohesive pattern for setting up lib-event listeners, configuring outbound webhooks via com.enonic.xp.webhooks.cfg, and exposing inbound HTTP services to handle external payloads, reducing manual wiring and increasing reliability.
Core Features & Use Cases
- Event listener setup: Registers Enonic XP event listeners to react to content lifecycle changes.
- Outbound webhooks: Configures and fires HTTPS POSTs to external systems when events occur.
- Inbound HTTP service endpoints: Provides scaffolding for inbound webhook processing and content orchestration.
- Security and best practices: Includes API key/HMAC authentication, payload sanitization, and secret handling guidance for production deployments.
- Use cases: Notifies Slack or CDN providers on publish, synchronizes search indexes, or routes content changes to external systems for downstream processing.
Quick Start
Use the webhook integration to bootstrap outbound inbound handling by wiring event listeners, configuring webhooks in XP_HOME/config/com.enonic.xp.webhooks.cfg, and implementing a matching inbound service at src/main/resources/services.