Skip to main content

Notifications

Announcements

No record found.

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

Excluding Leads and Contact from employees

Posted on by 560

Hi,

Within my company, we are having problem with internal staff registering for Events or downloading something using our forms. These are creating Leads and Contacts in our system that we constantly need to clean.
The biggest issue we have is a security one. Sales staff and managers have the risk of having their Email correspondence open to view for anyone with 365 access if a Lead and Marketing Contact is created.

When they fill in a form to download something, we are normally be pretty quick in deleting them. But when the register for an Event, they might stay in the system for some time. Only after the Event has finished can we delete the Event registration and the corresponding Lead & Contact. 

We have thought of two ways to try and fix this:
1. Make sure that all Internal staff always use a private Email address - continue to manually delete these Leads
2. Ask them to always use the @hms.com domain email so we might have a chance to somehow block this domain from creating a Lead & Contact.

Do you any other approach here to how we can stop Leads & Contacts from internal staff in the system?  Is it possible to block a domain from creating Leads?

Im sure we are not the only Company here with this problem!  

Thanks in advance
Chris

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Excluding Leads and Contact from employees

    Hi,

    For the Contact is the required field of a registration, it cannot be deleted with the registration remained. As you said, “We still want to permit internal staff to join webinars if they like.” So it would be better to control the content of the email input at the time of registration.

    Provided that your event is registered through the marketing form, you can add a JavaScript to the Event registration form to pop up an alert and clear the input when an invalid email is submitted.

    pastedimage1615369752005v1.png

    Here is an article about how to extend marketing form with code.

    Extend marketing forms using code (Dynamics 365 Marketing Developer Guide) | Microsoft Docs

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • CHK1970 Profile Picture
    CHK1970 560 on at
    RE: Excluding Leads and Contact from employees

    How would this work with Event registrations? Normally a lead and contact cannot be removed if an event registration exists. We still want to permit internal staff to join webinars if they like.

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Excluding Leads and Contact from employees

    Hi, Chris

    Please create a Flow to achieve your request.

    1. Go to Power Automate and create a flow. Set the trigger as “When a record is created”.

     pastedimage1615360250942v1.png

    1. Get the Parent Contact of the Lead.

     pastedimage1615360260416v2.png

    1. Add a condition: if the email of the contact contains “xxx.com”, delete the record of Lead.

     pastedimage1615360350888v4.png

    After saving the flow, when a Lead is created with the email of the parent contact containing “xxx.com”, it will be deleted automatically.

     

    For the creation of a contact with the same email domain, it can be deleted in the same way.

     pastedimage1615360429389v5.png

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans