SpaceSign Trigger

Handle SpaceSign webhook events

SpaceSign Trigger

AI-generated

Summary

Validates incoming SpaceSign webhook events against configured event types and optional secret verification.

Inputs

None.

Output shape

main

Emitted when the webhook event matches a configured event type; contains the parsed webhook body.

Examples

Example 1: Matching event with secret configured

events includes the incoming event type and secret is set to the known value from SpaceSign settings, the webhook is accepted and the body is emitted as workflow data with a 200 response containing {received: true}.

Example 2: Non-matching event

events does not include the incoming event type, the node returns a 200 response with the message Event skipped. and emits no workflow data.

Example 3: Secret mismatch

A secret is configured via the secret parameter but the incoming request's X-Space-E-Sign-Secret header does not match; the node returns a 401 response with body {message: Invalid SpaceSign webhook secret.} and terminates the webhook chain.

Discussion