Validate receipts into spreadsheet: Grok Bot prompt
Spreadsheet of extracted receipts with validation flags.
Are you the creator? Ask us to remove this.
From the folder of receipt and invoice PDFs/images in [RECEIPTS_FOLDER], extract for each: vendor, date, currency, line items, subtotal, tax, tip, total. Validate that line items sum to subtotal and subtotal + tax + tip equal total (within currency rounding). Flag any row where two independent reads disagree or totals fail. Return a clean spreadsheet with a confidence column. Do not modify the original files.
Fill in
- [RECEIPTS_FOLDER]
Connectors
Google Drive
Uses this feature
What is “Validate receipts into spreadsheet” for?
Use “Validate receipts into spreadsheet” when you want the bot to do this job: “From the folder of receipt and invoice PDFs/images in [RECEIPTS_FOLDER], extract for each: vendor, date, currency, line items, subtotal, tax, tip, total.” Run it on a bot that can use Google Drive.
How should I fill in [RECEIPTS_FOLDER] for “Validate receipts into spreadsheet”?
In “Validate receipts into spreadsheet”, where it says “and invoice PDFs/images in [RECEIPTS_FOLDER], extract for”, put the receipts folder you mean. Send it without [RECEIPTS_FOLDER] still sitting in the text. Connect Google Drive on the bot first.
What comes back after I run “Validate receipts into spreadsheet”?
A finished run of “Validate receipts into spreadsheet” looks like this: “Spreadsheet of extracted receipts with validation flags.” Open the spreadsheet it returns, rather than a paragraph about a spreadsheet. The reply should flag any row where two independent reads disagree or totals fail.
What goes wrong if I shorten “Validate receipts into spreadsheet”?
“Validate receipts into spreadsheet” is still the same job only while this stays in it: “Do not modify the original files.” If a shorter draft of “Validate receipts into spreadsheet” drops that sentence, put it back before you run the prompt.
Also in the index
No related guides or templates are published yet.