Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Role-specific email recipients

(0) ShareShare
ReportReport
Posted on by
Hi everyone, 
 
I was hoping we could find a solution for a problem that has been on my mind for quite some time. 
 
My query:
I would like to set up the roles so that emails for a specific supplier go to different people depending on who is sending the email and what the email is. 
For example, an AP clerk would send a remittance to Dave@Microsoft, but a Customer Services rep would send a Sales Order to Mike@Microsoft. 
 
Is there any way to automate this? Am I right to approach it from a role angle, or would it be easier to do so by outgoing document? 
 
Any ideas are welcome, as I'm honestly pretty stumped with it.
 
Thank you in advance, 
Jack.
  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,480 Super User 2024 Season 2 on at
    Role-specific email recipients
    Hi,
    You can try this by javascript.
    Let's say you have created two roles as follows:
    1. Sales Member
    2. Customer Service Member
    Now, whenever CRM users create the email then onload of form we will add javascript which will check the supplier contact based on regarding field of email.
    Once found then with script we can set it on email to field.
    Note: each supplier contact should have some uniqueness. so that we can identify it for different user.
    For example. on supplier contact we can have a optionset which help us to differntiate between sales and customer service contact.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans