Finance
Answer questions about a bank charge
Ask Merlin in Slack about a charge on the bank statement. You get the transaction, the card it was paid with and who holds that card, from Mercury.
@Merlin from now on, when someone in #finance asks about a charge, find the transaction in Mercury by its amount, merchant and date. Reply in the thread with the date, the amount, the account or card it was paid from and who holds that card. If the vendor's invoice is in Gmail, say what it was for. Only read: don't change categories or notes. If more than one transaction matches, or none does, say so.
- Starts whenSomeone asks
@Merlinin#financewhat a charge on the bank statement was Merlin worksClaude Code or Codex finds the transaction in Mercury with its card and cardholder, then the vendor's invoice in Gmail, reading only
- You getThe transaction, who paid it on which card and what the invoice says, in a few lines in the thread
Tools
- Slack
- Mercury
- Gmail
Capabilities
- Integrations
- Your agent's MCP
How it works
From a line on the bank statement to who paid it and why.
Mention
@Merlinin#financewith the amount, the merchant and roughly when, the way it shows on the statement.Claude Code or Codex finds the transaction in Mercury, the card it was paid with and who holds that card. If Gmail is connected, it finds the vendor's invoice too. It only reads.
The date, the amount, the card and its holder come back in a few lines, with what the invoice was for. If two transactions match or none does, Merlin says so.
Mention @Merlin in #finance with the amount, the merchant and roughly when, the way it shows on the statement.
Claude Code or Codex finds the transaction in Mercury, the card it was paid with and who holds that card. If Gmail is connected, it finds the vendor's invoice too. It only reads.
The date, the amount, the card and its holder come back in a few lines, with what the invoice was for. If two transactions match or none does, Merlin says so.
Acme
Channels
general
eng
product
support-eng
data
finance
it-help
legal
Direct messages
Merlin
Maya
finance
24
Today
Maya10:12
@Merlin what's this $2,340 from Figma on the 3rd?
Message #finance
Before and after
Finance gets an answer about a charge without a hunt.
Without Merlin
Someone searches the bank, works out whose card it was and digs for the invoice before they can answer.
- 01Search transactions by amount
- 02Open the matching transaction
- 03Find which card paid it
- 04Look up who holds the card
- 05Search for the vendor's invoice
- 06Read what it was for
- 07Ask the cardholder to confirm
- 08Reply in the thread
With Merlin
One mention gets the charge, the card and the invoice in the thread.
@Merlinin#financeWith the amount, merchant and dateFinds it in Mercury and GmailClaude Code, reading only
- The charge, the card and its holderIn a few lines in the thread
Setup
Give your agent Mercury, then ask in #finance.
Set these up once and anyone in #finance can ask about a charge. Gmail is optional; with it, the answer says what the invoice was for.
- 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
- 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 03Add Mercury to your agentYour agent's MCPConnect the Mercury MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Keep Gmail on your agentOptionalYour agent's MCPIf your machine's agent already uses the Gmail MCP server, Merlin can use it here too. You don't need to set up anything in Merlin.
- 05Connect Mercury without write permissionsYour agent's MCP
Mercury's sign-in page lists the permissions your agent asks for. This job only reads, so don't grant the write permissions that request payments or change categories and notes.
- 06Sign Gmail in to the inbox invoices go toOptionalYour agent's MCP
Merlin finds only the invoices in the Gmail account the agent signs in to. Merlin picks the asker's own machine first, so connect the inbox your vendor invoices reach on that machine.
- 07Paste the setup promptGuidanceAn owner or admin sends the prompt below to @Merlin once, and it becomes workspace guidance for every future run.
Prompt
Tell Merlin how to answer questions about a charge.
@Merlin from now on, when someone in #finance asks about a charge, find the transaction in Mercury by its amount, merchant and date. Reply in the thread with the date, the amount, the account or card it was paid from and who holds that card. If the vendor's invoice is in Gmail, say what it was for. Only read: don't change categories or notes. If more than one transaction matches, or none does, say so.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin in Slack
- IntegrationThe Slack app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex reads Mercury and Gmail
- SteeringYour team steers the work in the thread
- ResultMerlin replies with the charge, the card and its holder
Related use cases
More finance tasks you can hand to Merlin.
- IntegrationsYour agent's MCP
Finance
Categorize last month's transactions
Ask Merlin to categorize last month's transactions in QuickBooks. It follows how you categorized the same vendors before, and you get a list of the ones it wasn't sure about.
@Merlinin#financeBooks categorized, unsure ones in the thread - IntegrationsYour agent's MCP
Finance
Match receipts to card transactions
Ask Merlin to find the receipts for last month's card transactions. It attaches each one it finds in Gmail to the transaction in QuickBooks, and you get a list of the ones still missing.
@Merlinin#financeMissing receipts listed in the thread - AutomationsIntegrationsYour agent's MCP
Finance
Chase missing receipts every week
Every Monday, Merlin lists the Ramp card transactions still missing a receipt after a week. Each cardholder is mentioned in #finance with their own list.
Every Monday at09:00Missing receipts by cardholder in#finance
Bring your coding agents into the tools your team already uses.
Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.