Hi,
My overall goal for this post is to figure out how I can implement a trigger that will be called when an insert is performed on one of my collections, and when that trigger is fired, it should have my REACT application do some processing on the data that was inserted.
-
I don’t know if what I want to do is even possible - ??
-
I have set up a trigger on my DB and used the default “commented out” function in the Edit Trigger page.
-
I have read the following:
https://docs.mongodb.com/stitch/triggers/database-triggers/
https://docs.mongodb.com/manual/reference/change-events/#insert-event
https://docs.mongodb.com/stitch/triggers/trigger-snippets/
The last one showing the trigger snippets seems like it’s getting close to what I want to do… but instead focuses on sending text messages via twilio and new user authentication… instead of having the application do some processing like I would like it to.
Thanks
Mike