Nothing is sent without a yes

Bot Cookbook

Search the index

Search templates, guides, and prompts.

Match charges to receipt folder: Grok Bot prompt

Matched spreadsheet plus exceptions list with evidence links.

Updated 15 Oct 2026.

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

Idea from @@siyabuilt

Are you the creator? Ask us to remove this.

Prompt

Compare the attached transaction export (or [CARD_EXPORT]) against receipts in [RECEIPTS_FOLDER]. Match by vendor, date window, and amount. For each charge list: matched receipt file (or none), confidence, and any policy note if a policy file is attached. Separate pending vs settled. Return a spreadsheet of matches and an exceptions list. Do not edit the card account, move money, or send follow-ups.

Fill in

  • [CARD_EXPORT]
  • [RECEIPTS_FOLDER]

Connectors

Google Drive, Gmail

Uses this feature

Use cases · Create and manage Bots

Written here in our own words.

What is “Match charges to receipt folder” for?

Use “Match charges to receipt folder” when you want the bot to do this job: “Compare the attached transaction export (or [CARD_EXPORT]) against receipts in [RECEIPTS_FOLDER]. Match by vendor, date window, and amount.” Run it on a bot that can use Google Drive and Gmail.

What do I replace in “Match charges to receipt folder” before I send it?

In “Match charges to receipt folder”, where it says “attached transaction export (or [CARD_EXPORT] ) against receipts”, put the card export you mean and where it says “) against receipts in [RECEIPTS_FOLDER]. Match by”, put the receipts folder you mean. Send it without [CARD_EXPORT] and [RECEIPTS_FOLDER] still sitting in the text. Connect Google Drive and Gmail on the bot first. Attach the receipt in that same message.

What comes back after I run “Match charges to receipt folder”?

A finished run of “Match charges to receipt folder” looks like this: “Matched spreadsheet plus exceptions list with evidence links.” Open the spreadsheet it returns, rather than a paragraph about a spreadsheet.

What goes wrong if I shorten “Match charges to receipt folder”?

“Match charges to receipt folder” is still the same job only while this stays in it: “Do not edit the card account, move money, or send follow-ups.” If a shorter draft of “Match charges to receipt folder” drops that sentence, put it back before you run the prompt.

Also in the index

No related guides or templates are published yet.