Topics ▾
Workflows ·

Have a Bot match incoming payments to open invoices

Intermediate, 30 minutes

SpaceXSI's Cash Applications Bot checks the payment feed twice a day, applies exact matches, hunts for remittance details when amounts differ, writes off bank fees and flags short payments. Here is a small-business version that asks before it changes anything.

Published

How this helps you

Payment matching becomes a table you check and approve instead of an afternoon of cross-referencing.

✦ Try it
Match the payments in [bank export / payment feed] to the open invoices in [invoicing tool]. For each payment: if the amount and customer match one open invoice exactly, propose applying it. If not, search my inbox for remittance emails from that customer that say which invoices it covers. If the difference is under [$5] and looks like a bank fee, propose writing it off. If the customer paid less than they owe, list it as a short payment with the amount still due. Give me one table: payment, invoice, match type (exact, remittance, fee, short, unknown) and your evidence. Don't apply, write off or email anything until I reply with the rows to approve.

Fill in: [bank export / payment feed]: where payments come from. [invoicing tool]: Xero, QuickBooks, Stripe or a spreadsheet. [$5]: your bank-fee limit. The prompt is ours, built from SpaceXSI's Cash Applications Bot.

What they did

In SpaceXSI's write-up of its five accounting Bots, the Cash Applications Bot does the job an accountant would otherwise spend 3 to 4 hours on, in about 30 minutes. Twice a day it checks the payment feed and applies any payment that matches an outstanding invoice exactly. When a payment doesn't match, it searches the customer support system for remittance advice that says which invoices the payment covers. It automatically writes off bank fees that cause small differences between the payment and the invoice. When a customer has paid less than they owe, it flags the short payment to the collections team. SpaceXSI built this on structured internal tools and a written operating manual, and onboarded the Bot over about three weeks before it worked alone. For a small business the same pattern works with what you already have: a bank or payments export, your invoicing tool, and your inbox, where remittance emails usually land. Start with the Bot proposing every match and change, and only let it apply exact matches once its proposals have been right for a few weeks.

Who it's for: Small businesses and bookkeepers who reconcile payments by hand.

Before you start

How to try it

  1. Connect your invoicing tool and inbox in Connect apps, or attach exports.
  2. Paste the prompt below and run it once by hand.
  3. Check every proposed match and fee against the bank record before approving.
  4. Write your own fee limit and short-payment rule into the prompt.
  5. When a few runs are right, make it a routine on your payment days.

What to expect

From the post: an accountant's 3 to 4 hours of payment matching now takes the Bot about 30 minutes. Illustrative for yours: 14 payments this week, 11 exact matches, 1 matched through a remittance email, 1 bank fee of $2.40, 1 short payment of $150 to chase.

Common mistakes

Related tips

Worth knowingSpaceXSI's Bot runs inside their own structured tools, so steps like writing off fees happen in a controlled app with an audit trail. If you don't have that, keep the Bot to proposing changes and apply them yourself in your accounting software. Refunds and credits at SpaceXSI always need approval from an authorised person.
Next in Workflows →Clone how you decide: teach a Bot, then test it blind

Learn more: Grok Bot Use Cases: Real Workflows From Real Users · All Grok Bot workflows tips

Related Grok Bot tips

More Workflows →
Workflows

Numbered sales page rewrites, then ask what's broken

Matt Clark had Grok Bot improve a sales page 50 times, each at its own numbered URL. The best finds came at the end, when he asked for the five things that were broken or inconsistent.

How this helps you You get a list of concrete page fixes and a check for contradictions (guarantees, claims, prices) that could cost you sales or trust.
Spotted by Matt Clark (YouTube) · 29 Nov 2026
Read more
Workflows

Hand huge reads to Gemini 4 Neon, let Grok Bot do the rest

Give Grok Bot a skill that sends whole folders, long documents or codebases to Google's Gemini 4 Neon API in one call, saves the findings next to the files, and shows the cost before every call.

How this helps you Your Bot can work through material far bigger than one conversation, see the cost before it spends, and doesn't pay twice to read the same files.
Spotted by @kkite_aiarc · 28 Nov 2026
Read more
Workflows

Give an SEO Bot one goal and Search Console to check it

Ras Mic's Grok Bots run SEO for a fan wiki: an hourly pass, a daily report, and Google Search Console as the way the Bot checks whether its changes worked.

How this helps you Your Bot does the repetitive SEO checks and fixes, and every change is judged against real search numbers you can open yourself.
Spotted by Ras Mic (YouTube) · 26 Nov 2026
Read more