Can you use conditional logic on email responses? | Community
Skip to main content
Answered

Can you use conditional logic on email responses?


Is it possible to send a different email based off of conditions within the form.

Mainly I would be looking to send a different email if you are the first person to fill out the form / or have a different response depending on the timeframe the form was submitted.

 

i.e. Can I send response A if you submit the form within the first week, and response B if you submit the form anytime after that?

 

Thanks!

Best answer by picsoung

Hey @Cuken 👋
This is a great question!

Once way to do this would be probably to update the email notification message after the first week of existence of your form.

But if it depends on another date (like their signup date on your product) you would have to rely on another service to send those emails.

Either using something like Zapier, Sendgrid, or Courier
You would need to use webhook to trigger this workflow so it will ping this email service for every ping.
In each of those email services you can either create two emails, or one email template with conditions.

Here is an example project to connect Typeform and Sendgrid.

Hope it makes sense :)
 

View original

13 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14904 replies
  • January 28, 2021

Hi @Cuken . Welcome to the community! :) 

Our notifications feature will send one email regardless of how the respondent answers, but a workaround would be to set this up using Zapier + Typeform + Your Email Service Provider. I also particularly like this method because you can then track opens and send other email campaigns this way if you’d prefer. 

You can learn more about the workaround here, but if you have a particular email service provider, such as Mailchimp, I can provide a few more ideas, too. Just let me know which one you have! :) 

Thanks for posting your question, too. I’m sure they are some other members here that are also looking to send emails based on answers in the form. 


picsoung
Typeform
Forum|alt.badge.img+5
  • Developer Advocate @ Typeform
  • 384 replies
  • Answer
  • January 28, 2021

Hey @Cuken 👋
This is a great question!

Once way to do this would be probably to update the email notification message after the first week of existence of your form.

But if it depends on another date (like their signup date on your product) you would have to rely on another service to send those emails.

Either using something like Zapier, Sendgrid, or Courier
You would need to use webhook to trigger this workflow so it will ping this email service for every ping.
In each of those email services you can either create two emails, or one email template with conditions.

Here is an example project to connect Typeform and Sendgrid.

Hope it makes sense :)
 


  • Navigating the Land
  • 4 replies
  • February 9, 2021

Noting that this was a native tool on Jotform. I love Typeform forms, but not being able to send custom self-notifications to different colleagues based on respondent questions is challenging. 

 

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14904 replies
  • February 10, 2021

Hi @ssweeneyjgi Thanks for sharing! :) Hopefully you’ll be able to utilize the workaround above in the meantime. :grinning:


  • Navigating the Land
  • 4 replies
  • February 10, 2021

I’ve tried but haven’t been able to make the workaround work the way I need it to. I have a set of categories in our contact form, and based on a user's selection of a category, a notification email will be targeted to a specific colleague with all the form data. I got stuck in Zapier with the trigger. It wouldn’t pick up the category options so I couldn’t set up the actions. 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14904 replies
  • February 10, 2021

Hi @ssweeneyjgi  - were you using the filters option in Zapier? If so, you may need to submit a test on the form in order for Zapier to pickup all of the available questions and answers. 


  • Navigating the Land
  • 2 replies
  • June 2, 2022

Has there been any updates to this?

Conditional logic for email notifications would be especially useful for us in many instances as would for sending Slack notifications.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14904 replies
  • June 2, 2022

Hi @OPFS This isn’t currently a feature in our roadmap, but if anything changes, I’ll post an update here. 😀


  • Navigating the Land
  • 2 replies
  • June 2, 2022

Pleeeeease add it!


yes its possible. conditional logics serve the purpose. I have seen it being done on st courier tracking website . you can do that too. 


markspenser1121 wrote:

yes its possible. conditional logics serve the purpose. I have seen it being done on courier tracking website . you can do that too. 

In the Conditional Logic window, create new rules by specifying the condition and the email address(es) where the notifications should be sent if the conditions are met. You can put multiple email addresses, separated with commas.This guide highlights how to send different email alerts using Conditional Logic to select the email template and change the recipients based on the form filler’s answer.The Change E-mail Recipient condition, as the name suggests, changes or overrides the selected email template’s recipients. It sends the selected email alert to the defined recipients when triggered.

To send an email to a different person depending on how the form is answered, you will need to do the following;

  1. For each desired recipient, set up a custom email under After Submission → Emails.
  2. In the custom email setup, toggle on "Email logic", and add the conditions for when this recipient should receive an email.

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5271 replies
  • November 6, 2022

@colleencamacho59 - welcome back to the community

quick question: what software are you referring to in your post above? These are not native functions inside Typeform. 

How are you using Typeform in your business process flows?

 

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14904 replies
  • April 17, 2023

Hi @Cuken @ssweeneyjgi @OPFS @markspenser1121 @colleencamacho59 just wanted to let you all know that we’ve released the option to send emails based on different factors!

 


Reply