Unit21 Logic Provider

What is it?

The Unit21 Logic Provider can process verification data that's stored in the custom_data of an entity.

This allows customers to upload legacy verification data, or verification data from providers that are not supported by Unit21 and use this data in a Verification Workflow.

Custom data is processed periodically and different keys are then cached per org so they can be used in the Verification Workflow editor.

How do I use it?

First, your developers must update or create an entity with custom_data as documented here.

  1. The Verification Provider to select is the Unit21 Logic Provider.
1600
  1. Drag and drop the Unit21 Logic in the window:
1600
  1. Double click the Unit21 Logic:
1600

Double clicking on the Logic Provider allows the custom data provider to be selected.

Here is where you will find fields from the custom_data your developers have added to your Unit21 dashboard.

  1. Let's select twitter_verification_request in this example:
1600
  1. Next add the Reject and Accept conditions from the Select final states widget by dragging and dropping them in the window:
1600
  1. Connect the Unit21 Logic to to the Reject and Accept using your mouse:
1600
  1. Select the connector between Unit21 Logic and Accept and click on the Edit Condition button:
1600 1600
  1. De-select default case. This will bring up a prompt to create additional logic:
1600

Editing the conditions for the connector link from the logic provider will give a list of all the available keys that exist in every entity for the given logic provider (i.e custom data).

  1. In the dropdown, you can select twitter_verification_request->requester_account_type. Then create the logic requester_account_type == verified.
1600

The available data types are boolean, string and number. In this example for the twitter account type, the verification will be accepted when the requester_account_type is equal to verified.

  1. Verify and save your workflow.
1600

The Verification Workflow can be saved and used right away.

1600

Custom data and Unit21 Logic workflow examples:

Custom Data from Developers in jsonLogic Provider UIData TypeLogic Example:
{"identityMind": {"state": "A"}}Shows in the interface as indentityMind→statetext fieldindentityMind→state == A
{"onfido": {"results": {"confidence": 80}}}Shows in the interface as onfido → results → confidencenumeric fieldonfido → results → confidence >= 50
{"jumio": {"ok": true}}Shows in the interface as jumio → okboolean fieldjumio → ok != false