BaseVN - App Request Trigger
AI-generatedSummary
Trigger a workflow when a specific BaseVN request event occurs (created, approved, or rejected) by receiving a webhook POST request at a customizable path.
Inputs
- Webhook Path (required) — Specify the URL path segment for the webhook that listens for events.
- Event (required) — Select which request event to trigger on: Request Created, Request Approved, or Request Rejected.
- Response Selector (required) — Choose the data returned from the webhook: full payload, only the body, or simplified request information.
Output shape
a list containing a single JSON object representing the webhook event data according to the selected response format
The output JSON object includes the detected event type as 'event'. If the incoming webhook payload's status and state do not match the selected event, no data is emitted (empty output). The three response selector options shape the output differently: 'Full Payload' returns headers and full body, 'Body Only' returns the body data with event, and 'Request Info' returns a simplified subset of fields describing the request.
Examples
Example 1: Trigger a workflow when a new request is created
Set Webhook Path to 'webhook', Event to 'Request Created', and Response Selector to 'Body Only'. The workflow triggers only on new requests and outputs the body data with event field.