Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Delete contacts based on membership of a real time segment

(1) ShareShare
ReportReport
Posted on by 32
We want to clean up our database and dele contacts that meet certain criteria.
View filters do not have the power to identify contacts that meet complex criteria, (or even quite simple criteria like, "Have they opened an email in the last year?")
Segments do all allow these more complex criteria
With Outbound Marketing Segments, it is possible to create a view, based on membership of the segment, and thn bulk delete the members
With Real Time Journey segments, it does not appear possible to select contacts that are in a segment.
Is it possible to identify a bulk list of contacts using Real Time Segments and edit or delete all the identified contacts?
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,785 Super User 2024 Season 1 on at
    Delete contacts based on membership of a real time segment
    You can also use a console for this type of operation. It depends on you how you want to delete the data. Because when it is complex deletion then we can use the console or some Customisation else using bulk delete or power automated flows can help.
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,785 Super User 2024 Season 1 on at
    Delete contacts based on membership of a real time segment
    Hello Boswell,
     
    I was referring delete like this.
     
     
    Thank you,
    Amit Katariya
  • Verified answer
    Guy Boswell Profile Picture
    Guy Boswell 32 on at
  • Guy Boswell Profile Picture
    Guy Boswell 32 on at
    Delete contacts based on membership of a real time segment
     
    What do you mean by a, "re-importing your list as a “Delete” import in Dynamics"?
    I can only find a way to delete the records imported.  As the rcords I want to delete pre-exist in the data base, deleting the import leaves the pre-existing records untouched
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,785 Super User 2024 Season 1 on at
    Delete contacts based on membership of a real time segment
    1.Export to Excel and Manual Deletion
     
    Export the Segment: In Dynamics 365, you can run the real-time segment, export the list of contacts to Excel, and use Excel's tools to refine the list based on your criteria.
     
    Identify Contacts: Filter or sort contacts directly in Excel to ensure you’re only selecting contacts that meet your deletion criteria.
     
    Manual Deletion: This step involves re-importing your list as a “Delete” import in Dynamics, or manually deleting records based on the list.
     
     
    2. Power Automate Workflow
     
    Trigger: Although real-time segments don’t directly integrate with Power Automate, you can use Power Automate to flag contacts based on actions or attributes that align with your segment criteria. Once flagged, Power Automate can identify these flagged contacts and delete them.
     
    Action: Create a workflow to delete flagged contacts on a recurring basis (daily, weekly, etc.) to capture contacts as they meet criteria over time.
     
     
    3. Custom Plugin
     
    Complex Logic: If you need high specificity or very large scale deletions, consider a custom plugin. You could build this to directly access segment membership data (via custom attributes or flags).
     
    Direct Deletion: The plugin can check your specified criteria periodically, mark eligible contacts, and delete them based on segment membership.
     
     
    4. Third-Party Tools (e.g., XrmToolBox)
     
    Bulk Operations: XrmToolBox offers plugins like "Bulk Deleter" and "Bulk Workflow Execution" that can help manage and delete contacts based on specific conditions.
     
    Advanced Filtering: You can create a temporary view in Dynamics based on flagged criteria, then use XrmToolBox to apply batch deletions to those contacts.
  • Suggested answer
    Muhammad.Affan Profile Picture
    Muhammad.Affan 4,449 on at
    Delete contacts based on membership of a real time segment
    Hi There,
     
    Why don't you create a power automate flow, specify the criteria and the flow will delete the contacts that meets the criteria.
     
    Thanks
    Affan
    If my suggested answer has helped, please mark it as verified.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans