Finance
Check a purchase request against budget
Mention Merlin on a purchase request in #purchase-requests. It checks the amount against the team's budget and what Ramp shows it has spent, and replies with what's left after it.
@Merlin from now on, when someone mentions you on a purchase request in #purchase-requests, find the requesting team's budget for the period in our budget sheet in Google Sheets and what their department has spent in that category so far in Ramp. Reply in the thread with the budget, the spend so far, this request and what's left after it. Only read the sheet and Ramp, and don't approve or reject the request. If the team or the category isn't in the sheet, say so instead of guessing.
- Starts whenSomeone mentions
@Merlinin the thread of a purchase request in#purchase-requests Merlin worksClaude Code or Codex reads the requesting team's budget from the budget sheet and what it has spent so far from Ramp
- You getA reply in the thread with the budget, what's spent, this request and what's left after it
Tools
- Slack
- Google Sheets
- Ramp
Capabilities
- Integrations
- Your agent's MCP
How it works
From a purchase request to what's left in the team's budget.
Anyone mentions
@Merlinin the thread of a purchase request in#purchase-requests.Claude Code or Codex finds the requesting team's line in your budget sheet, then adds up what its department has spent in that category so far in Ramp. It only reads both.
The reply shows the budget, what's spent, this request and what's left after it. Approving or rejecting stays with a person.
Anyone mentions @Merlin in the thread of a purchase request in #purchase-requests.
Claude Code or Codex finds the requesting team's line in your budget sheet, then adds up what its department has spent in that category so far in Ramp. It only reads both.
The reply shows the budget, what's spent, this request and what's left after it. Approving or rejecting stays with a person.
Acme
Channels
general
eng
product
support-eng
data
purchase-requests
Direct messages
Merlin
Leo
Owen
purchase-requests
24
Today
Leo11:02
Requesting a year of Dovetail for Design: $3,600, billed annually. It replaces our research spreadsheet.
Message #purchase-requests
Before and after
Every purchase request comes with the budget beside it.
Without Merlin
The approver opens the budget sheet, pulls the team's spend from Ramp and does the math before replying.
- 01Read the purchase request
- 02Open the budget sheet
- 03Find the team's tab
- 04Find the right category line
- 05Filter Ramp to the team's spend
- 06Add up what's spent
- 07Subtract the request
- 08Reply in the thread
With Merlin
One mention puts the budget math in the thread, so the approver only decides.
@Merlinin a#purchase-requeststhreadAsked by the approver or the requesterReads the budget and the spendClaude Code, reading the sheet and Ramp
- What's left, in the threadA person approves or rejects
Setup
Give your agent the budget sheet and Ramp, then mention Merlin on any request.
Set these up once and anyone can check a request against budget. Merlin only reads the sheet and Ramp and never approves.
- 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 Google Sheets to your agentYour agent's MCPConnect the Google Sheets MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Add Ramp to your agentYour agent's MCPConnect the Ramp MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 05Share a finance machine that can read the sheet and RampRuntime
Requesters often can't open the budget sheet, and Ramp shows employees only their own spend. Finance can connect a machine whose Google Sheets sign-in can read the sheet and whose Ramp sign-in is an Admin or Business Owner, then share it with the workspace. Merlin picks the asker's own machine first and a shared one after that.
- 06Paste 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 check purchase requests.
@Merlin from now on, when someone mentions you on a purchase request in #purchase-requests, find the requesting team's budget for the period in our budget sheet in Google Sheets and what their department has spent in that category so far in Ramp. Reply in the thread with the budget, the spend so far, this request and what's left after it. Only read the sheet and Ramp, and don't approve or reject the request. If the team or the category isn't in the sheet, say so instead of guessing.
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 the budget sheet
- SteeringYour team steers the work in the thread
- ResultMerlin replies with what's left
Related use cases
More tasks you can hand to Merlin.
- Integrations
IT
Review a new tool before you buy it
Ask Merlin in Slack before you buy a new tool. You get its SOC 2 status and SSO support, each with a source, in a Linear issue.
@Merlinin#itwith the tool's nameA vendor review in a Linear issue - AutomationsIntegrationsYour agent's MCP
Finance
Update the cash forecast every Monday
Every Monday, Merlin adds last week's actual cash in and out to your forecast sheet. You get a note in #finance on what changed against the forecast.
Every Monday at
08:00Forecast updated, changes in#finance - 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
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.