Finance
Prepare dispute evidence
When a customer disputes a charge, Merlin posts draft evidence, the deadline and a fight-or-accept call in #finance. A person reviews it and submits in Stripe.
@Merlin whenever Stripe reports a new dispute, follow our dispute playbook skill. Read the reason code, the amount and the response deadline. Pull the invoices from Stripe and the customer's Intercom conversations, plus product usage after the charge and terms acceptance from PostHog. Post the deadline here, draft evidence under each Stripe evidence field and recommend fight or accept in one line. Don't submit or change anything in Stripe: a person reviews and submits.
- Starts whenStripe sends
charge.dispute.createdto Merlin's webhook when a customer disputes a charge Merlin worksClaude Code or Codex reads the reason code and deadline, then pulls invoices from Stripe, usage after the charge from PostHog and the support history from Intercom
- You getDraft evidence under each Stripe field, the deadline and a fight-or-accept call in
#finance. A person submits it in Stripe.
Tools
- Stripe
- PostHog
- Intercom
- Slack
Capabilities
- Automations
- Integrations
- Skills
- Your agent's MCP
How it works
From a new Stripe dispute to draft evidence in #finance.
When a customer disputes a charge, Stripe sends
charge.dispute.createdto Merlin's webhook and the automation starts a run.Claude Code or Codex reads the reason code and the deadline, then pulls the invoices from Stripe, usage after the charge from PostHog and the support history from Intercom.
A new post in
#financehas draft evidence under each Stripe field, the deadline and a fight-or-accept call. A person reviews it and submits in Stripe.
When a customer disputes a charge, Stripe sends charge.dispute.created to Merlin's webhook and the automation starts a run.
Claude Code or Codex reads the reason code and the deadline, then pulls the invoices from Stripe, usage after the charge from PostHog and the support history from Intercom.
A new post in #finance has draft evidence under each Stripe field, the deadline and a fight-or-accept call. A person reviews it and submits in Stripe.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Prepare dispute evidence
PauseDetailsRun history
Trigger
Where events come from, the event that starts a run, and the filters it must match.
Run
What Merlin does each time, where it runs, and where the result goes.
whenever Stripe reports a new dispute, follow our dispute playbook skill. Read the reason code, the amount and the response deadline. Pull the invoices from Stripe and the customer's Intercom conversations, plus product usage after the charge and terms acceptance from PostHog. Post the deadline here, draft evidence under each Stripe evidence field and recommend fight or accept in one line. Don't submit or change anything in Stripe: a person reviews and submits.
Before and after
Every dispute arrives with its evidence drafted.
Without Merlin
Someone notices the dispute, then hunts through four tools for evidence before the deadline.
- 01Notice the dispute email
- 02Read the reason code
- 03Note the deadline
- 04Find the invoices
- 05Pull usage after the charge
- 06Find the terms acceptance
- 07Search the support history
- 08Write the rebuttal
- 09Ask whether to fight it
- 10Fill each evidence field
- 11Submit before the deadline
With Merlin
The dispute starts the work, and a person only reviews and submits.
- Stripe sends
charge.dispute.createdTo Merlin's Stripe webhook Gathers evidence on Maya's MacBookClaude Code with your dispute playbook
- Draft evidence and a call in
#financeA person submits in Stripe
Setup
Send Stripe's dispute events to Merlin and keep submitting in your hands.
Set these up once and every new dispute lands in #finance with its evidence drafted. A person still reviews and submits each response in Stripe.
- 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.
- 02Send Stripe events to MerlinWebhooksAdd Merlin's webhook in Stripe with its setup steps. Nothing starts until its first event arrives.
- 03Add Stripe to your agentYour agent's MCPConnect the Stripe MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Add PostHog to your agentYour agent's MCPConnect the PostHog MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 05Add Intercom to your agentYour agent's MCPConnect the Intercom MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 06Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 07Write your dispute playbook as a skillSkills
Put the reason codes you fight, the evidence each one needs and the amount below which you accept in a shared skill, so every draft follows the same rules.
- 08Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.
Prompt
Have Merlin draft evidence for every new dispute with one prompt.
@Merlin whenever Stripe reports a new dispute, follow our dispute playbook skill. Read the reason code, the amount and the response deadline. Pull the invoices from Stripe and the customer's Intercom conversations, plus product usage after the charge and terms acceptance from PostHog. Post the deadline here, draft evidence under each Stripe evidence field and recommend fight or accept in one line. Don't submit or change anything in Stripe: a person reviews and submits.
Once, when you send it
- PromptYou send the prompt to @Merlin
- WebhookYou add Merlin's webhook in Stripe
- AutomationMerlin creates the automation
Every time the event arrives
- EventStripe sends the event
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex gathers the evidence
- ResultMerlin posts the draft and the deadline
- SteeringReplies in its thread follow up
Related use cases
More tasks you can hand to Merlin.
- IntegrationsSkillsYour agent's MCP
Support
Draft the reply to a refund request
Mention Merlin on a refund request in Slack. It checks the customer's charges in Stripe against your refund policy and drafts the reply with the amount.
@Merlinin#supportwith an Intercom linkA reply draft with the amount, in the thread - AutomationsIntegrationsYour agent's MCP
Finance
Follow up on every failed payment
When a customer's payment fails, Merlin drafts a friendly follow-up in Gmail and posts the account and the draft in #billing. A person reviews it and sends it.
Stripe reports a failed paymentThe account and a draft email in#billing - IntegrationsMemoryYour agent's MCP
Finance
Explain how billing works in the product
Ask Merlin how trials, proration or a plan change work today. It reads the billing code and the Stripe prices, then answers with file references and a worked example.
@Merlinin#financeAn explanation with file references
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.