Custom Event Trigger
Fires when your application posts a custom event to the inbound webhook.
https://api.vantaxai.com/v1/workflows (trigger: custom.event)Use the `custom.event` trigger to start a Workflow from your own systems. POST any JSON body to your sub-account's inbound webhook (`/v1/workflows/webhook/{sub_account_id}`) and set `trigger.config.event_name` to match the `name` you send. The entire posted payload is delivered to the Workflow as the `trigger_event` shown below. Reference this trigger by setting `trigger.type` to `custom.event` on the Create Workflow endpoint.
Inbound webhook
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Body Parameters
trigger.typestringrequiredSet to `custom.event` to use this trigger.
example: custom.event
trigger.config.event_namestringrequiredThe custom event name to match against the inbound webhook payload's `name`.
example: invoice.paid