What is a Workflow?

Learn how to design and configure the step-by-step logic that powers every RiskOS™ evaluation, from input collection to final decision.

A workflow is a configurable sequence of steps that automates decision-making in RiskOS™. When an evaluation is triggered, RiskOS™ executes the specified workflow — processing data through input collection, enrichment calls, conditional logic, and rules — to reach a final decision.

You build workflows visually in the RiskOS™ Dashboard using the Workflow Editor.


Workflow categories

RiskOS™ supports two workflow delivery models. Both use the same evaluation runtime, enrichment pipeline, and decision model.

AspectCustom workflowHosted Flow
DefinitionBuilt and managed by the customer in the Workflow EditorPreconfigured workflow with a Socure-managed end-user UI
ConfigurationCustomer selects steps, enrichments, rules, and decision logicSocure provides an opinionated, pre-built flow
End-user UICustomer-built (API + SDK)Socure-hosted (web-based)
Lifecycle managementCustomer manages (Draft → Published → Live)Socure manages the workflow; customer customizes branding
ExtensibilityFull — any step type, any enrichment, any ruleLimited — template customization and branding

Both categories produce evaluations, return decisions, and follow the same lifecycle states. Evaluations that route to manual review create cases in Case Management. The distinction is operational — ownership and configuration model — not architectural.

For the full Hosted Flow ontology, see Hosted Flows.


What a workflow does

A workflow defines:

  1. What data to accept — The Input step specifies required fields in the evaluation payload.
  2. What data services to call — Enrichment steps call Socure products or third-party APIs for additional signals.
  3. How to evaluate the data — Condition steps, Rule Scorecards, and Transformation steps apply logic to route and score data.
  4. What decision to return — A Decision step or Manual Review step terminates the workflow with an outcome.

Step types

Every workflow consists of steps. Each step has a single purpose:

StepCategoryPurposeAsync capable
InputDataDefines the evaluation payload schemaNo
EnrichmentDataCalls a data service to add external signalsNo
TransformationLogicManipulates data with stateless functionsNo
ConditionLogicBranches the workflow based on boolean evaluationNo
Advanced ConditionLogicMulti-group conditional logic with nested groupsNo
TagLogicAttaches metadata labels to the evaluationNo
Reason CodeLogicAttaches explanatory codes to the evaluation outcomeNo
Rule ScorecardLogicAssigns risk scores based on rule evaluationsNo
Matrix RuleLogicEvaluates a tabular set of rulesNo
Grouped RulesLogicEvaluates collections of related rules togetherNo
Decision RulesDecisionCombines condition + decision in a single step with fallbackNo
DecisionDecisionAssigns a final evaluation outcome (ACCEPT, REJECT, REVIEW)No
Manual ReviewDecisionRoutes the evaluation to a human reviewer in Case ManagementNo
WaitPausePauses execution until an external API call resumes itYes
OTPPauseSends a one-time passcode and pauses until the user verifiesYes
Hosted FlowPauseTriggers a Socure-hosted end-user experienceYes
NoteDocumentationAdds inline documentation to the workflow canvasNo

For step-level configuration and field definitions, see Workflow Steps Reference.


Workflow lifecycle

Workflows move through three states:

StateDescriptionCan be editedProcesses evaluations
DraftInitial state after creation. Can be edited and tested.YesNo
PublishedFrozen configuration. Can be tested but not edited directly.NoNo
LiveActively processes evaluations via the Evaluation API.NoYes

A workflow must be Published before it can be set to Live. Only one version of a workflow can be Live at a time.

Versioning

  • Major version: Duplicate a published workflow to create a new independent version.
  • Minor version: Edit a published workflow to create a patch (available only for certain changes).

For lifecycle management details, see Manage Workflow Lifecycle.


Workflow modes

ModeDescription
LiveProcesses production evaluations and returns real decisions
ShadowProcesses evaluations in parallel without affecting the live decision (for testing)
A/B (Champion-Challenger)Splits traffic between two workflow versions to compare performance

Terminal steps

Every workflow must end with one of:

  • A Decision step — assigns an automated outcome
  • A Manual Review step — routes to a human reviewer

A workflow without a terminal step can't be published.


Related concepts