Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Convert Bank Statement PDFs to Markdown with Vision AI

When you run it, it splits a bank statement PDF into images and has Gemini and Claude vision models convert each page to markdown.

What it does

## 3. Convert PDF Pages to Markdown Using Vision Model Learn more about using the Basic LLM node "transcribe" what they see so while we shouldn't expect an exact replication of a document, they may perform better making sense of complex document layouts ie. such as with horizontally stacked tables. In this demonstration, we can transcribe our bank statement scans to markdown text for the purpose of further processing. With markdown, we can retain tables or columnar data found in the document. We'll employ two optimisations however as a workaround for token and timeout limits (1) we'll only transcribe one page at a time and (2) we'll shrink the pages just a little just enough to speed up processing but not enough to reduce our required resolution.

The steps

  1. When clicking ‘Test workflow’
  2. Google Gemini Chat Model
  3. Sort Pages
  4. Get Bank Statement
  5. Split PDF into Images
  6. Extract Zip File
  7. Images To List
  8. Resize Images For AI
  9. Google Gemini Chat Model1
  10. Combine All Pages
  11. Extract All Deposit Table Rows
  12. Transcribe to Markdown
  13. Error Handler
  14. Error Handler for 116f1137

25 steps in total.

Similar automations