Extract Tables
Extracts table data from documents, text, or files using AI-powered analysis.
Overview
This procedure extracts structured table data from various sources including documents, text, and files. It uses AI to identify and parse table structures, even when they don't have clear visual boundaries. You can customize the extraction with specific descriptions, models, and processing modes for optimal accuracy.
Make sure to add the Document Processing Book to your agent before using this automation procedure.
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
Examples
1. Extract Invoice Table with Precise Mode
extract a table from the document where
the openai model is "gpt-4o"
the visual reference is the document
the extraction mode is "precise"
the description is "The table has invoice number, date and amount columns. Remove currency symbols from amounts. Keep only the first 4 digits of invoice numbers."
2. Extract Simple Table from Text
extract a table from the text where
the description is "A table with employee names and their departments"
the gemini model is "gemini-2.0-flash"
3. Extract Table from Large Document
extract a table from the document where
the openai model is "gpt-4o"
the subdocument size is 3
the description is "Transaction history table with date, description, and amount columns"
Last updated
Was this helpful?