Skip to main content

Orchestrating Complex AML Workflows with Didit's API and Apache Airflow

Effectively managing Anti-Money Laundering (AML) compliance requires robust, automated workflows. This post explores how Didit's API, combined with Apache Airflow, empowers organizations to build scalable, resilient, and highly.

Orchestrating Complex AML Workflows with Didit's API and Apache Airflow

Contents

In this guide

Jump to the part you need.

Seamless IntegrationDidit's API provides granular control over AML screening, allowing for deep integration into existing data pipelines and business logic, crucial for complex compliance environments.

Automated OrchestrationApache Airflow enables the scheduling, monitoring, and management of multi-step AML processes, from initial screening to ongoing monitoring, ensuring timely and consistent compliance actions.

Customizable WorkflowsLeverage Didit's modular architecture and Airflow's flexibility to design bespoke AML workflows that adapt to specific risk profiles, regulatory requirements, and operational needs, avoiding one-size-fits-all limitations.

Enhanced Compliance EfficiencyDidit's AI-native AML Screening, combined with Airflow's orchestration capabilities, significantly reduces manual effort, improves accuracy, and provides a comprehensive audit trail for regulatory scrutiny.

The Challenge of Modern AML Compliance

Anti-Money Laundering (AML) compliance is a complex and ever-evolving landscape. Financial institutions, fintech companies, and other regulated entities face immense pressure to detect and prevent illicit financial activities. This involves not just initial customer screening but also ongoing monitoring, risk assessment, and reporting. Traditional AML systems can be rigid, difficult to integrate, and often require significant manual intervention, leading to inefficiencies, increased operational costs, and potential compliance gaps. The key to navigating this complexity lies in building intelligent, automated, and scalable workflows that can adapt to new threats and regulatory changes.

Leveraging Didit's AML Screening API for Robust Data

At the heart of any effective AML program is access to comprehensive and up-to-date data. Didit's AML Screening & Monitoring product provides access to over 1300 global watchlists, including sanctions lists (OFAC, UN, EU), PEPs (Politically Exposed Persons), adverse media, and criminal records. This extensive coverage is critical for identifying potential risks. Didit's API-first approach means that this rich data and powerful screening capabilities can be seamlessly integrated into your existing systems. Instead of relying on manual lookups or batch processing, you can trigger real-time AML checks as part of your customer onboarding or transaction monitoring processes. The API returns structured identity data, allowing for automated decision-making and reduced false positives. This modularity ensures that you only use the components you need, fitting perfectly into an orchestrated workflow.

Introducing Apache Airflow for Workflow Orchestration

While Didit provides the powerful AML screening engine, orchestrating the entire compliance journey—from data ingestion to decision-making and reporting—requires a robust workflow management system. This is where Apache Airflow shines. Airflow is an open-source platform used to programmatically author, schedule, and monitor workflows. Its Directed Acyclic Graph (DAG) structure allows you to define complex sequences of tasks, manage dependencies, and handle retries and failures gracefully. For AML, Airflow can:

  • Schedule Periodic Checks: Automate daily, weekly, or monthly rescreening of your customer base against updated watchlists.
  • Trigger Real-time Screening: Initiate Didit AML checks immediately upon new customer sign-ups or high-risk transactions.
  • Manage Data Pipelines: Integrate with various data sources to gather customer information, enrich profiles, and then feed this into Didit's API.
  • Handle Conditional Logic: Based on Didit's AML screening results (e.g., a match found, no match found, partial match), Airflow can trigger subsequent actions like initiating a manual review, flagging an account, or escalating to a compliance officer.
  • Monitor and Alert: Provide visibility into the status of all AML tasks, sending alerts for failures or critical events.

Building an Integrated AML Workflow with Didit and Airflow

Combining Didit's API with Apache Airflow creates a powerful synergy for AML compliance. Consider a typical customer onboarding scenario:

  1. User Onboarding Trigger: A new user signs up on your platform.
  2. Airflow DAG Initiation: An Airflow DAG is triggered, capturing the user's details.
  3. Didit ID Verification: The DAG first calls Didit's ID Verification API (including OCR, MRZ, and Passive & Active Liveness) to verify the user's identity document and ensure they are a real person.
  4. Didit AML Screening: Upon successful ID verification, the DAG then calls Didit's AML Screening API with the extracted identity data.
  5. Airflow Decision Node: Based on the AML screening results (e.g., is_flagged: true or is_flagged: false), Airflow directs the workflow.
  6. Conditional Actions:
    • If no AML flags, the user onboarding continues.
    • If a potential match is found, Airflow can automatically create a case in your case management system, notify a compliance analyst, or even trigger additional data gathering.
  7. Ongoing Monitoring: A separate Airflow DAG can be scheduled to periodically rescreen all active users against updated AML databases via Didit's API, ensuring continuous compliance.

This integrated approach allows businesses to build highly resilient, auditable, and automated compliance frameworks, minimizing human error and maximizing efficiency. Didit's modular design ensures that you can plug in the exact verification steps required, while Airflow handles the intricate dance of data flow and decision-making.

How Didit Helps

Didit provides the foundational AI-native identity and AML infrastructure that makes such complex orchestrations possible. Our Orchestrated Workflows in the Business Console allow you to visually design multi-step identity verification journeys, including AML Screening, without writing a single line of code. However, for organizations with unique requirements or existing sophisticated data pipelines like those built with Airflow, Didit's clean APIs offer unparalleled flexibility. We offer White Label capabilities to ensure a seamless brand experience, and our commitment to a developer-first approach means instant sandboxes and comprehensive documentation. With Core KYC and a pay-per-successful-check model with no setup fees, Didit makes advanced AML compliance accessible and scalable for businesses of all sizes, ensuring you can build robust, AI-powered systems without prohibitive costs.

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.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.