🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Mindee Premium Add-on Setup Guide

Updated 5 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What the Gravity Forms Mindee add-on does
  3. What you need
  4. Connect your Mindee account
  5. Add a feed to your form
  6. What happens on submission
  7. Safe by design
  8. Privacy

Video walkthrough

Gravity Forms Mindee Add-On Setup Guide: Invoice & Receipt OCR (WordPress Side)
Video setup guide: Gravity Forms Mindee Watch on YouTube

What the Gravity Forms Mindee add-on does

The Gravity Forms Mindee Premium Add-on turns a file uploaded through one of your forms into structured data. When a form is submitted, the add-on takes the document from a file-upload field, sends it to the Mindee document-AI API using your own Mindee account and model, and reads back the fields the model extracts — a customer name, an invoice number, a total, a date, line items, ID fields, or whatever your model is trained to read. You choose which of those fields to keep, and each one is stored with the entry and made available as a merge tag you can use in notifications, confirmations and other add-ons.

It is built for anyone who collects documents through a form and is tired of re-typing what is on them: an accounts team taking supplier invoices, a lettings agent collecting IDs, a claims desk reading receipts, an operations team capturing delivery notes. Instead of a human opening each upload and copying the numbers across, the form does it on submission.

The add-on only ever contacts the Mindee API, and the uploaded file is sent only to your Mindee account for that one call — it is never stored or forwarded anywhere else by the add-on. Your Mindee API key is encrypted before it is stored on your site and is never shown again.

What you need

You need a Mindee account and an API that you have set up there. Mindee offers off-the-shelf models (for example invoices, receipts, international IDs, bank checks and more) and a custom API builder where you train a model on your own document type. Either works. A free tier and test calls are available for trying it out; higher volumes need a paid Mindee plan, which you manage in your own Mindee account. The document types you can read are exactly the ones your chosen Mindee model supports, so pick the model that matches the files your form collects.

From the Mindee dashboard you will need three things that identify your model: the account (organization) name, the model name, and the version number. For an off-the-shelf model the account is usually mindee; for a custom API-builder model it is your own account name. You will also need the API key for that API, a 32-character token.

Connect your Mindee account

Install and activate the add-on, then go to Forms → Settings → Mindee and activate your license key. Once the license is active, the Mindee connection fields appear: paste your API key, enter the account name, the model name and the version, and save. The key is stored encrypted; after saving it is never shown in clear again. Use the Test connection button to confirm the key reaches your account and model — no document is sent during the test.

The Mindee settings page in Gravity Forms: license key, API key, account, model and version, and a Test connection button
The Mindee connection settings, with the API key stored encrypted.

If you would rather not store the key in the database at all, you can define it as the GFMND_API_KEY constant in wp-config.php. When that constant is set, the add-on uses it instead of the stored value and the settings screen says so.

Add a feed to your form

Open the form that collects the document and go to Settings → Mindee, then add a feed. A feed has three parts. First, choose the file-upload field whose document is sent to Mindee. Second, choose the processing mode: synchronous, where the model answers in a single request, or asynchronous, where the model queues the document and the add-on polls the job until it finishes (use this for the models Mindee runs asynchronously). Third, build the field map.

The Mindee feed in Gravity Forms: the file-upload field, the processing mode and the field map
A feed maps the Mindee field paths you care about to names you choose.

In the field map, each row has a Mindee field path and a merge-tag name. The path is the name of a field in the model’s result, for example customer_name, total_amount or invoice_number. You can reach into nested values and list items with a dotted path, for example line_items.0.description for the description of the first line item. The name is what you want to call the value: give a path the name total and its extracted value becomes {mindee_field_total}. Leave a row empty to skip it. You can also add a condition so the feed only runs when a rule on the form is met.

What happens on submission

When the form is submitted and the feed condition is met, the add-on reads the uploaded file from the server, sends it to your Mindee model in one request with your key in the Authorization header, and waits for the result (polling the job first, if the feed is asynchronous). It then extracts each mapped field, stores the value with the entry, and records the document id. A note on the entry records what was processed and the fields that were read, so you always have an audit trail.

A front-end Gravity Form with a file-upload field that is read by Mindee on submission
The visitor simply uploads a document; the extraction happens behind the confirmation.

The mapped values are available as merge tags — {mindee_field_customer}, {mindee_field_total} and so on, plus {mindee_document} for the document id — so your admin notification, a customer confirmation, or a downstream add-on can use the extracted data straight away. The visitor only ever sees your confirmation message; none of the Mindee details are shown to them.

A Gravity Forms entry screen showing the Mindee note with the processed document id and the extracted fields
The entry keeps the document id, the extracted values and a note of what happened.

Safe by design

The add-on is safe to retry. A document is processed once per entry: a resend or a repeated feed run never sends the same document to Mindee twice, because a done marker and a short per-entry lock are kept with the entry. If Mindee returns an error — an invalid key, a rate limit, a document it cannot read, a timeout — the submission is still saved and a clear note explains what went wrong, without ever including your API key. The add-on talks only to the Mindee API over HTTPS, never follows a redirect to another host, and keeps your key out of the URL, the request body, the entry and the logs.

Privacy

The uploaded file is sent only to your own Mindee account, for the single extraction call, and is not stored or forwarded anywhere else by the add-on. What Mindee does with the document afterwards is governed by your Mindee account and plan. The extracted values that you map are kept with the Gravity Forms entry on your own site. Uninstalling the add-on removes its options, including the encrypted key; documents already processed in your Mindee account are left as they are.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr