High Volume Account Detection
Reading Only

As a CRM data analyst I want to identify accounts that have experienced an unusually large influx of contacts in the past four months, so that I can investigate data-quality issues and possible automation mis-configurations.

ObjectFieldNotes
ContactCreatedDateSystem timestamp, used for recency filter
ContactAccountIdLookup to Account
AccountHigh_Volume_Flag__c(Checkbox) Optional follow-up field showing TRUE if the account exceeds the threshold



Requirements:

  • Only contacts created in the last 4 months count toward the threshold
  • Return each qualifying Account Id with the number of contacts created in that window
  • Threshold: > 1000 contacts

Implementation Details:
Complete the getHighVolumeAccountIds() method in the QuerySolution class to return a Set containing the Account IDs that meet the criteria.