Can I send emails to different emails based on a field from a form?
SOLVE
Hi, I am working on a form to be integrated into my website. I would like to know if there's any way for the form to be sent out to a particular email based on an option from a drop-down menu. For example, I have a field on the form that lets you select different cities, what I would like it to do is to send an email to a person in that center once the form has been filled out, not someone on an entirely different center. I know this could be done with a workflow, but does anyone have any directions?
For this you need a workflow with enrollment criteria that match when you want the email to be sent - for example, the criteria could 'contact has submitted this particualr form' or the property in question 'is known'. Or you could use a combination of these criteria to be doubly sure.
Then, for your workflow actions, you want to use a series of if/then branches to test for each possible value of the property - this could be a lot of branches if using something like city, but its the only way to do it.
When a contact tests positive for a branch, use the send internal email action. Enter the email address that you want to receive that notification and then select or create the email.
If the contact tests negative for the branch, they should pass to the next one.
Hope that makes sense. Let me know if you have any issues.
For this you need a workflow with enrollment criteria that match when you want the email to be sent - for example, the criteria could 'contact has submitted this particualr form' or the property in question 'is known'. Or you could use a combination of these criteria to be doubly sure.
Then, for your workflow actions, you want to use a series of if/then branches to test for each possible value of the property - this could be a lot of branches if using something like city, but its the only way to do it.
When a contact tests positive for a branch, use the send internal email action. Enter the email address that you want to receive that notification and then select or create the email.
If the contact tests negative for the branch, they should pass to the next one.
Hope that makes sense. Let me know if you have any issues.
Can I send emails to different emails based on a field from a form?
SOLVE
Ok, I think I know what you mean and I did this (see screenshot.)
Now, I stumbled upon this problem, I don't know if I have to do one workflow per option on the dropdown menu, or just put every option below the green yes branch. I did the latter but it only let me add 19 options from my menu, when I have more than 20. Hopefully, I am being as clear as possible.
Moving to individual workflows per city is an option, but feels less than ideal. Could you group form submissions with specific cites (as the enrolment criteria) somehow?