Best way to have an Inbound Email Action for specific addresses and multiple recipients
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 08:34 AM
We have Inbound Email Actions for (among other things) creating Cases in our HRSD environment. We have one rule that runs when:
Recipient contains hr@testorg.com
And it creates an HRC for the general HR assignment group. We have another rule that runs when:
Recipient contains payroll@testorg.com
And it creates an HRC in the Payroll assignment group.
Today we received an email to payroll@testorg.com with individuals also on the recipient list, however no other group email. The rule that ran was for the HR assignment group case. Looking at it more, one of the usernames on the payroll@testorg.com email is blihr, so their email is blihr@testorg.com. Technically that contains hr@testorg.com, which is why it triggered the HR assignment group rule and not the Payroll one.
I'm sure I could change the order the rules run and have the Payroll one before the HR one, but is there a better way to solve for this? I know that using Recipient is hr@testorg.com wouldn't run if additional addresses are on the email list, so I would love to hear some thoughts, feedback, and maybe a solution.
Thanks,
Kristian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 02:29 PM
Hi! Did this work? I'm having the same issue and trying to find a solution for the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 06:27 AM
Hi Ashley. We haven't tried this yet as we're reviewing options, including Email Flows as another post had mentioned to me about. Once I do have a resolution, I'll be sure to update here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 10:17 PM - edited 06-19-2024 10:17 PM
Hi @Kristian Maiora , Why cant we change the rule from "contains" to "startswith"
Recipients startswith hr@testorg.com
wouldn't that work ?
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 06:26 AM
Hi Johnny,
While I haven't tried "startswith", in the past we used "is" and that was restricted to when the recipient is only hr@testorg.com. I would assume "startswith" is the same in that if hr@testorg.com is, say, the second recipient, it wouldn't trigger. But I will take a look at this just in case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 04:07 PM
We had a "starts with" condition initially and ran into the same problem... if they include other emails first, the rule wouldn't catch/trigger. It seems to only work best when you can guarantee single recipients.
