Rotational Email?

  • Profile Image
    kingkest
    Asked on April 12, 2016 at 10:16 AM

    Is it possible to rotate the notification email.

    Say I have 5 people that do things with them and I want it to go on a rotational basis to each of them.

     

    Person 1 gets the first email

    Person 2 gets the next email

    Person 3 gets the next email

    Person 4 gets the next email

    Person 5 gets the next email

    then back to person 1.

  • Profile Image
    Charlie
    Answered on April 12, 2016 at 11:46 AM

    Unfortunately, I believe it is not quite possible with the current options and features that we have in the form. We will need to have a more define variable to know to whom the next email will be sent. Example, all odd numbers will go to email address 1, all even numbers will go to email address 2.

    In your case, it is more complicated and we need to have some way to determine how they will be triggered.

    Perhaps using time frames would work?

    Example, submissions that are submitted will be sent to specific emails depending on their datetime submission:

    8:00 AM - 11:00 AM => Email address 1

    11:01 AM - 2:00 PM => Email address 2

    2:01 PM - 5:00 PM => Email address 3

    5:01 PM - 8:00 PM => Email address 4

    8:01 PM - 11:00 PM => Email address 5

    The above example can be done using conditional logic. Here's a guide specific to that: http://www.jotform.com/help/167-How-to-send-to-a-specific-email-address-based-on-a-selection 

     

    Other than that, if you would like to have them in order like what you have mentioned, that is only possible if you'll use the form's full source code and create a custom script that will identify what is the last email sent/used in the previous submission. You'll probably need to use our API to fetch submission data.

    I hope that helps.