Dealing with SPAM in Your Applicant Portal

Issue

An onslaught of SPAM is coming though your application portal.

Solution

A resolution may depend if there is a way to identify registrants. Below are different options we have shared with customers experiencing this.

Option 1

  1. If the bogus records were created from the same IP address, you can block that particular IP address.
  2. Salesforce has a help guide on how to restrict login IP addresses located here: https://help.salesforce.com/s/articleView?id=platform.login_ip_ranges.htm&type=5.

Option 2

  1. Create a validation rule to block the creation of a record. In the following example, all registrants from the bot had either a number or a Chinese character in the first name.
  2. Complete this Trailhead on how to create validation rules: https://trailhead.salesforce.com/content/learn/modules/point_click_business_logic/validation_rules.

Here is another example. First Name contains a number or a Chinese character. First name validation rule:

  • OR (CONTAINS(FirstName, “0”)
  • CONTAINS(FirstName, “1”)
  • CONTAINS(FirstName, “2”)
  • CONTAINS(FirstName, “3”)
  • CONTAINS(FirstName, “4”)
  • CONTAINS(FirstName, “5”)
  • CONTAINS(FirstName, “6”)
  • CONTAINS(FirstName, “7”)
  • CONTAINS(FirstName, “8”)
  • CONTAINS(FirstName, “9”)
  • CONTAINS(FirstName, “娱”)
  • CONTAINS(FirstName, “乐”)
  • CONTAINS(FirstName, “送”)
  • CONTAINS(FirstName, “存”)
  • CONTAINS(FirstName, “水”)