6 min read
A label records what you decided about a user: in good standing, offboarded for fraud, or offboarded for another reason. Label every user you offboard for fraud, and those users become a blocklist your playbooks check each new user against. By the end of this guide, your playbook fails or reviews any new user who shares an SSN, email, phone number, identity document, or device with a user you labeled as fraud.
How labels work
A user or business carries at most one label at a time, and setting a new one replaces the old one.
| Label | API value | Use it for |
|---|---|---|
| Offboard (Fraud) | offboard_fraud | A user you offboarded for fraud |
| Offboard (Other) | offboard_other | A user you offboarded for any other reason, such as credit losses or a terms of service violation |
| Active | active | A user in good standing |
When an onboarding reaches a Rules node, Footprint looks for other users at your organization who carry a label and share data with the user being onboarded. Rules read the result as connection_to.labeled_fraud, connection_to.labeled_offboard_other, and connection_to.labeled_active. Each holds one true or false per kind of data, such as connection_to.labeled_fraud.ssn9.
- The lookup runs when the rule runs. A label affects every onboarding that reaches a Rules node after you set it, and never revisits a decision already made.
- The lookup stays inside your organization and environment. Labels in sandbox match only sandbox users, and labels set by other Footprint customers never match yours.
- The lookup reads the labeled user's current vault data. It needs no completed onboarding, and a value you overwrite in their vault stops matching.
Before you start
- A dashboard role with the Label and tag entities permission, or an API key whose role has it.
- A playbook with a Rules node after the steps that collect the data you want to match.
1. Label users when you offboard them
Label a user in the same step that offboards them for fraud, so the blocklist never lags behind your decisions. A fraudster who returns the next day is caught only if the label is already there.
In the dashboard, label a user in either place:
- On the user's page, click Add fraud label next to their status and choose Offboard (Fraud).
- When you mark a review as Fail, choose Offboard (Fraud) under Add label (optional) in the Review dialog.
When your own system offboards a user, label them from your backend with POST /users/{fp_id}/label:
bash1curl -X POST https://api.onefootprint.com/users/fp_id_K0q6Eh6Rr3WOOfFBLPiHsr/label \
2 -u <SECRET_API_KEY>: \
3 -d '{"kind": "offboard_fraud"}'
Send {"kind": null} to remove a label set by mistake.
2. Add rules that read the connection
Open the playbook in the Playbook builder and select the Rules node that decides the onboarding. Some playbook templates include these rules already, so look for connection_to in the node before adding them.
Add one rule per kind of data, in the group whose value fails or reviews the user:
Rule1connection_to.labeled_fraud.ssn9
With one key per rule, the onboarding's rule results show which data matched. The keys, with the action Footprint's default rules take on each:
| Key | True when the user shares a labeled user's | Default action |
|---|---|---|
ssn9 | Full SSN | Fail |
email | Email address | Fail |
phone_number | Phone number | Fail |
identity_document_number | Identity document number | Fail |
name_dob | Full name and date of birth | Manual review |
name_ssn4 | Full name and last 4 digits of SSN | Manual review |
dob_ssn4 | Date of birth and last 4 digits of SSN | Manual review |
device_id | Device, seen in the Footprint flow | Manual review |
cookie_id | Browser cookie, seen in the Footprint flow | Manual review |
name | First and last name | Not used |
A shared SSN, email, phone number, or document number is strong evidence of the same person, so the default rules fail it. Honest users do share a name and date of birth, or a household computer, so the default rules send those to review. name alone matches everyone with a common name; use it only together with another key.
The Playbook builder flags a key for data the playbook doesn't collect before the Rules node, because that rule could only match data vaulted some other way.
The connection check skips the user's own data, so it misses a fraudster who returns and verifies the same phone number, which signs them back into the same Footprint vault. Add a rule on risk_signal.user_is_labeled_fraud to catch them: it is true when the user being onboarded is the labeled user.
To act on users you offboarded for other reasons too, repeat the rules with connection_to.labeled_offboard_other. Then publish the playbook.
3. Test the rule against a labeled user
Test in sandbox. Labels there match only sandbox users, so the test leaves your production blocklist untouched.
- Switch the dashboard to Sandbox and open the playbook.
- Click Test playbook, choose New user, and fill in the vault data your playbook needs, with a made-up
id.ssn9that no other sandbox user has. Click Continue. - Click View user and label the user Offboard (Fraud).
- Back in the test panel, click Edit, change the name and email but keep the same
id.ssn9, and click Create new user. - Set Sandbox outcome to Evaluate rules and click Run test.
Verify it works
Click View onboarding under the run's results. The onboarding's rule results list connection_to.labeled_fraud.ssn9 as triggered, and the decision follows the group that holds the rule. Create one more user with a different id.ssn9 and run it: that rule doesn't trigger.
In production, the same rule results on a flagged user's onboarding name the data they share with a labeled user.
Find patterns across labeled users
These rules catch a new user who reuses data from a user you already labeled. We're building some cool features that go a step further: they find what the users you label as fraud have in common, so you can stop similar users from onboarding in the first place. Every user you label today gives them more to learn from.
Next steps
Playbook rules covers rule groups and CEL syntax for combining these keys with other risk signals. To route flagged users to your reviewers, see Integration with playbooks.