wix-cli-backend-event
Installation
SKILL.md
Wix CLI Backend Event Extension
Creates event extensions for Wix CLI applications. Events are triggered when specific conditions occur—on a Wix user's site for app projects, or on your project's site for headless projects. Your project responds using event extensions built on JavaScript SDK webhooks; the CLI subscribes your project to these webhooks.
Common use cases: run logic when a contact is created, an order is placed, a booking is confirmed, or a blog post is published.
Quick Start Checklist
Follow these steps in order when creating an event extension.
- Create event folder:
src/extensions/backend/events/<event-name>/ - Create
<event-name>.tswith the SDK event import and handler function - Create
<event-name>.extension.tswithextensions.event()and a unique UUID - Update
src/extensions.tsto import and use the new extension
User (manual): Configure app permissions for the event in the app dashboard if required; release a version and trigger the event to test.