How to Send Email Based on User’s Answer

May 4, 2022

If you want to send an Email Notification or Autoresponder based on the user’s answer, follow these steps.

We’ll be using the following contact form as an example where we send the corresponding email alerts based on the form filler’s answer to the “Would you like to join our mailing list?” question.

form-builder-join-mailing-list-min.png

Create the Email Templates

  1. Go to the Settings tab in the Form Builder.
  2. Click Email on the left.
  3. Create the email alert templates for the conditions’ outcomes.
form-builder-yes-no-email-templates-min.png

Once that’s done, the next step is to…

Set Up the Conditional Logic

  1. Click Conditions under Settings.
  2. Add a new condition and select the Change E-mail Recipient option.
form-builder-change-email-recipient-min.png
  1. Set up the condition and action in the next window. In our example form, the conditional logic for “Yes” would be as follows:
form-builder-change-email-recipient-condition-min.png

To break that down:

  • We’ve set the condition or IF statement to check if the “Would you like to join our mailing list?” question is equal to “Yes”.
  • The action or DO statement will send the email alerts for “Yes” if the condition is met.

You can enter the email address or the Email element’s tag or unique name as the recipient. Paid accounts can input comma-separated email addresses and/or email tags for multiple recipients.

form-builder-change-email-multiple-recipients-min.png

Email alerts with Conditional Logic will show the Includes Condition icon.

form-builder-emails-includes-condition-min.png

Note

Autoresponder or Notification Email recipients will change depending on how you set up the Change E-mail Conditional Logic. Any recipients you manually set in the Change E-mail condition will automatically override the original recipients in the email alerts. If you’d like to send an email with the original recipients, you can create a new Autoresponder or Notification Email without any customized Conditional Logic.

Comments and suggestions are welcome below. If you have a question, post it in our Support Forum so we can assist you.

Haven’t you got started yet? Create a form now with email logic!

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments: