MARKETPLACE
PLUGINS
DOC EXTRACT PRO
Doc Extract Pro logo

Doc Extract Pro

Published November 2026
   •    Updated today

Plugin details

DOC EXTRACT PRO turns documents into structured Bubble data, with a review screen that shows where every value came from.
Upload a PDF, JPG/PNG image or DOCX, list the fields you want (or paste a JSON schema, or pick a Brazilian preset), and one server-side action returns each field with its value, a confidence score, the page it came from and the exact text it was read from. The Review element shows the document next to the fields, highlights the source of each value on the page, and lets your user correct and approve before you save to a Thing.

WHAT YOU GET
- Extract document (server-side action): schema-guided extraction with OpenAI or Anthropic vision models. Your API key stays on the server; it never reaches the browser.
- Typed results: every field returns value, value number, value date, value yes/no, confidence, page, source text, valid and needs review. Use them directly in "Create a new thing".
- Review element (pdf.js viewer): source highlights on the page's text layer, approximate boxes for scanned pages and images, inline editing with re-validation, Approve and Approve all, 13 states and 6 events.
- Read field (server-side action): read one typed value from the extraction or the reviewed JSON by name, with fallbacks (valor_total_nota, valor_documento).
- Brazilian presets: NF-e / DANFE, Contrato, RG / CNH and Boleto, with check-digit validation for CPF, CNPJ (including the 2026 alphanumeric CNPJ), NF-e access key and boleto linha digitável.
- Long PDFs: pages are split into batches that run in parallel inside a time budget, so the action stays under Bubble's plugin time limit. When a file is too long it returns "next page" so a later step continues where it stopped.

