Create backend event extensions that respond to Wix events. Use when implementing handlers that run when specific conditions occur on a site. Triggers include…
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>.ts with the SDK event import and handler function Create <event-name>.extension.ts with extensions.event() and a unique UUID Update src/extensions.ts to 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. References
don't have the plugin yet? install it then click "run inline in claude" again.
by @wix