MCPcopy Index your code
hub / github.com/simstudioai/sim / matchEvent

Method matchEvent

apps/sim/lib/webhooks/providers/types.ts:105–105  ·  view source on GitHub ↗

Return true if event matches, false or NextResponse to skip with a custom response.

(ctx: EventMatchContext)

Source from the content-addressed store, hash-verified

103
104 /** Return true if event matches, false or NextResponse to skip with a custom response. */
105 matchEvent?(ctx: EventMatchContext): Promise<boolean | NextResponse> | boolean | NextResponse
106
107 /** Add provider-specific headers (idempotency keys, notification IDs, etc.). */
108 enrichHeaders?(ctx: EventFilterContext, headers: Record<string, string>): void

Callers 1

queueWebhookExecutionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected