idp-workflow

Automate document processing with extraction, classification, comparison, and human review.

9|5|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/lordlinus/idp-workflow --skill idp-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: idp-workflow
Source: https://github.com/lordlinus/idp-workflow/tree/main
Command: npx skills add https://github.com/lordlinus/idp-workflow --skill idp-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires azure-functions, azure-identity, azure-ai-documentintelligence, dspy, pydantic, azure-storage-blob, requests, pydantic-settings, azure-monitor-opentelemetry, opentelemetry-api, opentelemetry-sdk, opentelemetry-exporter-otlp, opentelemetry-instrumentation-logging, pymupdf, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the end-to-end processing of documents, from upload to structured output, with AI-driven extraction and human oversight.

Core Features & Use Cases

  • Multi-Step Pipeline: Extract, classify, extract data, compare, review, and reason about document content.
  • AI-Driven Extraction: Use Azure Document Intelligence and DSPy LLMs for high accuracy.
  • Human Review: Human-in-the-loop validation with side-by-side comparison for dispute resolution.
  • Use Case: Process a loan application by extracting information, classifying the document, comparing against rules, and using AI to validate the information, all with human oversight.

Quick Start

Start a new workflow with the 'idp-workflow' skill and upload your document 'loan-application.pdf'.

Frequently Asked Questions about idp-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PDF document processing with human-in-the-loop validation?

Automating PDF document processing with human-in-the-loop validation requires a multi-step pipeline that extracts, classifies, and compares data before human review. This Skill orchestrates Azure Document Intelligence and DSPy LLMs for dual extraction, enabling side-by-side comparison for dispute resolution.

What's the best way to extract structured data from loan applications using AI?

Extracting structured data from loan applications using AI involves classifying the document and applying dual AI extraction. This Skill orchestrates Azure Document Intelligence and DSPy to compare extracted information against rules and uses AI reasoning to validate data with human oversight.

Do I need Azure OpenAI and DSPy to build a document intelligence workflow?

Yes, you need Azure OpenAI and DSPy to build this document intelligence workflow. The pipeline requires Azure Document Intelligence for initial PDF extraction, DSPy for LLM reasoning, Azure Durable Functions for orchestration, and Azure Storage Blob for data handling.

How does dual AI extraction improve document data accuracy?

Dual AI extraction improves document data accuracy by independently capturing information and comparing the results. This pipeline uses Azure Document Intelligence alongside DSPy LLMs, triggering human review for side-by-side validation and dispute resolution when discrepancies occur.

Can I use Azure Durable Functions for multi-step document classification and extraction?

Yes, you can use Azure Durable Functions for multi-step document classification and extraction. This Skill leverages Durable Functions to orchestrate the end-to-end workflow, managing the sequence from PDF upload and classification to dual AI extraction, comparison, and reasoning.

When should I add human review to an automated document processing pipeline?

You should add human review to an automated document processing pipeline when resolving disputes between dual AI extraction results or validating high-stakes data like loan applications. This Skill provides side-by-side comparison capabilities within the workflow for human-in-the-loop oversight.