I'm not exatly understanding how triggers/events work, how can I specify that it should only trigger when an event happens in this collection by collectionID?
:appwritepeepo:
TL;DR
To trigger a function when a document is created in a specific collection, you need to set up events and triggers. Specify that it should only trigger for a particular collection by using its ID.
Steven
21 Sep, 2024, 23:59
Make sure to change it to trigger on documents. Then, change the * to the collection id