I would setup a collection hook on after_save and handle that there. Create a collection like a queue where you store emails that needs to get the email and what document triggered that row. Then in a collection after save hook work through the queue and send emails through sendgrid and when response gets back from sendgrid delete or mark the row in queue as sent.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Automated email on document upload | 2 | 638 | November 26, 2020 | |
| Automatic uploading | 1 | 157 | June 10, 2020 | |
| How do I make my wix database to automatically send new submissions from my site to an external email? | 1 | 167 | January 23, 2019 | |
| Collect email and autom. send pdf | 2 | 584 | June 26, 2019 | |
| Send an automated email | 2 | 92 | March 22, 2019 |