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.

#purchase-requests
Get started for free
  1. Starts whenSomeone mentions @Merlin in the thread of a purchase request in #purchase-requests
  2. Merlin worksClaude Code or Codex reads the requesting team's budget from the budget sheet and what it has spent so far from Ramp
  3. 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 @Merlin in the thread of a purchase request in #purchase-requests.

Acme

Channels

general

eng

product

support-eng

data

purchase-requests

Direct messages

Merlin

Leo

Owen

purchase-requests

24

MessagesAdd canvasFiles

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.

  1. 01Read the purchase request
  2. 02Open the budget sheet
  3. 03Find the team's tab
  4. 04Find the right category line
  5. 05Filter Ramp to the team's spend
  6. 06Add up what's spent
  7. 07Subtract the request
  8. 08Reply in the thread

With Merlin

One mention puts the budget math in the thread, so the approver only decides.

  1. @Merlin in a #purchase-requests threadAsked by the approver or the requester
  2. Reads the budget and the spendClaude Code, reading the sheet and Ramp
  3. 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.

  1. 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.
  2. 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  3. 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.
  4. 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.
  5. 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.

  6. 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.

#purchase-requests

Once, when you paste it

  1. PromptYou paste the prompt to @Merlin
  2. GuidanceMerlin saves your rules as workspace guidance

Every time someone mentions Merlin in Slack

  1. IntegrationThe Slack app spots the mention
  2. RuntimeMerlin picks an available machine
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex reads the budget sheet
  5. SteeringYour team steers the work in the thread
  6. ResultMerlin replies with what's left

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.