enonic-webhook-integrator

Installation
SKILL.md

Enonic Webhook Integrator

Procedures

Step 1: Detect the Enonic XP project

  1. Execute node scripts/find-enonic-targets.mjs . to locate Enonic XP project roots in the workspace.
  2. If the script returns an empty array, stop and explain that no Enonic XP project was found.
  3. If multiple projects are found, ask which project should receive the integration.
  4. Identify the application key from gradle.properties (appName) or build.gradle.

Step 2: Determine integration direction

  1. Classify the task as one of: outbound event listener (XP reacts to internal events and calls an external system), outbound webhook config (XP sends webhook payloads via built-in config), inbound webhook endpoint (XP receives payloads from an external system), or mixed (combination).
  2. Read references/event-reference.md to identify the correct event types, listener patterns, and filtering strategies.
  3. Read references/webhook-reference.md when the task involves outbound webhook configuration or inbound HTTP service endpoints.

Step 3: Implement outbound event listener (if applicable)

  1. Read assets/event-listener.template.ts as a starting scaffold.
  2. Register the event listener in the application's main.ts (or main.js) controller using lib-event's listener() function.
  3. Use the type parameter with a pattern matching the target node events (e.g., node.pushed, node.created, node.updated, node.deleted).
Related skills

More from webmaxru/enonic-agent-skills

Installs
103
First Seen
Mar 28, 2026