Understand ANY Document with Mistral OCR in n8n (Step-by-Step)



AI Summary

Setting Up Mystal OCR’s API in Nadn

  1. Introduction to Mystal OCR
    • Mystal OCR: Document understanding API.
    • Shows impressive results for various documents including tables, math equations, and multi-language support (e.g., Hindi).
    • Users can connect Mystal OCR to Nadn for free.
  2. Demo Overview
    • Demonstrates three steps: form submission, uploading to Mystal, and retrieving OCR results.
    • Users upload an invoice and receive OCR results in markdown format.
  3. Setting Up Mystal OCR
    • Visit Mystal OCR homepage and sign up for an account.
    • Select the free experiment plan to access your API key.
    • Create a new API key and keep it safe.
  4. Nadn Configuration
    • Create a form trigger for uploading documents (e.g., invoices).
    • Set up an HTTP request to upload the binary file to Mystal using curl commands from documentation.
  5. Uploading and Getting Results
    • Upload the PDF file to Mystal.
    • Get a signed URL for the uploaded file.
    • Request OCR results by passing the signed URL to Mystal’s OCR API.
  6. Final Integration
    • Data can be extracted for use in applications like Google Sheets or email.
    • Insights on setting up an AI model for data extraction from markdown format results.
  7. Conclusion
    • Video includes options for downloading workflow configurations from the free community.
    • Additional resources and support available in the community.
    • Encouragement to explore more advanced API capabilities in the community calls.