Hello,
Has anyone managed to trigger retool workflows from mongodb database change events?
In the past, I have successfully used mongodb nodejs driver to connect js apps to the mongodb change stream. It's the mongoClient driver that creates the link by providing it with a callback function inside the "waiting app". Each change event generates a callback thread in nodejs runtime. The driver provides multiple tools to fashion events to the need.
To date, all I have found is that Retool Workflow triggers with a provided url call. I have not found a way for the workflow to "listen" to the mongodb change stream.
Taking the case from the other end, I have yet to find a way for the mongodb atlas server to call the retool url with the change stream data payload.
Putting a nodejs app in between would work but defeat the purpose of transferring infrastructure support to the providers...
Any ideas?