Supervaize Trigger
AI-generatedSummary
Trigger that starts the workflow when a POST request is received at the node's webhook URL. Optionally validates the X-Supervaize-Signature header. If validation is enabled and the header is missing, the workflow receives an error object; otherwise, the request body is passed as workflow data.
Inputs
None.
Output shape
any
The request body is returned as workflow data when signature validation passes or is disabled. If validation is enabled and the header is missing, an error object
{ error: 'Missing signature' }is returned instead.
Examples
Example 1: Valid request with signature validation enabled
{ validateSignature: true } plus a valid X-Supervaize-Signature header matching the request body and secret key in credentials.note: The credential's secret key is used to compute the HMAC-SHA256 signature expected by Supervaize. If the header matches, the workflow receives the request body as data.
Example 2: Missing signature header with validation enabled
{ validateSignature: true } and no X-Supervaize-Signature header provided.note: The workflow receives an error object { error: 'Missing signature' } and no further data.
Example 3: Signature validation disabled
{ validateSignature: false } regardless of headers.note: The workflow always receives the request body as data, skipping signature verification.