dusk bot
routinesweekly receipts sweep

dusk botroutines

match weekly receipts to the sheet you already keep

catch the missing receipt before month-end turns into an inbox hunt. once a week, a bot compares gmail or outlook receipts with a named google sheets range.

by the dusk bot team · checked · how we made this

it reads messages and attachments, then brings you missing rows, missing receipts and uncertain duplicates. mail and the sheet stay as they are. you get a short list of gaps to resolve.

pixel art: a yellow pixel bot and a green pixel bot beside a long receipt and a magnifying glass, on a grassy meadow in front of chalk cliffs by the sea, one saying "one match uncertain"

the message

paste this into a chat with your bot

every monday at 9, compare last monday through sunday's receipts with my expense sheet. use only the named gmail and outlook accounts and the google sheets file, tab and range.

read messages and accessible attachments. compare merchant, transaction date, total, currency and receipt reference. don't match on amount alone. keep the transaction date separate from email arrival.

return four groups here:
- receipts with a clear matching row
- sheet rows with no receipt found
- receipts with no matching row
- uncertain matches or possible duplicates

include sheet rows and message references. keep refunds separate. flag unreadable or missing amounts; never guess. change no records, labels or folders. pay nothing and contact nobody. if either source cannot be read, call the comparison incomplete.
when
mondays at 9:00; previous monday through sunday in your chosen time zone
needs
gmail, outlook or both, plus google sheets; read only; name a range with merchant, date, amount and currency columns

what comes back

an example, not a real run

sophie's weekly receipt comparison

clear match: heathquill stationery a17, usd 42.00; expenses row 18 matches merchant, transaction date and reference.
no receipt found: row 21, oscar's print shop, usd 18.00; needs another look outside this search.
no sheet row found: heathquill stationery a22, usd 12.00.
uncertain: two emails contain a17; likely copies of one expense.

coverage: work gmail, work outlook and expenses rows 2 to 40.

make it yours

  • keep personal spending out. name the exact account labels to include.
  • name what the date means. transaction and statement posting dates are not interchangeable.
  • teach known merchant aliases. require an explanation before accepting a new one.
  • look further back for late mail. separate the receipt transaction window from the email search window.
  • shorten once matches look sound. switch to exceptions only after you can trace clear matches back to the rows.

when it goes wrong

  • same amount, wrong merchant. require several agreeing fields. keep weak matches uncertain rather than choosing the closest row.
  • the scan won't read. keep its message reference and inspect it yourself. a missing amount must never become zero.
  • one receipt reaches both inboxes. compare reference and transaction details before counting it twice. a forward can be a copy.
  • keep the search limits beside a missing receipt. look in other records before treating it as lost. this comparison supports receipt gathering; bank reconciliation and complete accounting take more work.

match first, change the ledger later

bring the ledger a short list of gaps. gmail's smaller sweep labels mail and lists amounts. this routine compares receipts with existing rows, including outlook mail, and leaves both alone.

read-only google sheets access uses look up spreadsheet row and get spreadsheet by data filter.5 try the first run against the exact tab and range.

use currency, refunds and the underlying evidence to decide what belongs in the ledger.

try it in 2 minutes

  1. choose one expense tab and a small range
  2. connect that sheet and your mail read only
  3. ask for one receipt-to-row comparison
  4. compare merchant, date, currency and reference yourself

what it could save you

roughly 15 minutes per weekly sweep, under these assumptions

25 minutes comparing receipts yourself
- 10 minutes reviewing the proposed matches
= 15 minutes a week

a rough estimate. it assumes:

  • your current weekly comparison takes 25 minutes
  • reviewing all exceptions and sample matches takes 10 minutes
  • you still correct the records yourself; setup time is excluded

what it looks like

before

sophie sees two heathquill emails for receipt a17.
expenses row 18 shows usd 42.00.
counting emails would make one purchase look like two.

after the bot

both emails refer to a17 with the same transaction details.
proposed match: one receipt, expenses row 18.
keep the duplicate email separate from any new expense.

an illustration with made-up names and numbers.

mistakes people make

matching on the total alone

compare merchant, date, currency and receipt reference together.

counting forwarded receipts twice

compare transaction details before treating another email as another purchase.

turning an unreadable amount into zero

leave it unknown and open the attachment yourself.

questions

can it check receipts across gmail and outlook?

yes, name each account. both can read mail and attachments. ask the bot to list which accounts it searched.

will it fill the spreadsheet automatically?

this version only proposes matches here. keep sheets read only. if you later allow writes, require confirmation before changing any row.

does a matched receipt prove the bill was paid?

look at the payment evidence to decide that. a match links a receipt to a likely sheet row. it cannot settle payment status or bookkeeping treatment.

sources

  1. dusk bot docs: routines
  2. dusk bot docs: connected app permissions
  3. composio: gmail mail and attachment actions, checked 12 november 2026
  4. composio: outlook message and attachment actions, checked 12 november 2026
  5. composio: google sheets range and row reads, checked 12 november 2026

drafted with ai help from the dusk bot docs and the sources listed on this page, then checked against them. if something here is wrong or out of date, write to hello@dusk.bot.