HOW IT WORKS
1. Add your OpenAI and/or Anthropic API key in the plugin settings.
2. In a workflow, run "Doc Extract Pro - Extract document" with the uploaded file and a preset or your own fields.
3. Put the result's json in the Review element's "Extraction JSON".
4. When the user approves, save the values with "Create a new thing" (use Read field or the extraction's fields list).

Try it without an API key: the live demo runs in simulation mode on fictitious sample documents (recorded answers, no AI call), and the same Simulated answer (JSON) input lets you build and test your workflows before you add a key.

Models: gpt-6.1-terra (OpenAI) and claude-opus-5-5 (Anthropic) by default; any model id can be typed in. You pay your AI provider directly for the tokens used.

WHAT'S NEW IN 1.1
- Theme: text, background, field panel and document area colors, plus border color and width (0 removes the frame).
- Typography: font family and a base font size that titles, labels and chips scale with.
- Your own texts for "Approve all", "Approve", "Check" and the empty list, and adjustable confidence bands (thresholds and colors).
- Extract document: optional "Ask OpenAI not to store" (sends store: false).
- Every new field defaults to the 1.0 look and behavior, so existing apps do not change.

Bubble is a trademark of Bubble Group, Inc. DOC EXTRACT PRO is an independent plugin.

Live Demo: https://docextractpro-demo.bubbleapps.io/version-test
Demo app editor: https://bubble.io/page?id=docextractpro-demo&tab=Design&name=index&type=page

$29

One time  •  Or  $6/mo

stars   •   0 ratings
1 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

Marcio Makoto Nakamura logo
Marcio Makoto Nakamura
Joined 2024   •   15 Plugins
View contributor profile

Instructions

SETUP 1. Plugins tab > Doc Extract Pro: paste your OpenAI API key and/or Anthropic API key. Keys are only read by the server-side actions and are never sent to the page.
2. Add a File Uploader (or use a file field from your database).

EXTRACT
Workflow action "Doc Extract Pro - Extract document":
- File: the uploaded file (PDF, JPG, PNG, WebP or DOCX, up to 30 MB). Or File URL.
- Provider: OpenAI or Anthropic (text). Model: leave empty for gpt-6.1-terra / claude-opus-5-5, or type another model id.
- Preset: NF-e / DANFE, Contrato, RG / CNH, Boleto, or empty.
- Fields: one per line, "name | type | description". Types: text, number, date, boolean, list, cpf, cnpj, cpf_cnpj, nfe_key, boleto_line.
- JSON schema: optional, an object with "properties"; each property becomes a field.
- Instructions: optional extra guidance for the model.
Results: success, error, fields (list of DXP Field), values (list of text, in field order), json, document type, file type, total pages, pages processed, next page, is complete, needs review count, elapsed ms, model used, provider used.

Each DXP Field has: name, label, type, description, value, value number, value date, value boolean, items text (lists, one per line), confidence (0-1), page, source text, bbox (0-1000 box when the model gave one), found, valid, validation, needs review, approved, edited, original value.
Example: Result of step 1's fields:filtered (name = "valor_total_nota"):first item's value number.

SIMULATION (TESTING WITHOUT A KEY)
Fill "Simulated answer (JSON)" with an answer in the model's format, for example {"document_type": "Boleto", "fields": [{"name": "valor_documento", "value": "1897.50", "confidence": 0.96, "page": 1, "source_text": "R$ 1.897,50"}]}. The action then skips the AI call (Provider shows "Simulation") and runs everything else: file download, page count, typing of numbers and dates, check-digit validation and the Review element. No tokens are used. Leave it empty in production.

LONG PDFS
Pages are sent in batches (Pages per call, default 4) that run in parallel (Parallel calls, default 4). The action stops starting new batches after the Time budget (default 25 s) to stay under Bubble's plugin time limit, and returns "next page". To continue, run the action again with Start page = next page and merge the results. Start page and End page also let you read only part of a file.

REVIEW
Element "Doc Extract Pro - Review":
- Document: the same file. Extraction JSON: the action's json (store it in a custom state or a Thing first).
- Language (English / Português), Layout (Automatic / Side by side / Stacked), Show document, Allow editing, Show approve buttons, Accent color, Highlight color, Corner radius, Max pages shown.
States: reviewed json, approved, approved count, field count, edited count, needs review count, values (list), field names (list), selected field, selected value, page count, is ready, error.
Events: document loaded, field selected, value edited, field approved, all fields approved, error.
Actions: Approve all, Approve field, Set field value, Select field, Reset review.
Highlights: the element looks for each field's source text in the PDF text layer and highlights it. For scanned pages and images, where there is no text layer, it draws the model's approximate box (dashed) when one was returned.

STYLE (1.1)
All of these are optional on the Review element; empty or default values keep the 1.0 look.
- Theme: Text color, Background color (also buttons and inputs), Field panel color, Document area color, Border color, Border width (px; 0 removes the frame and dividers, buttons and inputs keep 1 px).
- Typography: Font family (a font already loaded on the page, e.g. Inter; empty = page font), Base font size (px, 8 to 32; field values use it and titles, labels and chips scale with it).
- Texts: "Approve all", "Approve", "Check" and Empty list text replace the Language defaults.
- Confidence: High confidence from (default 0.85), Medium confidence from (default 0.6), and High, Medium and Low colors for the chips.

SAVE TO THINGS
Use "Doc Extract Pro - Read field" with JSON = the Review element's reviewed json and Field names = the field (comma-separated fallbacks allowed). It returns value, value number, value date, value yes/no, confidence, page, source text, approved, edited, valid. Then "Create a new thing" with those values.

PRIVACY
Files are downloaded by the server-side action and sent to the AI provider you chose. Check your provider's data policy before processing personal data. With OpenAI, tick "Ask OpenAI not to store" on Extract document to send store: false, so OpenAI does not keep the response as application state (by default it keeps it for 30 days).

Demo app editor: https://bubble.io/page?id=docextractpro-demo&tab=Design&name=index&type=page

Types

This plugin can be found under the following types:
Api   •   Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
PDF   •   AI   •   Data (things)   •   Productivity   •   Small Business   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble