Jump to content
  • 0

Trigger email with button


drckarcher

Question

Hi,

 

I am trying to figure out how I can generate an email to one or many email addresses using a report page and a 'SEND" button

This is what my report would look like.

I'd need  tick boxes to select one, many or all search results and a SEND  button.

Each entry would receive an individual email.

eg

To:  [email]

Subject: Test email

Text: Dear {First], this is a text email confirming your email address is [email] and your last name is [last]

Is there a tutorial available for this. Maybe I am searching for the wrong terms

image.png.e896b840dd6f5e5c28d04038d3b744bc.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @drckarcher,

Since Trigger can be only executed by some actions in the table (Insert/Update/Delete), you may utilize the "Bulk edit" option on the Tabular Report DataPage.

https://howto.caspio.com/datapages/reports/data-editing-options-in-reports/

To do so, you need to add a field with the "Yes/No" data type to the table.

For example:

7H1ziu4.png

 

When the "Bulk edit" option is enabled, a new page is added in the DataPage settings. 

In my example I left only the 'Send_email' field there:

MC0ZAF3.png

 

The DataPage example:
umNGlg4.png

Please note that the label for the Edit button (point 2 on the screenshot) can be customized under the Localizations:

nEENzvy.png

But this is optional.

The Trigger example:

PVezXdO.png

This Trigger sends individual emails to the updated records. Basically, the condition to send an email is the checking the 'Send_email' checkbox that was not checked. 

This works if you need to send emails once. 

However, if you need to be able to send emails multiple times for the same records, the Trigger should be modified. Please let me know if you need to send email multiple times.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...