Build Dynamic KYC Workflows with Didit and Temporal.io
Discover how Didit's Workflow API, combined with Temporal.io, empowers businesses to construct robust, dynamic, and resilient KYC workflow engines.

Orchestrate Complex KYCIntegrating Didit's Workflow API with Temporal.io allows for the orchestration of intricate, multi-step KYC processes, ensuring fault tolerance and scalability for identity verification journeys.
Leverage No-Code and API FlexibilityDidit offers both a no-code visual workflow builder for rapid deployment and a powerful API for programmatic control, enabling businesses to define and update KYC logic dynamically to meet evolving compliance needs.
Achieve Resilient State ManagementTemporal.io provides durable execution and state persistence, crucial for long-running KYC workflows that involve external interactions like manual reviews or customer callbacks, ensuring no process is lost or restarted.
Didit's AI-Native AdvantageDidit's platform, with its AI-native architecture, modular design, and Free Core KYC, provides the essential building blocks—from ID Verification and Liveness to AML Screening—to power these advanced, dynamic verification systems.
The Challenge of Dynamic KYC Workflows
In today's digital landscape, robust Know Your Customer (KYC) processes are non-negotiable for businesses across various sectors, from finance and fintech to gaming and e-commerce. However, building and maintaining these workflows presents significant challenges. KYC is rarely a static, one-and-done process. It often involves multiple steps, external data fetches, conditional logic based on risk profiles, and potential manual reviews. Furthermore, regulatory requirements evolve, demanding flexibility and rapid adaptation from your identity verification infrastructure.
Traditional approaches often lead to brittle, hard-coded workflows that are difficult to update, prone to failure, and lack the necessary resilience for long-running processes. When a user starts a KYC journey, the system must maintain its state across potentially hours or even days, handle retries, and integrate various identity checks seamlessly. This is where the power of a dynamic workflow engine, particularly when combining Didit's cutting-edge identity verification capabilities with a robust orchestration platform like Temporal.io, becomes evident.
Introducing Didit's Workflow API for Ultimate Flexibility
Didit, as the AI-native, developer-first identity platform, provides an open and modular approach to identity verification. While our no-code Business Console allows for rapid workflow creation using a visual builder and pre-built templates, our Workflow API unlocks unparalleled programmatic control. This API enables you to define, create, update, and manage verification workflows directly, integrating them deeply into your application logic. You can specify which features are enabled, such as ID Verification (OCR, MRZ, barcodes), Passive & Active Liveness, 1:1 Face Match, and AML Screening & Monitoring, along with their precise configurations and thresholds.
For instance, using the API, you can programmatically create a workflow for a specific customer segment that requires NFC Verification for ePassports, a higher liveness score threshold for high-risk transactions, and an immediate AML check. If regulations change, you can use the PATCH endpoint to update specific fields of an existing workflow, adjusting thresholds or enabling new features like Proof of Address verification, without disrupting in-progress verifications.
Why Temporal.io is a Game-Changer for KYC Orchestration
Temporal.io is a powerful, open-source platform for building and operating fault-tolerant distributed applications. It excels at orchestrating complex, long-running processes, making it an ideal partner for dynamic KYC workflows. Here's why:
- Durable Execution: Temporal Workflows are durable. If your application or a service it depends on crashes, the workflow state is preserved, and execution resumes exactly where it left off once the system recovers. This is critical for KYC, where a user might pause their journey or an external service might be temporarily unavailable.
- State Management: Temporal automatically manages the state of your workflows. You don't need to build complex state machines or database persistence logic. This simplifies development and reduces the risk of errors.
- Retries and Timeouts: Temporal provides built-in mechanisms for automatic retries with exponential backoff and configurable timeouts, ensuring that transient failures in external API calls (like to Didit's services) are handled gracefully.
- Scalability: Temporal is designed for scale, allowing you to run millions of concurrent workflows without sacrificing reliability.
- Complex Logic: You can write complex, multi-step business logic directly in code (e.g., Go, Java, TypeScript, Python), making it easy to implement conditional branching, loops, and human-in-the-loop activities within your KYC process.
Building a Resilient KYC Workflow Engine: Didit + Temporal.io
Imagine a scenario where a user signs up for a new financial service. Your KYC process might look like this:
- Initiate Verification: Your application calls Didit's API to create a new verification session using a dynamically chosen workflow ID.
- Document Upload & Liveness: The user uploads their ID document and completes a liveness check using Didit's ID Verification and Passive Liveness.
- Data Extraction & Face Match: Didit automatically extracts data via OCR and performs a 1:1 Face Match between the selfie and the ID photo.
- AML Screening: Based on the extracted data, your Temporal Workflow triggers an AML Screening & Monitoring check via Didit's API.
- Conditional Logic: If the AML check returns a high-risk score, the Temporal Workflow might pause and trigger a manual review activity, notifying an internal team. If the user is under a certain age (determined by Didit's Age Estimation), the workflow might branch to an age-restricted flow or decline the application.
- Proof of Address: For certain risk profiles, the workflow might then request Proof of Address, again leveraging Didit's capabilities.
- Decision & Onboarding: Once all steps are complete and thresholds are met, the Temporal Workflow makes a final decision and triggers the user's onboarding into your service.
Throughout this journey, Temporal.io ensures that even if your backend service restarts or an external API call times out, the user's KYC session state is preserved, and the workflow resumes seamlessly. You can define custom retry policies, handle compensation logic, and even implement long-running human activities, all within a robust and observable framework.
How Didit Helps
Didit is purpose-built to be the modular, AI-native identity layer that powers these advanced workflow engines. Our platform provides the granular, high-quality identity primitives you need, accessible via clean APIs or managed through our intuitive Business Console:
- Modular Architecture: Didit offers plug-and-play identity checks. You can combine ID Verification, Passive & Active Liveness, 1:1 Face Match, AML Screening & Monitoring, Proof of Address, Age Estimation, and Phone & Email Verification as needed, defining complex workflows with ease.
- Free Core KYC & Flexible Pricing: Start verifying identities for free with Didit's Free Core KYC. Our pay-per-successful-check model ensures you only pay for what you use, with no setup fees.
- AI-Native Accuracy: Leveraging cutting-edge AI, Didit delivers superior accuracy in document parsing, liveness detection, and facial biometrics, reducing fraud and improving conversion rates.
- Orchestrated Workflows: Whether you use our no-code visual builder or programmatically define workflows via API, Didit provides the tools to orchestrate complex identity journeys, handling state management and conditional steps within the verification process itself.
- Developer-First: With an instant sandbox, comprehensive public documentation, and clean APIs, developers can integrate Didit quickly and efficiently, minimizing time-to-market for new KYC requirements.
By integrating Didit's powerful Workflow API with Temporal.io, businesses can build highly resilient, adaptable, and compliant KYC workflow engines that automate trust globally and at scale, improving both operational efficiency and user experience.
Ready to Get Started?
Ready to see Didit in action? Get a free demo today.
Start verifying identities for free with Didit's free tier.