I have Salesforce configured for email-to-case. We have multiple email addresses customers can send to: firstname.lastname@example.org email@example.com firstname.lastname@example.org. I'd like to send back a unique initial case acknowledment auto response if (and only if) the initial email went to email@example.com. how can I do this? I don't see a case object I can trigger on that includes the email address the request was received on...
You will need to record the source email address. One way to do this without code is to add that specific source email as a value in the Case Origin field and you could use that as your auto response criteria.
If you are just using "email" as the Case Origin, and want to continue to do so, you could still do the above then use a workflow rule to copy the email address to a custom field and also set the Case Origin back to "email". I personally use this approach as it allows:
- High level reporting on Case Origin
- Reporting on Case volume per specific email address
- Ability to configure specific auto responses
I can add more detail on the workflow part if helpful.
When setting up an email to case address you will seen like below. Before this create the relevant Case Origin value. Anytime a Case gets created via this email 2 case address it will have this Case Origin applied: