Sending Conditional Emails Based on User Input

Hi Guys,

I am sending confirmation and notification emails (2 in total per submission) via Send Grid.

Is it possible to send emails to a specific address if a certain Text Value in a DropDown is selected.

For Example: When my Client Check ins, He receives a Welcome Email Automatically but If the Client selected the dropdown item ‘ICE CREAM’ I want a email triggered to abc@xyz.com

Similarly if the Client selects ‘AVOCADO’ I want an email triggered to bbc@newyork.com

Is this possible ? Sending emails like this and sending more than 2 emails per submission

See my answer in the forum post Contact Form (Multiple Addresses) . To send more than one email per submission, just call the sendEmail routine as many times as needed.

Yisrael

Thank you so much Yisrael :slight_smile:

I have a similar need. But I have a DB of over 100 emails. The site manages apartment s. Each apt group has a different maintenance contact. When user fills a request I want the email to go to the mant man for the building identified in the drop-down menu. Do I need to hard code each of the email address?

You can use Data Query to get the email from the Database and insert into a hidden input field on your page.