Custom Workflow Example
How to create a verification workflow
As the number of possible workflow combinations is very large, we will focus on a single example.
Example task
- Filters for entities who have VIP status and registration dates after
April 1st, 2021
. - Screens the remaining entities with CSI watchdog, rejecting all entities who return with the status
SANCTIONS_HIT
. - Sends the remaining entities for ID verification with Socure, and rejects entities who return with outcome
Reject
, or requests resubmission for those who return withresubmit
. - Checks the remaining entities' documents IDology, and requests resubmission for those who return with
CAPTURE_UNAPPROVED
. - Accepts remaining entities.
Example solution
- Go to Verifications > Workflows and give your workflow a name and description.
- Select your desired final outcomes and drag them to the bottom of the pane. Then add your starting process. These don't have to be the first steps, but they make the process easier to conceptualize.
- Choose the outcomes Reject, Resubmit, and Accept, and the start process as Logic Process.

You don't have to begin like this, but it makes the workflow easier to organize.
- Draw a link between LOGIC and Reject, select the link, then click Edit conditions from the list menu.
- Add two rules,
status == VIP
andregistered_at > 01.04.2021
- note: for help with the logical expressions, see the article [Using rule filters]

You can find the Edit conditions button at the top of the box on the righthand side.
- Under ID verifications, add the CSI Watchdog process. Draw a link from LOGIC to CSI Watchdog. By default, this sends all non-rejected entities to watchdog.
- Draw a link from CSI WATCHDOG to REJECT. Edit the condition, as in step (2). This time, add the rule
VERIFICATION_OUTCOME==SANCTIONS_HIT

- Drag in the Socure process. Draw a link from CSI WATCHDOG to Socure.
- Add the reject and resubmit verifications for the Socure process.

- Add the final, doc verification process, IDology. Draw a link from Socure to Idology, then add the Resubmit and Reject conditions.

- Save your workflow.
You can now use your workflow for Batch Uploads or pass its workflow_ID
to your developers and have it run every time an entity is created/updated via the APIs.
All processes must have at least one
DEFAULT
condition. This condition handles all entities that do not satisfy the predefined conditions.
Updated about 1 year ago