Sending an email with row data when new row is added
Users in my app can add a partner's email address, which is stored in a 'partner' table. Every time a new row is added to the partner table, I want to trigger an email to that partner letting them know they've been added (and giving them a chance to opt out).
What's the best way to go about this?
So far, I've tried using a Database Webhook with SendGrid, but I don't think those allow me to tailor the http request according to the new row data.
What's the best way to go about this?
So far, I've tried using a Database Webhook with SendGrid, but I don't think those allow me to tailor the http request according to the new row data.