Note: The Form Submission API only works with the Wix Forms app. Call GetAppInstance to confirm that the app named wix_forms is installed on the site.
Triggered when a submission is created.
handler(event: SubmissionCreatedEnvelope): void | Promise<void>