mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 04:55:30 +03:00
17 lines
462 B
Plaintext
17 lines
462 B
Plaintext
|
NODE mv
|
||
|
SQL >
|
||
|
SELECT
|
||
|
timestamp,
|
||
|
workspaceId,
|
||
|
JSONExtractString(payload, 'webhookId') as webhookId,
|
||
|
JSONExtractString(payload, 'url') as url,
|
||
|
JSONExtractBool(payload, 'success') as success,
|
||
|
JSONExtractInt(payload, 'status') as status,
|
||
|
JSONExtractString(payload, 'eventName') as eventName,
|
||
|
version
|
||
|
FROM event
|
||
|
WHERE action = 'webhook.response'
|
||
|
|
||
|
TYPE MATERIALIZED
|
||
|
DATASOURCE webhookEventMV
|