Academy · Build · Lesson 3 of 47
Build Your First Verification Flow
Build a complete verification workflow from scratch without writing a line of code: pick your checks, set the decision rules, watch the price update as you go, and publish it live.
Chapters
What's covered
Jump straight to the part you need.
0:00What a workflow isWatch from 0:000:38The workflow list and workflow IDsWatch from 0:381:40Simple vs graph workflowsWatch from 1:402:04A graph workflow with branchingWatch from 2:042:50Creating a new workflow from a templateWatch from 2:503:47Picking a check on each nodeWatch from 3:474:32Inside the ID Verification nodeWatch from 4:325:15Liveness modes and what each costsWatch from 5:155:54Rules: thresholds, duplicate faces, multiple facesWatch from 5:546:55Advanced settings and quality thresholdsWatch from 6:557:47Return data and GDPRWatch from 7:477:59How workflow pricing adds upWatch from 7:599:04Database validation against government registriesWatch from 9:0410:35AML branching and conditional logicWatch from 10:3511:39The webhook nodeWatch from 11:3912:27Graph validation and errorsWatch from 12:2712:56Workflow settings: retries, expiry, callback URLWatch from 12:5613:43White-labelling the flowWatch from 13:4314:57The shareable link, and when not to use itWatch from 14:5715:41Version history and rollbackWatch from 15:4116:24Publishing your workflowWatch from 16:2416:36Integrating: SDK, API key and the setup promptWatch from 16:3617:26Building workflows with the MCP serverWatch from 17:26What you'll learn
What you'll learn
The points you will be able to act on after this lesson.
- How to assemble a flow from individual checks, visually, with no code
- How to set approve, review and decline thresholds on every module
- How workflow pricing works: you only pay for the steps that actually run
- How to publish, version and roll back a workflow without changing your code
A free Didit account. Signing up takes about a minute.
Read the full summary
A workflow is a recipe for a verification. Which checks run, in what order, under what rules. It is built visually in the console, so changing your verification logic does not require an engineer or a deploy.
Simple versus graph. A simple flow is a straight run of checks and covers most cases. A graph flow adds branching, so the path depends on a risk score, a match result, or data returned from your own systems.
Templates for common programmes. Ready-made recipes cover age gates, biometric authentication, insurance, healthcare and high-risk-country Know Your Business (KYB), each showing its cost before you commit.
Every node is a dropdown. Swapping ID verification for a registry check, or adding Anti-Money-Laundering (AML) screening, is a single click. Every check Didit offers for KYC and KYB is available on any node.
ID verification does far more than read text. It proves the document is genuine (security features, tampering, fonts and layout), then extracts every field by optical character recognition across 14,000+ supported document types.
Liveness is configurable per node. Passive costs $0.10 per check, and the flashing and 3D action variants cost $0.15. Passive, ID verification and face match are all paid from your free monthly credit before your top-ups.
Rules decide what a score means. Set the liveness score below which a session goes to review or is declined, choose what happens when a face matches a previously approved session, and define the action when multiple faces appear in one image.
Advanced settings and returned data. Face privacy mode, maximum liveness attempts, face-quality and luminance thresholds, plus a return-data tab that lets you exclude specific data points from the result for data-protection reasons.
Database validation against government registries. Cross-checks the person against official sources per country and enriches the record with fields the registry holds. Each source lists its own price, and it is callable directly from your backend.
Branching on risk. A high AML score can decline outright, a middling one can route to a branch that asks for proof of address, and everything else passes. Conditions are edited visually and validated as you build.
A webhook node calls your systems mid-flow. Post a payload to your endpoint, wait for the response, and the fields that come back become variables the next branch can test: your risk data and Didit's checks in one flow.
Price updates as you build. Each node shows its own cost and the header shows a range: the low end is someone who stops after the first check, the high end a full completion. You pay only for steps that run.
Publishing is gated on a valid graph. A broken path or a misconfigured node blocks publication and the console points at the exact problem. Edits sit as a draft until you publish.
Versions roll back, IDs never change. Every published version is kept and restorable, and the workflow ID stays constant, so your backend keeps calling one ID and silently gets the newest version.
Three ways to ship it. Copy a hosted link for tests and events, generate a setup prompt for an AI coding tool with your workflow and key already filled in, or describe the flow to the MCP server and have it built and integrated for you.
Inside this lesson
- The workflow list. A workflow is a recipe for a verification: which checks to run, in what order, under what rules. The list shows the type, the checks inside each one, and a price range. Every workflow keeps a stable ID, so publishing a new version never means changing your code.
- Simple and graph workflows. A simple flow is a straight run of checks with no branching, and it covers most cases. A graph flow adds conditional logic: branch on a risk score, ask a higher-risk applicant for more evidence, or call your own systems partway through.
- Starting from a template. Rather than building from an empty canvas, you can start from a ready-made recipe, age gates, biometric authentication, insurance, healthcare, high-risk-country Know Your Business (KYB), each with its cost shown up front. Every node is a dropdown, so swapping a check is a single click.
- Configuring a check. Each module carries its own settings, rules and returned data. On liveness you pick the method, set the score below which a session goes to review or is declined, decide what happens on a duplicate face, and choose how to handle multiple faces in one image.
- Database validation. One of the strongest checks needs no camera at all. Database validation cross-checks the person against official government registries and enriches the record with fields the registry holds. You choose which countries and sources to run, and each one shows its own price.
- Branching on risk. Conditions turn a flow into a decision tree. A high Anti-Money-Laundering (AML) risk score can decline outright, a middling one can route to a branch that asks for proof of address, and everything else can pass straight through. The graph is validated as you build, so a broken path cannot be published.
- Calling your own systems. A webhook node lets the flow reach out mid-verification, post a payload to your endpoint and wait for the answer. Fields that come back become variables the next branch can test, so your own risk data sits alongside Didit's checks in a single flow.
- Watching the price as you build. Every node shows its own price and the header shows a range for the whole flow. The low end is someone who stops after the first check; the high end is a full completion. You are only charged for the steps that actually run.
- Publishing and version history. Edits sit as a draft until you publish, and publishing validates the whole graph first. Every version is kept, so you can roll back at any time, and because the workflow ID never changes, your backend keeps calling the same ID and quietly gets the newest version.
Up next
Up next
Keep going in order, or jump back to the library.
Questions
Common questions
Can I build a verification flow without writing code?
What is the difference between a simple and a graph workflow?
How much does a verification workflow cost?
Can I check someone against a government registry?
Do I have to change my code when I update a workflow?
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy