Sending dynamic emails using "button"

Hey,

I am looking for a way to send emails to multiple clients using button.
Trigger snippet -> select multiple options from dropdown from DB -> click button to Send emails

As I understand, this can be done using webhook probably but I am not quite sure how to do it using button (I have never used it earlier). Any help would be awesome.

If you are using a snippet within an email program like Gmail, you could use autopilot to send the email (e.g. click on the Send button in the email program) when you insert a snippet.

If you want to do it via a button though, you could potentially do it with Data Blaze. The sequence would be something like this:

  1. Button uses {dbinsert} to add a row to Data Blaze.
  2. Data Blaze triggers a webhook that sends a message to another system that sends an email.

The easiest way to do the second step would probably be with Zapier, we have a prebuilt integration for Zapier that simplifies that. You can learn about it here:

If you wanted more customizability and control and use Gmail or Google Workspace, you could use Google's Apps Script. It's what we use internally for some of our internal Data Blaze webhooks. Here is information on Apps Script:

https://developers.google.com/apps-script

1 Like