Product

Look into every cancellation

When a customer cancels, Merlin checks their usage and support history. It posts the likely reason and the evidence behind it in #product.

@Merlin whenever Stripe reports a subscription update, check whether the customer canceled and skip unless they did. Look up the customer in Stripe, their product usage over the last 90 days in PostHog and their Intercom conversations. Post the account, the plan and the most likely reason here, with the evidence behind it. Don't contact the customer or change anything in Stripe.

#product
Get started for free
  1. Starts whenStripe tells Merlin's webhook that a subscription changed
  2. Merlin worksClaude Code or Codex skips changes that aren't cancellations, then reads the account's usage in PostHog and its Intercom conversations
  3. You getThe account, its plan and the likely reason with the evidence, in #product

Tools

  • Stripe
  • PostHog
  • Intercom
  • Slack

Capabilities

  • Automations
  • Integrations
  • Your agent's MCP

How it works

From a Stripe subscription change to the likely reason in #product.

When a subscription changes, Stripe sends customer.subscription.updated to Merlin's webhook and the automation starts a run.

/AcmeTeam/Automations/Look into every cancellationFeedback?N

Overview

Agents

Skills

Memory

Automations

Integrations

Settings

Look into every cancellation

Pause
StatusActive
CreatorN Nina You
ScopeWorkspace
Last runOct 24, 2026, 9:03 AM

DetailsRun history

Trigger

Where events come from, the event that starts a run, and the filters it must match.

StripePayments and billingManage
Subscription is updated
Filter

Run

What Merlin does each time, where it runs, and where the result goes.

Run instruction

whenever Stripe reports a subscription update, check whether the customer canceled and skip unless they did. Look up the customer in Stripe, their product usage over the last 90 days in PostHog and their Intercom conversations. Post the account, the plan and the most likely reason here, with the evidence behind it. Don't contact the customer or change anything in Stripe.

RuntimeThe computer and coding agent that run it.Nina's MacBook Pro · Claude Code
DestinationWhere Merlin posts the result. Choose None when the instruction already acts in your tools.#product

Before and after

Every cancellation gets a reason while it's still fresh.

Without Merlin

Someone notices the cancellation days later, then pieces the story together from three tools.

  1. 01Spot the cancellation email
  2. 02Look up the customer
  3. 03Check the plan and end date
  4. 04Look for failed payments
  5. 05Pull 90 days of usage
  6. 06Find when usage dropped
  7. 07Read their conversations
  8. 08Ask the account owner what happened
  9. 09Write up the likely reason
  10. 10Post it in #product

With Merlin

The cancellation starts the work, and the team reads the reason in #product.

  1. Stripe reports a subscription changeTo Merlin's Stripe webhook
  2. Checks usage and support historyClaude Code with Stripe, PostHog and Intercom
  3. The likely reason in #productOnly for cancellations

Setup

Send Stripe's subscription events to Merlin and give your agent the history.

Set these up once and each cancellation lands in #product with its likely reason. Merlin never contacts the customer or changes anything in Stripe.

  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. 02Send Stripe events to MerlinWebhooksAdd Merlin's webhook in Stripe with its setup steps. Nothing starts until its first event arrives.
  3. 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.
  4. 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.
  5. 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.
  6. 06Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  7. 07Expect a run for every subscription changeAutomations

    Stripe sends the same event for upgrades, seat changes and cancellations, so each change starts a run and counts as a request. Runs that find no cancellation end without posting.

  8. 08Use a read-only Stripe keyYour agent's MCP

    Connect Stripe's MCP server on the creator's machine with a restricted key that can only read, so a run can look up the customer but never change anything.

  9. 09Paste 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 look into every cancellation with one prompt.

@Merlin whenever Stripe reports a subscription update, check whether the customer canceled and skip unless they did. Look up the customer in Stripe, their product usage over the last 90 days in PostHog and their Intercom conversations. Post the account, the plan and the most likely reason here, with the evidence behind it. Don't contact the customer or change anything in Stripe.

#product

Once, when you send it

  1. PromptYou send the prompt to @Merlin
  2. WebhookYou add Merlin's webhook in Stripe
  3. AutomationMerlin creates the automation

Every time the event arrives

  1. EventStripe sends the event
  2. RuntimeMerlin picks the creator's machine first
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex reads usage and support history
  5. ResultMerlin posts the likely reason in #product
  6. SteeringReplies in its thread follow up

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.