SOLVED

Multiple checkbox selection - Emails should send according to the Value

Go to solution
RDheera
Level 2

Multiple checkbox selection - Emails should send according to the Value

Hi,

 

In form I created four checkbox values in same field name. User should select one or more than one.
please refer the below image,

RDheera_0-1671515811080.png

For example :

If User select, Webinar 1 and Webinar 3 - then the confirmation emails of Webinar 1 and 3 should send to the User. 
We have 4 different confirmation email having. Based on the checkbox value, confirmation email will send


Like the above flow, is there any option in campaign ?
please help with the issue.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Multiple checkbox selection - Emails should send according to the Value

Assuming that Event Session is a single string/text field added as a checkbox field on the form to capture user's preferences for webinars, you could reference the data in the Event Session field to check if it contains any of the stored values corresponding to each webinar choice added on the form or not in the respective send email flow step's choice (just to be clear, there would be in total 4 send email flow steps, one for sending each webinar confirmation email given that they satisfy the condition in choice step). This should ensure that you send only the corresponding webinar confirmation email(s) that a user has chosen while filling out the form.

 

Alternatively, you could also create a single email and add the webinar details dynamically based on the user's selection of webinar(s) using velocity script. IMO from the UX-wise, I think it'd be better to send out a single email with all the details of user's choice of webinar(s), instead of sending out up to 4 emails.

 

Lastly, since this is a webinar confirmation email send campaign, you should set it as triggered campaign listening for the "Fills out Form" activity for the corresponding form.

 

Edit - If the webinar selection field is not added as a required field on the form, then if a person fills out the form again without making any selections, they would end up receiving emails per their last selections as submitting empty values in a field does not wash the existing value in it (in that the case, you’d want to update the field to NULL after sending out confirmation email(s) in the campaign so they don’t receive emails as per the old data in the field in case they resubmit the form w/o selecting any webinar(s)).

 

View solution in original post

1 REPLY 1
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Multiple checkbox selection - Emails should send according to the Value

Assuming that Event Session is a single string/text field added as a checkbox field on the form to capture user's preferences for webinars, you could reference the data in the Event Session field to check if it contains any of the stored values corresponding to each webinar choice added on the form or not in the respective send email flow step's choice (just to be clear, there would be in total 4 send email flow steps, one for sending each webinar confirmation email given that they satisfy the condition in choice step). This should ensure that you send only the corresponding webinar confirmation email(s) that a user has chosen while filling out the form.

 

Alternatively, you could also create a single email and add the webinar details dynamically based on the user's selection of webinar(s) using velocity script. IMO from the UX-wise, I think it'd be better to send out a single email with all the details of user's choice of webinar(s), instead of sending out up to 4 emails.

 

Lastly, since this is a webinar confirmation email send campaign, you should set it as triggered campaign listening for the "Fills out Form" activity for the corresponding form.

 

Edit - If the webinar selection field is not added as a required field on the form, then if a person fills out the form again without making any selections, they would end up receiving emails per their last selections as submitting empty values in a field does not wash the existing value in it (in that the case, you’d want to update the field to NULL after sending out confirmation email(s) in the campaign so they don’t receive emails as per the old data in the field in case they resubmit the form w/o selecting any webinar(s)).