Create custom events for webhooks
Webhooks are used to capture inputs submitted to your database. You can also set up a workflow that a webhook will trigger when a form is submitted.
Forms sends three types of custom data to the form:engage custom event:
- VIEWED
- INTERACTED
- SUBMITTED
They are created in the following way:
To run custom logic when a form is rendered, for example, you can subscribe to the form:engage events. They can be accessed in the following way:
If you have suggestions for improving this article, let us know!