> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Sample Use Cases and Flows ## Article: Sample Use Cases and Flows ## Article Link: https://dev.wix.com/docs/api-reference/crm/members-contacts/members/activity/member-reports/sample-use-cases-and-flows.md ## Article Content: # Member Reports: Sample Use Cases and Flows This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful jumping off point as you plan your implementation. ## Notify members who are reported for spam You may want to notify members when they are reported for spam. For example, if a member repeatedly posts promotional links in a discussion forum and is reported for spam, sending a notification ensures transparency and provides the reported member an opportunity to appeal or correct their behavior. To notify reported members: 1. [Create an email template](https://support.wix.com/en/article/email-marketing-creating-and-sending-a-campaign-from-start-to-finish) to be sent whenever a member is reported for spam. 1. Use [Member Report Created](https://dev.wix.com/docs/rest/crm/members-contacts/members/member-reports/member-report-created.md) to listen for when a new member report is created. When the event is triggered: - Extract the `createdEvent.entity.reason.category` and check for the `"SPAM"` value. - Save the value from `createdEvent.entity.reportedMemberId`. 1. Call [Get Member](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/get-member.md) passing the saved reported member ID to the `id` field. Retrieve and save the value of `member.loginEmail`. 1. Send the email template to the saved email address. ## Prevent abuse of the reporting system You may want to prevent abuse of the reporting system to maintain fairness and avoid overburdening Wix users. For example, a member could exploit the system by submitting false or excessive reports to target other members unfairly. By implementing safeguards, you can discourage misuse and ensure the reporting system is used appropriately. To prevent abuse of the system: 1. Use [Member Report Created](https://dev.wix.com/docs/rest/crm/members-contacts/members/member-reports/member-report-created.md) to listen for when a new member report is created. When the event is triggered extract the value from `createdEvent.entity.reportingMemberId`. 1. [Query Member Reports](https://dev.wix.com/docs/rest/crm/members-contacts/members/member-reports/query-member-reports.md) by the reporting member ID, and track the number of reports submitted by the member within a specific time frame. 1. If the member exceeds a determined reporting threshold or demonstrates unusual reporting patterns, such as targeting the same individual repeatedly without valid reasons, issue a warning or temporarily [block](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/block-member.md) that member. 1. Optionally, [notify the member](#notify-members-who-are-reported-for-spam) about the restriction and explain the reason to promote understanding and discourage future misuse.