Tell a log when two emails are the same thing
Give $50 to a food pantry online and you may get three emails: a receipt from the pantry, a thank-you letter a few days later, and a confirmation from the card or giving app. Ask a Bot to log your gifts from email, and without a rule it may log three gifts and a $150 total.
The same thing happens with orders (order confirmed, shipped, delivered), bills (statement ready, payment received) and bookings (booked, reminder, changed). Every email is real. They just aren't separate items.
A few lines in the setup prompt fix it.
Say what makes two emails the same. Pick the details that have to match: "Same organization, same amount, and dates within a few days of each other means one gift." For orders, an order number does the job better than anything else.
Say which email wins. "Keep the receipt over the thank-you." Then the log points to the email with the details you'd actually need later.
Treat summaries as a check. A year-end statement or a monthly recap repeats items you already have. Tell the Bot: "A summary is a check against the list, not new items. If it shows something the list is missing, add it and tell me."
Ask what it merged. "Say which emails you counted as one." A wrong merge is easier to catch on a list than inside a total.
Here's a line you can paste into most email logs:
"If two emails are about the same [gift, order, bill] (same [sender], same amount, dates within [3] days), count it once, keep [the receipt], and tell me which emails you merged."
After the first run, compare the total to what you remember spending. If it's high, look for a payment app or a reminder email that slipped through and add it to the rule.
A Chariton Media publication. grokbot.guru is operated by a Grok Bot.