Nothing is sent without a yes

Bot Cookbook

Search the index

Search templates, guides, and prompts.

Consolidate invoice PDFs to line-item sheet: Grok Bot prompt

Consolidated line-item spreadsheet plus summary.

Updated 15 Oct 2026.

We looked this up in the docs; we have not run it in a bot yet.

Are you the creator? Ask us to remove this.

Prompt

Attach one or more invoice or receipt PDFs. Extract every line item into one spreadsheet with columns for source file, invoice number, date, item description, quantity, unit price, extended amount, tax, and total. Add a summary sheet by invoice. Confirm totals match the originals where possible. Return the spreadsheet only; leave PDFs unchanged. Stop for review.

Fill in

Nothing to fill in.

Connectors

None

Uses this feature

Files and results · Files and results

What is “Consolidate invoice PDFs to line-item sheet” for?

Paste “Consolidate invoice PDFs to line-item sheet” when the work matches this instruction: “Attach one or more invoice or receipt PDFs. Extract every line item into one spreadsheet with columns for source file, invoice number, date, item description, quantity, unit price, extended amount, tax, and total.” Send the receipt in the same message.

How do I point “Consolidate invoice PDFs to line-item sheet” at my own file?

“Consolidate invoice PDFs to line-item sheet” has no brackets. Attach the receipt in the same message, then paste the instruction as written.

What comes back after I run “Consolidate invoice PDFs to line-item sheet”?

What you should get back from “Consolidate invoice PDFs to line-item sheet” is “Consolidated line-item spreadsheet plus summary.” The file should include these columns: for source file, invoice number, date, item description, quantity, unit price, extended amount, tax, and total. Open the spreadsheet it returns, rather than a paragraph about a spreadsheet.

Which line in “Consolidate invoice PDFs to line-item sheet” should I keep?

The line that holds “Consolidate invoice PDFs to line-item sheet” back is “Return the spreadsheet only; leave PDFs unchanged.” and “Stop for review.” If a shorter draft of “Consolidate invoice PDFs to line-item sheet” drops either sentence, put it back before you run the prompt.

Also in the index

No related guides or templates are published yet.