Equivalent to SQL insert trigger?

ist there a way to trigger an computation when a new record gets inserted into a bucket?
Something like the the SQL insert trigger?
I’d like to run a Flux script that computes a new record an inserts it into another bucket.
ty Oliver

Hello @olk,
There isn’t support for triggers unfortunately.
However you can run a task that periodically checks the count of the data in a bucket and writes new data as needed.
Please see:

Thank you