Has there ever been discussion around adding feature to Re:dash that would execute some ad-hoc code as an alert destination? JavaScript would be my first choice of language for this and an environment similar to Zapier Code would suit my use case.
The use case for a such a feature is to schedule a query against our BigQuery datastore and use the results to tag users in Intercom. The scheduling and running of the query is already built into Re:dash and triggering alerts on those queries is supported as well. While tagging users in Intercom is a very specific problem, it’s one that would be quite easy with access to the query results and a JavaScript runtime with the fetch
function.
I’m going to prototype the solution using webhook alert destinations + Zapier, but if that goes well would consider adding a proof-of-concept to Re:dash using PyV8 or something similar.