Perhaps, Edge function may work for you? You can call the function, then process that information according to data.
If you want it to happen AFTER data is inserted (as a trigger-like), I think it is not available yet. I was reading an article from a while back about workflows, and there are no further news yet.