One setup, many runs
Once a team locks in the right instructions, model, schema, and review settings, every future upload can follow the same playbook.
For invoices, claims, IDs, intake forms, and operations documents, teams eventually stop tuning every upload by hand. LeapOCR templates let you save the full playbook in one place, including model, format, description, instructions, schema, tags, review settings, and a reusable slug.
Keep recurring document workflows consistent across teams and services.
This is the real template shape inside LeapOCR: basics, instructions, schema, tags, color, favorite state, enabled state, bounding-box behavior, slug, and usage context.
Template builder
Save parsing rules once, reuse them everywhere
Why it works
The value is not that a template exists. The value is that the winning extraction setup stops living in one developer's request body and becomes a shared product asset.
Once a team locks in the right instructions, model, schema, and review settings, every future upload can follow the same playbook.
The actual product surface includes name, description, model, format, instructions, schema, tags, color, favorite, enabled, and bounding boxes, plus slug and usage context in the detail view.
Templates support the two result modes teams actually use: readable markdown for handoff and schema-fit structured output for downstream systems.
What you control
These are the controls teams actually touch in the builder and in the template detail view when they standardize a document workflow.
Name the workflow the way your team will search for it later: invoice intake, packing slip intake, prior auth packet, or KYC identity review.
Use markdown when the result needs to stay readable. Use structured when another system needs fields it can trust without another parsing pass.
Teams pin the OCR model on the template so the workflow does not drift when different callers or services touch the same document class.
Instructions hold the nuance: normalization rules, ambiguity handling, table behavior, and review hints. The point is to keep those rules centralized.
For structured workflows, the schema is what turns OCR into a stable handoff. It defines the object your ERP, queue, or reviewer can rely on.
Turn this on when review tooling, overlays, or exception handling needs field coordinates. Leave it off when the workflow is pure data handoff.
Examples
The strongest use cases are the ones where a document class shows up every day and the team is tired of rebuilding the same extraction logic around it.
This is the common pattern for AP teams that want one invoice workflow reused across the dashboard, SDKs, background workers, and exception queues.
{ "name": "invoice-intake", "format": "structured", "model": "standard-v1", "instructions": "Extract invoice header fields and line items.", "schema": { "type": "object", "properties": { "vendor_name": { "type": "string" }, "invoice_number": { "type": "string" }, "line_items": { "type": "array", "items": { "type": "object" } } } }}
{ "url": "https://example.com/invoice.pdf", "file_name": "invoice.pdf", "template_slug": "invoice-intake"}
Once a template is in place, it becomes the stable handoff layer for warehouse teams, customer ops teams, and automation services touching the same document family.
{ "file_name": "packing-slip.pdf", "content_type": "application/pdf", "file_size": 482193, "template_slug": "packing-slip-intake", "extract_bounding_boxes": true}
{ "name": "packing-slip-intake", "slug": "packing-slip-intake", "format": "structured", "model": "standard-v1", "extract_bounding_boxes": true, "enabled": true, "favorite": false}
FAQ
Straight answers for teams evaluating how this workflow fits into production.
A template stores the workflow settings your team wants to reuse: name, description, model, format, instructions, schema, tags, color, favorite state, enabled state, and optional bounding-box behavior.
They reference it with `template_slug` during processing. That keeps requests small and ensures every caller uses the same extraction setup instead of carrying its own copy.
Use structured when another system needs fields, arrays, and nested objects it can trust. Use markdown when the result needs to stay readable for people, QA, or LLM handoff.
Yes. Bounding boxes can live on the template so review flows keep their field coordinates without every caller manually re-specifying that behavior.
Ready to test
Templates give recurring document work a stable center of gravity. Save the setup your team trusts, then let every upload and integration reuse it.