Hacker News new | ask | show | jobs
by tobiemh 1396 days ago
Hi revskill, absolutely you could do something like this:

DEFINE EVENT changed ON person WHEN $before.email != $after.email THEN http::post('https://my-webhook.com', $after);

It's very flexible! We're also releasing support for the fetch() function within the JavaScript functions soon, which will enable you to do the same thing from within the embedded JavaScript functions!